Can we pass attributes to p:ajax

UI Components for JSF
Post Reply
KKL
Posts: 8
Joined: 26 Apr 2011, 20:55

25 May 2011, 17:20

Is there any way we can pass attributes to ajax call. Currently we are using p:ajax inside the datatable. We have to update few of the column values dynamically based on the value selected from column1 dropdown.So, I need to pass selected value into the Ajax listener. Please let me know.

<columns>

<p:column >
<f:facet name="input">
<h:selectOneMenu value="#{csetrr.origCountry.countryCode}">
<f:selectItem itemLabel="" itemValue="" />
<f:selectItems value="#{bean.codes}" />
<p:ajax update="EditorigP EditorigCS" listener="#{routeRuleBean.handleAjax}" />
</h:selectOneMenu>
</f:facet>
</p:column>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Analytics-24 and 34 guests