Thanks, Shing.  I was actually looking to accomplish the same thing that 
DynamicSelectionList does without the javascript.  I am using Tapestry 
inside a portal and I am having problems with javascript.  I can't use the 
Body component in a portal environment.  For example, I can't get 
DatePicker to work because it uses javascript.  If anyone has gotten 
DatePicker to work in a portal please let me know.

Thanks,
Ryan






Shing Hing Man <[EMAIL PROTECTED]> 
08/08/2005 05:34 PM
Please respond to
"Tapestry users"


To
Tapestry users <[email protected]>
cc

Subject
Re: PropertySelection question






Have you checked out my component DynamicSelectionList
? It might solve your country-state selection problem.
It is available for download at 
http://equalitylearning.org/Tassel/app

There is an online demo 
at http://gauss.demon.co.uk/tapestryDemo/welcome

Note that the above link will cease to exist in a
couple of days time.

Shing


--- Ryan Wynn <[EMAIL PROTECTED]> wrote:

> I have a form that captures information about a
> user.  Within the form are 
> some basic TextField components and 2
> PropertySelection components (one to 
> select country and one to select state).  I also
> have 2 submit components 
> (save and cancel) which have corresponding listener
> methods on the Page. I 
> want to add functionality such that when the user
> selects a new country 
> the state PropertySelection component is updated
> with corresponding 
> states.  I can add the submitOnChange attribute to
> the country 
> PropertySelection, but how do I hook this up to a
> method on the Page? 
> Currently, I have no listener on the Form itself. 
> The 2 listeners (save 
> and cancel) are on their respective Submit
> components.  I really don't 
> want to put a listener on the form and then have to
> determine if cancel, 
> save, or change country happened.  Any ideas?
> 
> On a side note, I have cancel as a submit component.
>  The listener does 
> nothing but return the IPage to go back to.  There
> must be an easier way 
> to make the equivalent of a PageLink show up as a
> button. 
> 
> Thanks,
> Ryan


Home page :
  http://uk.geocities.com/matmsh/index.html


 
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new 
Yahoo! Security Centre. http://uk.security.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to