myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-396) InputParam component maps a parameter from the request to a managed bean property.
Date Fri, 28 Apr 2006 05:25:38 GMT
    [ http://issues.apache.org/jira/browse/TOMAHAWK-396?page=comments#action_12376876 ] 

Mario Ivankovits commented on TOMAHAWK-396:
-------------------------------------------

This comonent isnt meant as a replacement nor a competitor to updateActionListener, but as
a way how to deal with GET request parameter (aka RESTful - bookmarkable pages).
IMHO this component isnt finished yet (no way to invoke a "action").

I do not know what the specification says about the contract of an "input" component, but
it is arguable that an INPUT has not always come from an form control, even in the view of
http, get and post are equal (beside their technical reservations).
So I feel fine to say that data from an bookmark link is some sort of INPUT.

We diskussed alot on the ML and - I guess -  in the end we had 3 ways how to deal with GET.
This is the first working example and there should be no problem adding it to the sandbox
- this is why we have it.

So lets finish this component, time will tell if we were wrong.

> 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


Mime
View raw message