You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andy Engle <st...@andyengle.com> on 2003/12/16 01:06:49 UTC

Re: Tags between custom tags not evaluating (FIXED)

Martin Cooper <ma...@apache.org> wrote:

> What value are you using in the <body-content> element for your
> 'checkLogon' tag (in the TLD)? It should be 'JSP' to have the content
> evaluated as JSP.

That's what it was.  Thanks for your help!


Andy


> --
> Martin Cooper
> 
> 
> "Andy Engle" <st...@andyengle.com> wrote in message
> news:20031215231532.18336.qmail@web41509.mail.yahoo.com...
> > "Hookom, Jacob" <Ja...@redline.mckhboc.com> wrote:
> >
> > > I don't see the:
> > >
> > > <%@ taglib uri="/tags/struts-html" prefix="html" %>
> >
> > Below is the entire JSP file.
> >
> >
> > Andy
> >
> > ---
> >
> > <%@ page contentType="text/html" %>
> > <%@ taglib uri="/WEB-INF/app.tld"           prefix="app"   %>
> > <%@ taglib uri="/WEB-INF/struts-html.tld"   prefix="html"  %>
> > <%@ taglib uri="/WEB-INF/struts-bean.tld"   prefix="bean"  %>
> > <%@ taglib uri="/WEB-INF/struts-tiles.tld"  prefix="tiles" %>
> > <%@ taglib uri="/WEB-INF/struts-logic.tld"  prefix="logic" %>
> >
> >
> > <tiles:insert page="/template.jsp" flush="true">
> >   <tiles:put name="header" value="/pagetop.jsp"/>
> >   <tiles:put name="page-title" value="Login" type="String"/>
> >   <tiles:put name="footer" value="/pagebottom.jsp" />
> >
> >   <tiles:put name="page-content" type="String">
> >
> >     <html:html>
> >
> >     <html:errors property="wrongLogin"/>
> >
> >
> > <app:checkLogon showIf="notAuthenticated">
> >
> >   <html:form action="/login" method="POST">
> >     Username: <html:text property="username" size="10"
> maxlength="10"/>
> >     <br>
> >     Password: <html:password property="password" size="10"
> > maxlength="10" redisplay="false"/>
> >     <br><br>
> >
> >     <html:submit value="Submit"/>
> >     <html:reset/>
> >   </html:form>
> >
> > </app:checkLogon>
> >
> >
> >
> >     <br>
> >     How about looking at our list of <a href="<bean:message
> > key="app.path"/>/userList.do">users</a>?
> >
> >     <br><br>
> >
> >     <app:checkLogon showIf="authenticated">
> >       It appears that you are logged in already.
> >     </app:checkLogon>
> >
> >     <app:checkLogon showIf="notAuthenticated">
> >
> >     <html:form action="/login" method="POST">
> >     <table>
> >       <tr>
> >         <td>Username:</td>
> >         <td>
> >           <html:text property="username" size="10" maxlength="10"/>
> >           <html:errors property="username"/>
> >         </td>
> >       </tr>
> >
> >       <tr>
> >         <td>Password:</td>
> >         <td>
> >           <html:password property="password" size="10"
> maxlength="10"
> >               redisplay="false"/>
> >         </td>
> >       </tr>
> >
> >       <tr>
> >         <td colspan="2"><br></td>
> >       </tr>
> >
> >       <tr>
> >         <td align="right">
> >           <html:submit value="Submit"/>
> >         </td>
> >         <td align="left">
> >           <html:reset/>
> >         </td>
> >       </tr>
> >     </table>
> >     </html:form>
> >     </app:checkLogon>
> >
> > <!--
> >     This is the application path: <bean:message key="app.path"/>
> > -->
> >
> >   </html:html>
> >   </tiles:put>
> >
> > </tiles:insert>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org