Offer a custom version of the <h:form> component that automatically adds a 
token component as the last input component
----------------------------------------------------------------------------------------------------------------------

                 Key: SHALE-329
                 URL: http://issues.apache.org/struts/browse/SHALE-329
             Project: Shale
          Issue Type: New Feature
          Components: Core
            Reporter: Craig McClanahan


In order to deal with tokens on pages that have input fields with validators 
connected to them, the functionality was recently changed so that the token 
component, if present, must be the *last* input component inside a form.  This 
is somewhat error prone, and easy to get wrong.

On the Shale user mailing list, Jason Vincent <jtvincent AT gmail.com> proposes 
that Shale provide a custom version of the form component that handles this 
issue automatically.  It should offer an attribute that lets you turn it off 
(but defaults to on), in case other custom functionality gets added later, and 
the developer might want the new custom functionality, but not tokens.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to