I am using a custom tag in a tile to check if the current webapp session has
a valid database connection.  If it does not, redirect to the logon page.
This JSP file works fine when called directly, however when inserted as a
tile, the <logic:forward> tag does not work.

<%@ obligatory taglib directives %>

<dbTags:isConnected>
        Logged on as <sess:attribute name="username"/>
        <html:link page="/action/logonPage?logout">Log Out</html:link>
</dbTags:isConnected> <logic:redirect forward="logon"/>

The <dbTags:isConnected> tag is configured to: 

doStartTag - if database connection exists, EVAL_BODY_INCLUDE.  Else,
SKIP_BODY.

doEndTag - if database connection exists, SKIP_PAGE.  Else, EVAL_PAGE.

Has anyone seen any issues using logic:forward in a tiles configuration?

Thanks,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to