RE: Handling onEvent change from a Select component

2013-05-11 Thread Ben Titmarsh
entered into the textfield and can see the server side handler being called, but cubeCard.tagList is null. Any ideas? > Date: Tue, 23 Apr 2013 21:27:53 +0200 > From: mailingl...@j-b-s.de > To: users@tapestry.apache.org > Subject: Re: Handling onEvent change from a Select component > &

Re: Handling onEvent change from a Select component

2013-04-23 Thread George Christman
Hi Ben, a really basic example. I'm assuming your trying to loop the zones, I hope this helps. ${product} ${cardTypes} @Property private CardType cardType; @Property private String cardTypes; @InjectComponent private Zone cardTypeZone; private String produc

Re: Handling onEvent change from a Select component

2013-04-23 Thread Jens Breitenstein
Hi Ben! I am using the tapestry-jquery mixin for this: tml: t:validate="required" value="yourValue" t:mixins="jquery/bind" bind.context="${yourValue.pk}" bind.event="yourSelectionChanged" bind.eventType="change"/> page: public Object onYourSelectionChanged(final long pk) { Syste

Handling onEvent change from a Select component

2013-04-23 Thread Ben Titmarsh
After a lot of Googling around I'm unable to find a solution to my problem. I want to handle the change event from a Select Component. I'm creating a bunch of these components in a loop: And I've got the following handler declaration: @OnEvent(component="type", value = "change") pub