[jboss-jira] [JBoss JIRA] Commented: (JBSEAM-305) More sophisticated handling of request parameters
Gavin King (JIRA)
jira-events at jboss.com
Wed Jul 12 16:59:16 EDT 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-305?page=comments#action_12339457 ]
Gavin King commented on JBSEAM-305:
-----------------------------------
Probably the XML-ised version would make use of @RequestParameter optional...
> More sophisticated handling of request parameters
> -------------------------------------------------
>
> Key: JBSEAM-305
> URL: http://jira.jboss.com/jira/browse/JBSEAM-305
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF
> Reporter: Gavin King
> Assigned To: Gavin King
> Fix For: 1.1
>
>
> Currently @RequestParameter does basic type conversion, but it would also be nice to support
> (1) custom converters
> (2) validation via Hibernate Validator
> (3) validation via custom validators
> eg.
> @RequestParameter(required=true, converter="myConverterId", validator="myValidatorId")
> @RequestParameter(converter="#{myComponent.myConverter}", validator="#{myComponent.myValidator}")
> @RequestParameter @NotNull
> <page view-id="/item.xhtml">
> <parameter name="id" required="true">
> <converter converterId="myConverterId"/>
> <validator binding="#{myComponent.myValidator}"/>
> </parameter>
> </page>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list