0 Replies Latest reply on Dec 21, 2007 11:26 AM by felixk2

    PanelMenu Problem

    felixk2

      Hi,

      I'm trying to get my panelMenuItems to link to another page. For some reason the javascript isn't working. I see the page refresh, but it doesn't go where I specify.

      Here is my panelMenu:

      <rich:panelMenu
       xmlns="http://www.w3.org/1999/xhtml"
       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:s="http://jboss.com/products/seam/taglib"
       xmlns:rich="http://richfaces.org/rich"
      
       style="width:200px"
       iconExpandedGroup="disc" iconCollapsedGroup="disc"
       iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
       iconCollapsedTopGroup="chevronDown" iconCollapsedTopPosition="right" >
       <rich:panelMenuGroup label="Resellers">
       <rich:panelMenuItem submitMode="none" onclick="document.location.href='http://www.google.com';">
       <h:outputLink value="resellerList.seam">
       <h:outputText value="Reseller List"></h:outputText>
       </h:outputLink>
       </rich:panelMenuItem>
       </rich:panelMenuGroup>
       </rich:panelMenu>


      Any ideas why this isn't redirecting to the proper page? In this case Google.com?

      Thanks,
      Felix