0

I am facing such a problem. I want to refresh one internal element of a h:form, a p:dataList, and in order to do it I have

<p:remoteCommand name="updateSet" update="import-statuses-admin-list" process="import-statuses-admin-list"/>

Function updateSet is called in every 5 seconds. The thing is that, there are some other elements in my form and they are also sent, eg.

<h:selectOneMenu value="#{importXmlManagementBean.statusFilter}" id="statusFilter">

I'd rather have only this list p:dataList submitted, without sending all form. Is it normal behaviour or I am missing something?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Szymon Roziewski
  • 956
  • 2
  • 20
  • 36

1 Answers1

-1

Add to remoteCommand the attribute update with the id of the datalist you want to update, and in the process specify the same.

xacy
  • 21
  • 1
  • 2
  • 7