Spring Webflow 2.3.0 p:dataGrid ajax

UI Components for JSF
Post Reply
pauldavidgilligan
Posts: 1
Joined: 05 Sep 2011, 13:33

05 Sep 2011, 14:18

Hi,

I am trying out SFW + Primefaces and very impressed so far, but I am having problems with p:dataGrid. I can't get the action to flow from the command to run:


<h:form id="form">
<p:dataGrid var="customer" value="#{customers}" columns="3" rows="12" paginator="true" effect="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="9,12,15">


<p:panel header="#{v_customer.name}" style="text-align:center">
<h:panelGrid columns="1" style="width:100%">
<p:graphicImage value="/images/MasterCardPaypassB.jpg" width="220" height="115"/>

<h:outputText value="#{v_customer.description}" />

<f:facet name="footer">
<p:commandButton value="Modify" image="/images/search.png" update="form:display" action="modify"/>
</f:facet>
</h:panelGrid>
</p:panel>
</p:dataGrid>
</h:form>

Same command runs in dataTable, I have tried all the ajax and other options and no luck, any help as the dataGrid looks so nice :)

Paul

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 61 guests