You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by JS Portal Support <su...@jsportal.com> on 2007/03/20 06:26:00 UTC
prerender() not called on my tiles
Hi,
I am combining shale and tiles. When I navigate to my tiles definition
/user_dashboard_view through my navigation-rule go_user_dashboard called by
a commanLink action, I find that the backing beans of the respective tiles
(/jsp/user_dashboard.jsp)are not instantiated. Or at least, the prerender()
is not called.
Any clues?
Regards,
Joost
----------Tiles.xml (partly)---------
<definition name="/mainLayout"
template="/jsp/tiles/layouts/loggedLayout.jsp">
<put name="top" value="/jsp/tiles/top.jsp"/>
<put name="nav" value="/jsp/tiles/nav.jsp"/>
<put name="content" value=""/>
<put name="footer" value="/jsp/tiles/footer.jsp"/>
</definition>
<definition name="/user_dashboard_view" extends="/mainLayout">
<put name="content" value="/jsp/user_dashboard.jsp"/>
</definition>
----------faces-config.xml (partly)--------------
<managed-bean>
<managed-bean-name>jsp$user_dashboard</managed-bean-name>
<managed-bean-class>com.jsportal.projectportal.web.JSFaces.jsp.Dashboard</ma
naged-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>go_user_dashboard</from-outcome>
<to-view-id>/user_dashboard_view</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>go_user_profile</from-outcome>
<to-view-id>/user_profile_view</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>go_user_calendar</from-outcome>
<to-view-id>/user_calendar_view</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>go_search</from-outcome>
<to-view-id>/search_view</to-view-id>
</navigation-case>
</navigation-rule>