Hello,
I have some problem when using Select component. In my application I
need to use the Select component with AJAX event handler which handles
onchange event. In version 5.1.0.5, which I used previously this code
worked perfectly:

@Component (parameters = {"model=addressesSelectModel",
"value=selectedAddressId",
                          "event=change",
"onCompleteCallback=literal:onAddressChanged",
                          "context=literal:addressChanged",
"blankOption=${blankOption}"})
@Mixins({"ck/OnEvent"})
private Select addressesSelect;

...

  <t:select class="txt" t:id="addressesSelect"/>

Previously, this approach worked, but after the upgrade to version
5.2.4 it does not work now. In processing the AJAX-request in the
class OnEventWorker.java:278 from request parameters gets
"t:selectvalue" instead of "value", as on the method onChange of
Select class is defined annotation
@RequestParameter(value="t:selectvalue", allowBlank=true).


Accordingly, I always get null instead of the real value.
Why request parameter was renamed? Maybe in the new version there is
another approach to do this?

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

Reply via email to