You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kevin Menard <ni...@negativetwenty.net> on 2005/03/02 01:25:18 UTC

Checkbox Listener?

Hi,

Is it possible to have a checkbox trigger a listener?  I have a 
billing/shipping form and would like to have a checkbox the customer 
can click that will duplicate all the billing info to the shipping info 
fields.  Unfortunately, I'm not seeing a straightforward way of doing 
this, although I'm sure there is one.

Any help would be greatly appreciated.

Thanks,
Kevin


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


Re: Checkbox Listener?

Posted by bobby rullo <br...@alexanderinteractive.com>.
Kevin Menard <nirvdrum <at> negativetwenty.net> writes:

> 
> Hi,
> 
> Is it possible to have a checkbox trigger a listener?  I have a 
> billing/shipping form and would like to have a checkbox the customer 
> can click that will duplicate all the billing info to the shipping info 
> fields.  Unfortunately, I'm not seeing a straightforward way of doing 
> this, although I'm sure there is one.
> 
> Any help would be greatly appreciated.


Kevin, 

I just did something very similar today. Right now the code only works with 
radios, but can be modified to handle checkboxes as well very easily.

check out:
http://article.gmane.org/gmane.comp.java.tapestry.user/17110

bobby




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


Re: Checkbox Listener?

Posted by Kevin Menard <ni...@negativetwenty.net>.
On Mar 1, 2005, at 7:35 PM, Shawn Church wrote:

> Are you wanting to do this on the client side (JavaScript) or within 
> the
> application?

It really doesn't matter.  If there's a nice JS solution, I wouldn't be 
opposed to it, but I really don't know JS, so it would be ideal if the 
framework provided some help.

-- 
Kevin


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


RE: Checkbox Listener?

Posted by Shawn Church <sh...@boxity.com>.
Are you wanting to do this on the client side (JavaScript) or within the
application?

Shawn

-----Original Message-----
From: Kevin Menard [mailto:nirvdrum@negativetwenty.net]
Sent: Tuesday, March 01, 2005 6:25 PM
To: Tapestry users
Subject: Checkbox Listener?


Hi,

Is it possible to have a checkbox trigger a listener?  I have a
billing/shipping form and would like to have a checkbox the customer
can click that will duplicate all the billing info to the shipping info
fields.  Unfortunately, I'm not seeing a straightforward way of doing
this, although I'm sure there is one.

Any help would be greatly appreciated.

Thanks,
Kevin


---------------------------------------------------------------------
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