RE: T5: onchange event from a select

2007-11-14 Thread martin boulanger

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#a13743266
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



RE: T5: onchange event from a select

2007-11-14 Thread CarstenM

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]



RE: T5: onchange event from a select

2007-11-13 Thread martin boulanger

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#a13723294
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



RE: T5: onchange event from a select

2007-11-13 Thread CarstenM

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#a13723904
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



RE: T5: onchange event from a select

2007-09-24 Thread Leon Derks

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