You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2006/04/28 04:55:38 UTC
[jira] Commented: (TOMAHAWK-396) InputParam component maps a
parameter from the request to a managed bean property.
[ http://issues.apache.org/jira/browse/TOMAHAWK-396?page=comments#action_12376860 ]
Adam Winer commented on TOMAHAWK-396:
-------------------------------------
I'd vote against adding this component; updateActionListener is almost invariably a better choice; this also breaks the contract of an "input" component by not really being an input component at all.
> InputParam component maps a parameter from the request to a managed bean property.
> ----------------------------------------------------------------------------------
>
> Key: TOMAHAWK-396
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-396
> Project: MyFaces Tomahawk
> Type: New Feature
> Components: New Component
> Reporter: Sharath Reddy
> Priority: Minor
> Attachments: inputParam.patch
>
> While this can also be accomplised by declaring a managed bean property with the following syntax:
> <managed-property>
> <property-name>id</property-name>
> <property-class>java.lang.String</property-class>
> <value>#{param.id}</value>
> </managed-property>
> the advantage of using this component is that it can support a converter and validators.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira