the zone parameter is always null for me.

call to mixing

<select t:id="selectType" t:type="select" t:mixins="SelectContextMixin" 
           t:zone="zone" t:context="currentFilterSection"
           t:model="typeModel" t:value="currentFilterSection.value.type" >
</select> 

Mixing class

    @InjectContainer
    private Select component;
    @Inject
    private ComponentResources resources;
    @Inject
    private JavaScriptSupport javascriptSupport;
    @Parameter
    private String zone;
    @Parameter
    private Object[] context;

    @AfterRender
    void linkZone() {
        Link link = resources.createEventLink("change", context);
        JSONObject spec = new JSONObject("selectId",
component.getClientId(), "zoneId", zone, "url", link.toURI());
        javascriptSupport.addInitializerCall("linkSelectToZone", spec);
    }

    Object onChange(@RequestParameter(value = "t:selectvalue", allowBlank =
true) final String selectValue) {
        CaptureResultCallback callback = new CaptureResultCallback();
        this.resources.triggerEvent(EventConstants.VALUE_CHANGED, new
Object[]{selectValue, context}, callback);
        return callback.getResult();
    }

Do I need to include zone in some differnet way?




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Mixng-cant-find-zone-parameter-tp5720157.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to