Pre-fill form based on URL hashbang parameters

This commit makes it possible to customize and display automatically form
inputs with this kind of hashbang parameters:
https://start.spring.io/#!language=groovy&name=Groovy%20Sample

type, groupId, artifactId, name, description, packageName,
packaging, javaVersion and language parameters are supported.

Closes gh-107
This commit is contained in:
Sebastien Deleuze
2015-12-31 16:44:08 +01:00
committed by Stephane Nicoll
parent 072a14d5ef
commit d1fb4ad2d6
3 changed files with 82 additions and 8 deletions

View File

@@ -80,6 +80,19 @@ a compressed tarball instead.
You could use this infrastructure to create your own client since the project is generated
via a plain HTTP call.
[[customize-form]]
== Customize form inputs
You can share or bookmark URL that will customize automatically form inputs with this kind of hashbang parameters:
[source,bash]
----
https://start.spring.io/#!language=groovy&name=Groovy%20Sample
----
`type`, `groupId`, `artifactId`, `name`, `description`, `packageName`,
`packaging`, `javaVersion` and `language` parameters are supported.
[[meta-data]]
== Service meta-data