1 Reply Latest reply on Jun 17, 2008 7:41 PM by Dick Starr

    rich:menuItem works differently with Seam 2.0.2.SP1

    Dick Starr Newbie

      I generated a starter app with Seam 2.0.1.GA seam-gen. I used rich:menuItem within my toolBar. I see my browser page replaced when I click on a toolBar menuItem; after upgrading to Seam 2.0.2.SP1 nothing happens when I click those same menuItem links. I can, however, right click the link and open a new tab or new web page to successfully go to that link.

      What do I need to change to make the toolBar links work like before (replace my existing web page)?

      To provide a simple test case I generated a starter app with Seam 2.0.2.SP1 seam-gen with a single rich:menuItem link, and it fails as described above. Here is the toolBar:

              <h:outputText value="#{projectName}:"/>
              <s:link view="/home.xhtml" value="Home"/>
            <rich:dropDownMenu value="Links...">
                <h:outputLink value="http://www.medibadge.com">
                  <h:outputText value="medibadge"/>
          <!-- @newMenuItem@ -->
          <rich:toolBarGroup location="right">
              <h:outputText value="Welcome, #{identity.username}!" rendered="#{identity.loggedIn}"/>
              <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
              <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>

      I am using jboss-4.2.2.GA.

      Thanks in advance,

      Dick Starr