facebook

jsf faces-config.xml does not link to tiles.xml

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #289776 Reply

    amir55
    Participant

    Dear all.

    Ihave done many examples on jsf tiles but his time

    and I could use index1.jsp to access the tiles.xml successfully

    // index1.jsp
    <%@ taglib uri=”http://jakarta.apache.org/struts/tags-tiles&#8221; prefix=”tiles” %>
    <tiles:insert definition=”index1.page”/>

    but the problem is to get the faces-config.xml naviagation part to access my index2.jsp that it should relaod the screen with new tiles but it did not. WHY which is like this

    // index2.jsp
    <%@ taglib uri=”http://jakarta.apache.org/struts/tags-tiles&#8221; prefix=”tiles” %>
    <tiles:insert definition=”index2.page”/>

    tiles-defs.xml

    <definition name=”.mainLayout” path=”/templates.jsp”>
    <put name=”title” value=”any title1″ />
    <put name=”header” value=”/header1.jsp” type=”page”/>
    <put name=”left” value=”/left1.jsp” type=”page”/>
    <put name=”body” value=”/body1.jsp” type=”page”/>
    <put name=”footer” value=”/footer1.jsp” type=”page”/>
    </definition>

    <!– I get this fine –>
    <definition name=”index.page” extends=”.mainLayout”>
    <put name=”title” value=”tutle2″/>
    <put name=”left” value=”/left2.jsp” type=”page”/>
    <put name=”body” value=”/body2.jsp” type=”page”/>
    </definition>

    <!– I do not get this at all but the what I get the same page above why???–>
    <definition name=” index2.page” extends=”.mainLayout”>
    <put name=”title” value=”title3 !”/>
    <put name=”left” value=”/left3.jsp” type=”page”/>
    <put name=”body” value=”/body3.jsp” type=”page”/>
    </definition>

    I can pass the whole file to anyone.

    Please recommend any book or article to even buy that helps to solve or even I can pay for this service

    Amir

    #289793 Reply

    Loyal Water
    Member

    Moving to Off Topic >> Software Development.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: jsf faces-config.xml does not link to tiles.xml

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