p:dataTable and p:commandButton request fails

UI Components for JSF
Post Reply
philipjmurphy
Posts: 7
Joined: 23 Jul 2010, 12:59

23 Jul 2010, 18:51

The following raises a "500 Internal Server Error" in FireBug with the request failing. If I remove the p:dataTable the request is successful and the growl is displayed. I'm going crazy trying to figure out what is wrong with this. BTW, the data in datatable is displayed fine.

Thanks,

Philip

Code: Select all

	        <p:growl id="growl" showDetail="true" />
		<h:form>
			<p:dataTable id="myApprovals" var="approvalSummaryUI" value="#{myApprovalsController.approvalSummaryUIs}">
				<p:column>
					<f:facet name="header">
						Test
					</f:facet>
					Blah
				</p:column>
			</p:dataTable>
			
			<p:commandButton value="approve" actionListener="#{myApprovalsController.approve}" update="growl" />
		</h:form>
using primefaces 2.1.RC1, JSF 2, JDK 1.6, JBoss 6 M1

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Jul 2010, 23:08

Can you see any error in server logs? Can you try by moving inside the form? Maybe you have an issue with #{myApprovalsController.approvalSummaryUIs} logic.

philipjmurphy
Posts: 7
Joined: 23 Jul 2010, 12:59

26 Jul 2010, 12:05

This was my bad - there was an error in server log due to missing request parameter. Fixed now. Thanks, Philip
using primefaces 2.1.RC1, JSF 2, JDK 1.6, JBoss 6 M1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests