You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Yohan Yudanara <yy...@balicamp.com> on 2007/10/10 12:13:48 UTC

T4:listener on button component

Hi all,

I need help.

I want to set value on particular field on the destination page via a
listener.

If I use button as a link to the destination page, Could I add a
listener to button component?

When using DirectLink component, i could do this:
<a jwcid="@DirectLink" listener="ognl:listeners.add">
	Add
</a>

When using button component:

<input type="button" class="button"
onclick="location.href='metadataForm.html'" jwcid="@Button"
value="add"/>  

When using Button component, it doesn't have a listener parameter. Could
anyone suggest a workaround for this?

Thanks,
Yohan


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