webtier@glassfish.java.net

Re: [webtier] setPropertyActionListener doesn't work property in XHTML mode

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 12 Jan 2009 10:14:13 -0800

Fix applied. Feel free to give tonight's nightly build a shot to verify
on your end.



Ryan Lubke wrote:
> I've logged an issue [1] to track this.
>
> [1] https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=917
>
> webtier_at_javadesktop.org wrote:
>> While setPropertyActionListener works fine in jsp mode, it doesn't
>> really work in XHTML (facelets) mode.
>>
>> <h:inputText value="#{name.fname}" id="fname"/>
>>
>> <h:commandButton value="Change with set listeners">
>> <f:setPropertyActionListener target="#{name.fname}"
>> value="Jialiang"/>
>> </h:commandButton>
>>
>> When I press the command button, the value I should get in the input
>> text box is "Jialiang". However, what I got is some sort of string
>> expression:
>>
>> /index.xhtml @26,75 value="Jialiang": ValueExpression[Jialiang]
>>
>> In JSP mode, I can get the value correctly; this only happens in
>> XHTML mode.
>> [Message sent by forum member 'cain_templar' (cain_templar)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=325165
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>