2 Replies Latest reply on Aug 29, 2007 5:59 AM by Ilya Shaikovsky

    I dont know what happen???

    Hernan Tenjo Newbie

      Hi guys.... I'm new in this topic and I trying to do a simple commandButton that use ajax4jsf for rendering a panelGrid, but it doesn't work....

      My page is:

      <h:panelGrid id="frameGeneral">
      <h:panelGrid id="OpcOperacion" columns="2">
      <h:commandButton value="Venta">
      <a4f:support reRender="panelVenta,
      panelReporte" immediate="true" event="onclick"
      <h:commandButton value="Reporte">
      <a4f:support reRender="panelVenta,
      panelReporte" immediate="true" event="onclick"
      <h:panelGrid id="frameInterno">
      <h:panelGrid id="panelVenta"
      <h:commandButton value="VENTAS"
      <h:panelGrid id="panelReporte"
      <h:commandButton value="REPORTES"

      the initBean.activarReportes and initBean.activarVentas actionListeners only change a boolean attribute (renderVentas = true)

      When I run the page and I do click in the buttons, they show a popup with the message: "Request Error Status: 500 Internal Server Error. Message: undefined" and throws an exception : org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Duplicate component ID '_id0' found in view.

      I dont know what is bad.... Can Anybody HELP ME?????