tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Stefaniuk <daniel.stefan...@gmail.com>
Subject prepare attribute
Date Mon, 11 Apr 2011 14:30:56 GMT

I would like to use object (UIBootstrap.Dojo) created in the layout inside
of a view (content). This is an example:

    UIBootstrap.Dojo dojo = new UIBootstrap.Dojo();
    // save Dojo Toolkit bootstrap object to allow further configration in a
    request.setAttribute("dojo", dojo);
<!-- this is the place I want to execute content but output it later on -->
<%= new UIBootstrap().setDojo(dojo) %>
    <tiles:insertAttribute name="content" />

The problem with that solution is that the UIBootstrap.Dojo object is
outputted before content is rendered. Any amendments made to
UIBootstrap.Dojo object inside of a view are done too late.

Is there any way to execute content but output it later on?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message