[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    RE: updating form values without submitting form
From:       "Jason Feingold" <jfeingold () solsticesoftware ! com>
Date:       2004-06-28 16:15:35
Message-ID: 11AB8C411B53454794B60A6BD1E7DF68417C5A () claymontmail ! solar ! solsticesoftware ! com
[Download RAW message or body]

The contrib library has some real gems.  Also, check out
http://www.t-deli.com/ for some other goodies.

j

-----Original Message-----
From: Steve Wu [mailto:steve.wu@FXALL.com] 
Sent: Monday, June 28, 2004 12:14 PM
To: Tapestry users
Subject: RE: updating form values without submitting form


oh! thanks a lot for your reply. i'll take a look into that contrib!

thanks,
steven wu

-----Original Message-----
From: Jason Feingold [mailto:jfeingold@solsticesoftware.com]
Sent: Monday, June 28, 2004 12:06 PM
To: Tapestry users
Subject: RE: updating form values without submitting form


1.  Maybe a direct link is more appropriate.
2.  This is a solved problem: see contrib:Pallette

-----Original Message-----
From: Steve Wu [mailto:steve.wu@FXALL.com] 
Sent: Monday, June 28, 2004 12:04 PM
To: tapestry-user@jakarta.apache.org
Subject: updating form values without submitting form


hello, 

i'm rather new to tapestry, but so far have been able to find my way in
doing most things. i've run into a bit of a roadblock here...

i have a page which has two select components, and i have two
ActionLinks to move items from list1 to list2 and vice versa. however,
the listeners that the 
ActionLinks call are unable to see which options were selected. i have a
feeling it's because the listener was not invoked by the form's
submission and thus the 
components' internal values have not had a chance to update themselves. 

i can get around this by submitting the form first, and then calling one
of the two listeners to move items from list to list, but since i have
two such listeners, the form submission listener does not know which
listener to call when i submit my form.

i would like users to be able to just hit one of the buttons and have
the lists 
update their options because needing to submit the form first and then
have the user click the button to perform the desired action would be
very counter intuitive. 

is there any way i can get the two listeners that move options from list
to list to update the selected values for each Option in the Select
component without submitting the form first?

thanks for any help,
steven wu

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic