microjax: @ValueFrom, mapping from form field names to JCR properties in forms
------------------------------------------------------------------------------
Key: SLING-130
URL: https://issues.apache.org/jira/browse/SLING-130
Project: Sling
Issue Type: Improvement
Reporter: Bertrand Delacretaz
Priority: Minor
We had this in our r-jax prototype, and it can be useful when "porting"
existing forms to microjax so I'll add it to the MicrojaxPostServlet.
A @ValueFrom suffix in a form field can be used to define mappings between form
fields and JCR properties, for example to keep an existing field name in a form.
Adding a hidden field like
<input name="./[EMAIL PROTECTED]" type="hidden" value="fulltext" />
causes the JCR Text property to be set to the value of the fulltext form field.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.