You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Asim Khaja <th...@yahoo.com> on 2005/12/08 23:04:32 UTC
Contrib:Palette Bug
Hi,
I am using the Contrib:Palette, and noticed that if I have my submit button (<input type="submit" jwcid="@Submit" value="Search" listener="ognl:listeners.searchSubmit"/>) above the palette, then when searchSubmit() method is called, the values for the selected items, are not updated. But, if I have the submit button below the palette then values are indeed correct.
Is this a known bug, or am I doing something wrong?
Thanks,
Asim
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
Re: Contrib:Palette Bug
Posted by Kent Tong <ke...@cpttm.org.mo>.
Asim Khaja <thetrain09 <at> yahoo.com> writes:
> I am using the Contrib:Palette, and noticed that if I have my submit
> button (<input type="submit" jwcid=" <at> Submit" value="Search"
> listener="ognl:listeners.searchSubmit"/>) above the palette,
> then when searchSubmit() method is called, the values for the selected
> items, are not updated. But, if I have the submit button below the
> palette then values are indeed correct.
>
> Is this a known bug, or am I doing something wrong?
This is not a bug. This is a behavior of rewind. To get the behavior
that you desired, bind the listener to the "action" parameter:
<input type="submit"
jwcid="@Submit" value="Search"
action="ognl:listeners.searchSubmit"/>
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org