2 Replies Latest reply on Jun 5, 2009 5:55 AM by ilya_shaikovsky

    Facing problem with a:commandButton and a:commandLink inside

      Hi all, i am facing problem with a:commandButton and a:commanfLink inside div. I have given the form also. But its not submitting. Can any one please look into this issue and reply me asap.

      Here is my piece of code,


      <h:panelGroup id="roomtypepanel">
      <h:form>
      <rich:dataTable id="roonTypeList" var="roomType" value="#{testAction.getRoomTypes()}" width="100%">
      <f:facet name="header">
      <rich:columnGroup>
      <rich:column>
      <h:outputText value="Room type Name"/>
      </rich:column>
      <rich:column>
      <h:outputText value="Rate"/>
      </rich:column>
      </rich:columnGroup>
      </f:facet>
      <rich:column>
      <a:commandLink style="color:#000000;" action="#{testAction.selectRoomType(roomType.bookableType)}" >
      <h:outputText style="color:#000000;" value="#{roomType.bookableType.name}"/>
      </a:commandLink>
      </rich:column>
      <h:column>
      <h:outputText value="#{roomType.roomRate}"/>
      </h:column>
      </rich:dataTable>
      </h:form>

      </h:panelGroup>