struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Nasty Tiles2 Problem - help
Date Tue, 28 Aug 2007 18:14:35 GMT
In addition to keeping config files confined to the
specific problem at hand it's nice when you find a
solution on your own that you follow up stating what
the problem was.

d.

--- Pavel Sapozhnikov <pavel.sapozhnikov@gmail.com>
wrote:

> Hey guys I think I have figured it out nevermind lol
> 
> On 8/28/07, Pavel Sapozhnikov
> <pavel.sapozhnikov@gmail.com> wrote:
> >
> > Roberto thanks...that doesn't help something else
> is really wrong here. I
> > wish I could maybe post a picture here or
> something I could take a screen
> > shot I am not sure if I am allowed to attach
> things in this email list but
> > here's my tiles.xml
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE tiles-definitions PUBLIC "-//Apache
> Software
> > Foundation//DTDTiles Configuration 2.0//EN"
> >  "
> http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
> >
> >  <tiles-definitions>
> >     <definition name="login_tile"
> >
>
template="/WEB-INF/jsp/common/layout/page_layout.jsp">
> >         <put-attribute name="header"
> >
>
value="/WEB-INF/jsp/common/unauthenticated_header.jsp"></put-attribute>
> >         <put-attribute name="navigation"
> >
>
value="/WEB-INF/jsp/common/navigation_date.jsp"></put-attribute>
> >         <put-attribute name="body"
> > value="/WEB-INF/jsp/body/login/login_entry-
> body.jsp"></put-attribute>
> >         <put-attribute name="footer"
> >
>
value="/WEB-INF/jsp/common/footer.jsp"></put-attribute>
> >     </definition>
> >
> >     <definition
> name="temporary_password_entry-tile"
> >
>
template="/WEB-INF/jsp/common/layout/page_layout.jsp">
> >         <put-attribute name="header"
> >
>
value="/WEB-INF/jsp/common/authenticated_header.jsp"></put-attribute>
> >         <put-attribute name="navigation"
> >
>
value="/WEB-INF/jsp/common/navigation_app.jsp"></put-attribute>
> >         <put-attribute name="body"
> >
>
value="/WEB-INF/jsp/body/login/temporary_password_entry-body.jsp
> > "></put-attribute>
> >         <put-attribute name="footer"
> >
>
value="/WEB-INF/jsp/common/footer.jsp"></put-attribute>
> >     </definition>
> >
> >     <definition name="home-tile"
> >
>
template="/WEB-INF/jsp/common/layout/page_layout.jsp">
> >         <put-attribute name="header"
> >
>
value="/WEB-INF/jsp/common/authenticated_header.jsp"></put-attribute>
> >         <put-attribute name="navigation"
> >
>
value="/WEB-INF/jsp/common/navigation_app.jsp"></put-attribute>
> >         <put-attribute name="body"
> value="/WEB-INF/jsp/body/home- body.jsp
> > "></put-attribute>
> >         <put-attribute name="footer"
> >
>
value="/WEB-INF/jsp/common/footer.jsp"></put-attribute>
> >     </definition>
> >
> >     <definition name="agency_entry-tile"
> >
>
template="/WEB-INF/jsp/common/layout/page_layout.jsp">
> >         <put-attribute name="header"
> >
>
value="/WEB-INF/jsp/common/unauthenticated_header.jsp"></put-attribute>
> >         <put-attribute name="navigation"
> >
>
value="/WEB-INF/jsp/common/navigation_app.jsp"></put-attribute>
> >         <put-attribute name="body"
> >
>
value="/WEB-INF/jsp/body/login/agency_entry-body.jsp"></put-attribute>
> >         <put-attribute name="footer"
> >
>
value="/WEB-INF/jsp/common/footer.jsp"></put-attribute>
> >     </definition>
> >
> > </tiles-definitions>
> >
> > and here's my struts.xml
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <!DOCTYPE struts PUBLIC
> >     "-//Apache Software Foundation//DTD Struts
> Configuration 2.0//EN"
> >    
> "http://struts.apache.org/dtds/struts-2.0.dtd">
> >
> > <struts>
> >
> >     <constant
> name="struts.enable.DynamicMethodInvocation "
> value="false"
> > />
> >     <constant name="struts.devMode" value="true"
> />
> >
> >     <package name="com.xfact.struts2login"
> > namespace="/com.xfact.struts2login"
> extends="struts-default">
> >
> >         <result-types>
> >               <result-type name="tiles" class="
> > org.apache.struts2.views.tiles.TilesResult"/>
> >         </result-types>
> >
> >         <!-- Login Form Configuration -->
> >         <action name="presentEntryLogin" class="
> >
>
com.xfact.struts2login.actions.LoginLogoutDispatchAction"
> > method="presentEntryLogin">
> >             <result name="input"
> type="tiles">login_tile</result>
> >         </action>
> >
> >         <action name="submitRequestLogin" class="
> >
>
com.xfact.struts2login.actions.LoginLogoutDispatchAction"
> > method="submitRequestLogin">
> >             <result name="error"
> type="tiles">login_tile</result>
> >             <result name="input"
> type="tiles">login_tile</result>
> >             <result name="temp_password"
> >
>
type="redirect-action">presentEntryTempPassword</result>
> >             <result name="login"
> >
>
type="redirect-action">presentEntrySelectAgency</result>
> >             <result name="home"
> type="tiles">home-tile</result>
> >         </action>
> >
> >         <action name="presentEntryTempPassword"
> class="
> >
>
com.xfact.struts2login.actions.LoginLogoutDispatchAction"
> > method="presentEntryTempPassword">
> >             <result
> name="temporary_password_entry"
> >
> type="tiles">temporary_password_entry-tile</result>
> >         </action>
> >
> >         <action name="presentEntrySelectAgency"
> class="
> >
>
com.xfact.struts2login.actions.LoginLogoutDispatchAction"
> > method="presentEntrySelectAgency">
> >             <result name="agency_entry"
> > type="tiles">agency_entry-tile</result>
> >         </action>
> >
> >          <action name="submitRequestUserAgency"
> class="
> >
>
com.xfact.struts2login.actions.LoginLogoutDispatchAction"
> > method="submitRequestUserAgency">
> >             <result name="error"
> type="tiles">agency_entry-tile</result>
> >             <result name="home"
> type="tiles">home-tile</result>
> >          </action>
> >
> >          <action name="submitRequestTempPassword"
> class="
> >
>
com.xfact.struts2login.actions.LoginLogoutDispatchAction"
> > method="submitRequestTempPassword">
> >                 <result name="login"
> >
>
type="redirect-action">presentEntrySelectAgency</result>
> >                 <result name="home"
> type="tiles">home-tile</result>
> >             </action>
> >
> >         <!-- Login Form configuration ends-->
> >         <action name="ControlTagsIf">
> >            
> <result>/pages/ControlTagsIf.jsf</result>
> >         </action>
> >
> >          <!-- Add actions here -->
> >     </package>
> >
> >     <constant name="struts.custom.i18n.resources "
> > value="MessageResources"></constant>
> 
=== message truncated ===


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


Mime
View raw message