Re: Auto-updating a drop-down list

2006-08-03 Thread Waimun Yeow
Hi Nick, Thanks for the link. I found it yesterday while I was hunting for the link to download the component. By the way, I also found AnySubmit component, which I think I am going to use it for another problem. I am going to work on the DSL and will let you know if I stumble on any prob

Re: Auto-updating a drop-down list

2006-08-02 Thread Nick Westgate
Hi Waimun. DynamicSelectionList works fine, but I needed to change it a bit for my use. Just download it and see if it does what you want. Shing Hing Man (who is on this list) wrote it, and has docs and online demos here: http://lombok.demon.co.uk/tapestryDemo/welcome?service=page/DynamicSelecti

Re: Auto-updating a drop-down list

2006-08-02 Thread Waimun Yeow
Jesse and Nick, Thanks for the suggestions (1) EventListener (2) DynamicSelectionList. I am currently using Tap 3.03 and perhaps this is a good chance to upgrade if I want to take advantage of 4.1 features. But I am concerned whether if I need to make a lot of changes to the way I configur

Re: Auto-updating a drop-down list

2006-08-01 Thread Nick Westgate
Alternatively, if you want the list to change without the round-trip to the server, check out "DynamicSelectionList(Tap 4)" on Tassel: http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponent&sp=SDynamicSelectionList%28Tap+4%29 I've used the T3 version and it works well (with a

Re: Auto-updating a drop-down list

2006-08-01 Thread Jesse Kuhnert
You can do something like the following: -) Define your two select lists, I'll leave that part out..But let's assume they are named listA and listB. We'll also assume that a form exists named form1. -) In your page or component, define a method that looks somewhat like this: @EventListener(targ

Auto-updating a drop-down list

2006-08-01 Thread Waimun Yeow
Hi, I would like to find out how I can auto-update a drop down list in a form when another drop down list changes. For example, in a HTML form, I have two elements. Let's say the first has a list of department names and upon selecting one, it updates the second with a list of employees