0 Replies Latest reply on Dec 10, 2010 11:43 PM by agustincarban

    Blank page on deployment... ???

    agustincarban

      Greets to all !!!... Just wanted to leave this strange thing that is hapenning; with out any doubt this must be something really silly... If you look this code (JSP File) when I try to run the project I get a blank page but if I erase the contextmenu, the component control and the outputpanel lines the only thing I get is the datatable perfectly rendered... Why is happening this ???... This is getting me really crazy...

       

      <h:form id="form">
                      <rich:contextMenu attached="false" id="menu" submitMode="ajax">
                         <rich:menuItem value="Show #{auto.marca} - #{auto.modelo}" ajaxSingle="true">
                              <a4j:actionparam name="det" assignTo="#{listaAutos.selected}" value="#{auto}"/>
                         </rich:menuItem>
                      </rich:contextMenu>
      
                      <h:panelGrid columns="2">
                         <rich:dataTable value="#{listaAutos.lista}" var="car" id="table" onRowMouseOver="this.style.backgroundColor='#F8F8F8'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rowClasses="cur">
                            <rich:column >
                              <f:facet name="header">
                                  <h:outputText value="Marca" />
                              </f:facet>
                              <h:outputText value="#{car.marca}"/>
                            </rich:column>
                            <rich:column>
                              <f:facet name="header">
                                  <h:outputText value="Modelo" />
                              </f:facet>
                              <h:outputText value="#{car.modelo}"/>
                            </rich:column>
                            <rich:column>
                              <f:facet name="header">
                                  <h:outputText value="Precio" />
                              </f:facet>
                              <h:outputText value="#{car.precio}" />
                            </rich:column>
                            <rich:componentControl event="onRowClick" for="menu" operation="show">
                              <f:setPropertyActionListener target="#{listaAutos.selected}" value="#{car}"/>
                              <f:param value="#{car}" name="auto"/>
                            </rich:componentControl>
                          </rich:dataTable>
      
                          <a4j:outputPanel ajaxRendered="true">
                                <rich:panel>
                                      <f:facet name="header">
                                          <h:outputText value="Last Menu Action" />
                                      </f:facet>
                                    <h:outputText value="#{listaAutos.selected.toString}"/>
                                </rich:panel>
                          </a4j:outputPanel>
                      </h:panelGrid>
                  </h:form>