I've just converted my template to use the tr:document tag (to get the
progress indicator to work) instead of the method generated by the netbeans
facelets archetype and now my navigation has stopped working.  I don't think
any changes have been made to my faces-config.xml and the individual pages
fire up manually.

My template is now:

<tr:document
   xmlns:ui="http://java.sun.com/jsf/facelets";
   xmlns:h="http://java.sun.com/jsf/html";
   xmlns:f="http://java.sun.com/jsf/core";
   xmlns:tr="http://myfaces.apache.org/trinidad";
   xmlns:c="http://java.sun.com/jstl/core";>
   <f:facet name="metaContainer">
       <!--
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
       -->
        <link href="./css/default.css" rel="stylesheet" type="text/css" />
        <link href="./css/cssLayout.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="./scripts/common.js"></script>
        <title>MyFactoryManager</title>
   </f:facet>

<div class="container">
        <div id="top" class="top">
            <ui:insert name="top"><h:graphicImage id="logo"
url="/images/logo.jpg" /></ui:insert>
        </div>
        <div>
            <div id="left">
                <ui:insert name="left">
                    <h:form>
                        <h:panelGrid columns="1" >
                            <h:commandLink action="nav_home">
                                <h:outputText value="Home" />
                            </h:commandLink>
                            <h:commandLink action="nav_jobs">
                                <h:outputText value="Jobs" />
                            </h:commandLink>
                            <h:commandLink action="nav_operators">
                                <h:outputText value="Operators" />
                            </h:commandLink>
                            <h:commandLink action="nav_workcentres">
                                <h:outputText value="Work Centres" />
                            </h:commandLink>
                         </h:panelGrid>
                    </h:form>
                </ui:insert>
            </div>
            <div id="content" class="left_content">
                <ui:insert name="content">Content</ui:insert>
            </div>
        </div>
    </div>

</tr:document>

I know there's a combination of h:tags in there but I'm not sure what could
be wrong.  I've actually just put a mixture of h:commandLink and
tr:commandLink on the content of a page and still nothing happens.  I'm not
getting any errors reported to the browser or at the console.

Any ideas?
Shaun

Reply via email to