You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Muhariz Jabeer <mu...@gmail.com> on 2005/07/11 22:18:53 UTC
PropertySelection + Javascript
hey guys, does the PropertySelection component have something like an
"onchange"
property which you
can bind a script component to? I want to trigger a script when the a
selection changes in the component.
Is this the correct path or am i completely on the wrong track?
Thanx
--
In a long enough timeline,
every moment will feel like deja vu.
-Muhariz.
Re: PropertySelection + Javascript
Posted by Paul Ferraro <pa...@gmail.com>.
No - but onchange can be specified as an informal parameter.
e.g.
<script jwcid="@Script" script="..."></script>
<select jwcid="@PropertySelection" model="..." value="..."
onchange="doSomething()"></select>
... where doSomething() is a function defined in your IScript.
Paul
Muhariz Jabeer wrote:
>hey guys, does the PropertySelection component have something like an
>"onchange"
>property which you
>can bind a script component to? I want to trigger a script when the a
>selection changes in the component.
>Is this the correct path or am i completely on the wrong track?
>
>
>Thanx
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org