Skip to main content

[webtier] JSF2 - Is this possible?

3 replies [Last post]
Anonymous

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

Thoughts on how to do something like this?

Thanks,
Lincoln
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
lincolnbaxter@gmail.com

I requested observer status to make comments, but yes, that looks like what I was trying to do. As long as the property is set before the valuechangelistener fires.

My syntax was a result of the actionsource exception that you found. I sent that one in a little while ago but I think it was thought not to be a bug at the time.

-Lincoln
http://ocpsoft.com
------Original Message------
From: Ed Burns
Sender: Ed.Burns@Sun.COM
To: webtier@glassfish.dev.java.net
ReplyTo: webtier@glassfish.dev.java.net
Subject: Re: [webtier] JSF2 - Is this possible?
Sent: May 7, 2009 12:50

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

LB3>
LB3> LB3> for="value">
LB3> LB3> value="#{note}"
LB3> target="#{noteBean.note}" />
LB3>

LB3>

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
and
let me know if the correct syntax is what you meant to do.

Thanks,

Ed

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

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Sent from my Verizon Wireless BlackBerry

Ed Burns

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

LB3>
LB3> LB3> for="value">
LB3> LB3> value="#{note}"
LB3> target="#{noteBean.note}" />
LB3>

LB3>

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
and
let me know if the correct syntax is what you meant to do.

Thanks,

Ed

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

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Ed Burns

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

LB>
LB> LB> for="value">
LB> LB> value="#{note}"
LB> target="#{noteBean.note}" />
LB>

LB>

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

LB> Thoughts on how to do something like this?

I'll take a look at this now.

Ed

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

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net