<h:inputText  value="#{myBean.foo}"

On update:
Look for "myBean" in the scoped maps (request, session, application).

If not found, create a new instance of mybean.
call setFoo() on the instance of my bean.

On 7/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:





hello everyone,

I have a jsp and backing bean.  The jsp has a field like
<h:inputText  value="#{myBean.foo}"

MyBean.java has the "foo" property, and it also has a property like

      private MyBean myBean = null;
 with getters and setters

I save a copy of MyBean here before any update so I can reset or cancel
the update as needed, and restore the original MyBean to session.

I find if I enter something in the foo field of the jsp, the foo property
in the
saved original untouched MyBean property is also updated.

Does my faces search a backing bean for all references to a property
and update all references?  That's what it looks like it's doing, but is
that what
you see?

Thanks in advance for your help.
Tom




This message is intended for the recipient only and is not meant to be 
forwarded or distributed in any other format. This communication is for 
informational purposes only.  It is not intended as an offer or solicitation 
for the purchase or sale of any financial instrument, or security, or as an 
official confirmation of any transaction.  Putnam does not accept purchase or 
redemptions of securities, instructions, or authorizations that are sent via 
e-mail.   All market prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without notice.  Any 
comments or statements made herein do not necessarily reflect those of Putnam, 
LLC (DBA Putnam Investments) and its subsidiaries and affiliates.  If you are 
not the intended recipient of this e-mail, please delete the e-mail.

Reply via email to