It sounds interesting but what problem does this solve exactly?  Why
not use inputHidden?    Also consider it as an add-on to an existing
component instead of a completely new component.

sean


On 4/14/05, Rob Decker <[EMAIL PROTECTED]> wrote:
> I created a component I'd like to contribute to myfaces. If I stick it in 
> JIRA will
> someone merge it into the code base?
> 
> It extends inputHidden by adding an attribute, paramValue, which allows value 
> binding
> predefined form values to a managed bean. For example, if you have a managed 
> bean
> named searchBean with a setLastModified(Date d) method you can create a 
> hidden form
> element with a preset date:
> 
>  <x:inputParam value="#{searchBean.lastModified}" paramValue="04/05/2005">
>    <f:convertDateTime type="date" dateStyle="short"/>
>  </x:inputParam>
> 
> renders:
> 
>  <input type="hidden" value="04/05/2005"/>
> 
> When the form is submitted searchBean.setLastModified is called with the Date 
> object.
> 
> --
> Rob
> 
> @objectsource.org
> 
>

Reply via email to