Charlouze wrote
> Same for me, my need was to have a specific prepare action for my grid to
> display on ajax request. There is an "inPlaceUpdate" event called when
> page
> changes but the grid rendering process is done before calling this event
> in
> my component. I think it's because of the grid component that call
> componentEventResultProcessor.processResultValue(this); when handling this
> event (the event is fired by the grid pager).


Could you provide a full example on this? Or tell me what is wrong with my
code? At least my method gets never called...

<t:form>
        <input t:type="checkbox" t:id="checkbox" t:value="backing.prop"
t:mixins="prepare"/>
</t:form>


class Backing {
        boolean prop;
        onPrepareFromCheckbox() {
                Sysout("never gets called!");
        }
}


@MixinAfter
public class Prepare {
    @Parameter
    private Object[] context;

    @Inject
    private ComponentResources componentResources;

    void setupRender() {
        componentResources.triggerEvent("prepare", context, null);
    }
}




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/onPrepare-from-grid-tp5717639p5717862.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