You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Yeeswara Nadapana (HCL Financial Services)" <Ye...@hcl.in> on 2008/01/15 10:07:46 UTC

onChangeEvent of a Select component

Hi,

 

How can I implement an onChangeEvent for my <select> box? I wrote the
combo as:

 

<select t:id="availableFilters" t:type="select" model="filterList"
value="prop:currentFilter" />

 

I have to call an event listener method in my page class. Please explain
how to do that?

 

Thanks and Regards

Yeeswara N



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Re: onChangeEvent of a Select component

Posted by Howard Lewis Ship <hl...@gmail.com>.
Currently, Tapestry doesn't have a built-in way to accomplish what you
want.  You will see a property update when the form containing the
Select component is submitted.  The containing Form component will
fire a series of events: prepare, then validate, then success or
failure, then submit.

Using Ajax techniques, it would be possible to add behavior you are
suggesting, it's simply not built in.


On Jan 15, 2008 1:07 AM, Yeeswara Nadapana (HCL Financial Services)
<Ye...@hcl.in> wrote:
>
> Hi,
>
>
>
> How can I implement an onChangeEvent for my <select> box? I wrote the
> combo as:
>
>
>
> <select t:id="availableFilters" t:type="select" model="filterList"
> value="prop:currentFilter" />
>
>
>
> I have to call an event listener method in my page class. Please explain
> how to do that?
>
>
>
> Thanks and Regards
>
> Yeeswara N
>
>
>
> DISCLAIMER:
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
> this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
> -----------------------------------------------------------------------------------------------------------------------



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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