You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by karthik G <be...@gmail.com> on 2007/02/01 10:02:41 UTC

@EventListener , elements and the bound model

I have a .page like this -

<property name="propValue"/>

<component id="prop">
 <binding name="value" value="propValue"/>
</component>

and a listener

@EventListener(elements = "prop", events = "onchange")
    public void propChange()
    {
      System.out.println(getPropValue( ) );
    }

I want the property that a component is bound to (and specified in
"elements" at the same time) to be updated based on user selection. I dont
want any other components to rewind. I want only the ones specified in
"elements" to rewind during Ajax.

Any idea how to get this working?

thanks,
Karthik