opensubscriber
   Find in this group all groups
 
Unknown more information…

t : tapestry-user@jakarta.apache.org 20 April 2006 • 4:52AM -0400

For, Hidden fields, squeezers, etc! How do I use them?
by Ted Steen

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi!

My Class C contains various things including a set.

In a listener in page A i get page B (by injection) and I call
pageB.setFoo(c) (where c is an instance of class C) and then i
activate pageB.

in pageB
i have a @Hidden with foo as value. I have this because I want the
various things in Foo to not be lost while doing stuff in page B.
Now, the set in the foo is used in a @For, and each element in foo is
mapped to a @TextField

The result I want is that the foo is preserved over every page request
and that the changes I do in the @TextField will be written in the
objects in the set in foo.
this is not happening. instead the values are (everytime i submit)
overwritten by the old values.

Could someone help me with this as I apparently don't know how to do
it the right way.
If there are some good examples of elements in a @For beeing edited I
would like to see it.

sorry for the bad english.. i'm a little tired at the moment.

--
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jaka...
For additional commands, e-mail: tapestry-user-help@jaka...


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.