jsf - Updating partial element submits the whole form -
this question has answer here:
i facing such problem. want refresh 1 internal element of h:form
, p:datalist
, , in order have
<p:remotecommand name="updateset" update="import-statuses-admin-list" process="import-statuses-admin-list"/>
function updateset
called in every 5 seconds. thing that, there other elements in form , sent, eg.
<h:selectonemenu value="#{importxmlmanagementbean.statusfilter}" id="statusfilter">
i'd rather have list p:datalist
submitted, without sending form. normal behaviour or missing something?
add remotecommand attribute update id of datalist want update, , in process specify same.
Comments
Post a Comment