Exclude component from update

UI Components for JSF
Post Reply
vished
Posts: 479
Joined: 02 Feb 2014, 17:38

15 Dec 2018, 11:26

Dear all,

How can I exclude a component (like datatable) from the update?

Code: Select all

				<p:commandButton id="infoDlgButton"
													styleClass="Fs13 White RaissedButton"
													actionListener="#{projectRequestByMandatoryController.doShowDetail}"
													ajax="true" immediate="true" global="false" 
													update=":projectListForm"
													icon="#{projectRequestByMandatoryController.showDetail == true ? 'fa fa-eye-slash' : 'fa fa-eye'}" />
												
Thanks
PF 8.0

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

15 Dec 2018, 13:37

You can't. But you can update single components inside your form instead the whole form.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

17 Dec 2018, 01:43

@Oleg: With PF selectors you can 'negate things' can you?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests