Hi,

well, of course this will submit the form (lets say form A) but if your
first select (select A) is
the only component inside form A you can handle it as needed in your page
class like

onSubmitFromFormA(){
       ............
       setValueToSelectB();
}

In my case I have a .tml file with two forms (A and B). Form A has a select
and form B has 
a select as well. When I change the value of select A then the value of
select B will be changed.
Thats what you are looking for, or?

Bye.




martin boulanger wrote:
> 
> Hello,
> 
> this solution will submit the form, but 'onchange', I need to modify the
> value of the other select instead of submitting the form
> 
> Martin
> 
> 
> CarstenM wrote:
>> 
>> Hello,
>> 
>> well, I dont know if its a nice solution but I realized it with
>> several forms. Then you can handle the form event and
>> update your second select box.
>> 
>> <t:select ............ onchange="this.form.submit();"/>
>> 
>> Cheers,
>> Carsten
>> 
>> 
>> 
>> martin boulanger wrote:
>>> 
>>> Hello,
>>> I have the same need, but I don't know how to make it.
>>> Does any one has an idea?
>>> 
>>> Thanks,
>>> 
>>> Martin
>>> 
>>> Leon Derks wrote:
>>>> 
>>>> 
>>>> I want to be able to update a second select, based on the value in the
>>>> first select box.
>>>> 
>>>> So I want to process it on the server-side, or with AJAX.
>>>> 
>>>> Is there a way to catch the onchange event in my java page?
>>>> 
>>>> JP
>>>> 
>>>>> Date: Sun, 23 Sep 2007 23:37:52 -0700
>>>>> From: [EMAIL PROTECTED]
>>>>> To: users@tapestry.apache.org
>>>>> Subject: Re: T5: onchange event from a select
>>>>> 
>>>>> Do you want it to be processed on the server side, or on the client
>>>>> side?
>>>>> For javascript, you should be able to just add an onchange attribute.
>>>>> If you
>>>>> want to add AJAX support, I'm not sure how to do that yet.
>>>>> 
>>>>> Josh
>>>>> 
>>>>> 
>>>>> On 9/23/07, Josh Penza <[EMAIL PROTECTED]> wrote:
>>>>> >
>>>>> > How can I catch the onchange event from a select in T5?
>>>>> >
>>>>> > are there examples?
>>>>> >
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> --
>>>>> TheDailyTube.com. Sign up and get the best new videos on the internet
>>>>> delivered fresh to your inbox.
>>>> 
>>>> _________________________________________________________________
>>>> De leukste video's en de beste concerten vind je op MSN Video
>>>> http://video.nl.msn.com/v/nl-nl/v.htm
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-onchange-event-from-a-select-tf4504142.html#a13743747
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to