[
http://jira.jboss.com/jira/browse/JBSEAM-305?page=all ]
Gavin King closed JBSEAM-305.
-----------------------------
Fix Version/s: 1.1
Resolution: Done
page parameters were done in 1.1. will re-add the @RequestParameter stuff as a diff
issue.
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