facebook

How to configure TILES within struts-config Design editor

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #263198 Reply

    Hi,

    I’ve just started using MyEclipse 5.1 and have tried to use it to view the web flow of our current project.

    The current project uses Struts 1.2 and Tiles 1.1. I’ve got the Web Flow Diagram showing up for the struts-config.xml file. However it displays the ‘input’ links with the tiles definition “.page.addSite”. It does not appear to grok the tiles configuration. So instead of the JSP opening when I click the diagram I get a message about not able to find the file (because it is looking for the logical name not the JSP).

    Snippet from the struts-config:

    
            <action path="/addSite"
                name="addSiteForm"
                type="org.springframework.web.struts.DelegatingActionProxy"
                input=".page.addSite"
                roles="LOGIN"
                scope="session"
                validate="true">
                <forward name="success" path="/editSite.do"/>
                <forward name="cancel" path="/searchSite.do" redirect="true"/>
            </action>
    

    Snippet from the tiles-defs.xml:

    
          <definition name=".page.addSite" extends=".page.site.4P">
              <put name="menuBottom" value="/jsp/common/menuBottom.jsp"/>
            <put name="workArea" value="/jsp/pages/site/addSite.jsp"/>
          </definition>
    

    Can someone clue me in – on how to get MyEclipse to understand the TILES configuration?

    Thanks, David

    #263271 Reply

    Riyad Kalla
    Member

    David,
    The Struts tools don’t suppose Tiles at this time. Sorry about the hassle.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to configure TILES within struts-config Design editor

You must be logged in to post in the forum log in