0 Replies Latest reply: Apr 14, 2008 11:48 AM by 843844 RSS

    Struts-menu

    843844
      Hi,

      Im working with struts-menu, exactly with Dinamic data base menu,
      with the generation the menu i no have any problem,
      but i dont get to work the target property, always is _self but im working with Frames..

      menu.jsp
      this is code for generation menu before this is another code to create menu from a data base and works fine!
      <div >
      <menu:useMenuDisplayer name="CSSListMenu" id="primary-nav" bundle="org.apache.struts.action.MESSAGE" repository="repository">
      <%

      <menu:displayMenu name="Hoja De Vida" target="mainFrame" />//the target property does not works!!!

      <menu:displayMenu name="Control Novedades"/>
      <menu:displayMenu name="Por Empleado" target="mainFrame" />// here is the problem
      <menu:displayMenu name="Por Concepto" target="mainFrame"/>


      <menu:displayMenu name="Consultas Y Reportes" target="" />




      </menu:useMenuDisplayer>
      </div>

      the principal page principal.jsp

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>Documento sin t&iacute;tulo</title>
      </head>

      <frameset rows="150,*" frameborder="no" border="0" framespacing="0" >


      <frame src="menu.jsp" name="topFrame" scrolling="yes" id="topFrame" title="topFrame" />

      <frame src="areatrabajo.jsp" allowtransparency noresize="noresize" name="mainFrame" id="mainFrame" title="areatrabajo" />
      </frameset>
      <noframes><body>
      </body>
      </noframes></html>

      some one can help me??