webtier@glassfish.java.net

Re: [webtier] JSF2 - Is this possible?

From: Ed Burns <Ed.Burns_at_Sun.COM>
Date: Thu, 07 May 2009 09:50:08 -0700

>>>>> On Wed, 06 May 2009 23:19:53 -0400, "Lincoln Baxter, III" <lincolnbaxter_at_gmail.com> said:

LB3> <a:editText id="text" value="#{note.text}" size="45">
LB3> <f:valueChangeListener binding="#{editNoteListener}"
LB3> for="value">
LB3> <f:setPropertyActionListener for="submit"
LB3> value="#{note}"
LB3> target="#{noteBean.note}" />
LB3> </f:valueChangeListener>
LB3> </a:editText>

LB3> I want a value to be set when this value change event
LB3> occurs... there are no compile errors, the view renders fine, but
LB3> the property #{note} is never set.

As I tweeted to you, you've found a bug, *but* your syntax is slightly
incorrect.

Please comment on
<https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1105> and
let me know if the correct syntax is what you meant to do.

Thanks,

Ed


-- 
| ed.burns_at_sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/