myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject Re: Pre populating t:inputHtml
Date Thu, 16 Aug 2007 07:13:16 GMT
If your backing bean's property is set to something *before* the
createView, this will be the default value of component. If you set it
after, your component will most certainly ignore it, as only his local
value will be used during rendering.

If you change the value of your bean proeprty on the fly (let's based on
a command or alike), ensure to unset the local value of component (see
methods of EditableValueHolder interface).

En l'instant précis du 16/08/07 04:59, Titi Wangsa s'exprimait en ces
> hello to all.
> i'm using myfaces 1.1.5 and tomahawk 1.1.5
> my t:inputHtml is linked to a text field in my class
> i've tried to set the string to a certain value, but when the page is rendered,
> the inputHtml field is still empty.
> any help on this?


View raw message