• Settings
    • Locale
    • Change the locale of the datepicker, schedule and client side validation messages.

      Language
      English
      English
      English
      French
      German
      German
      German
      Italian
      Korean
      Spanish
      Catalan
      Dutch
      Portuguese
      Portuguese
      Arabic
      Arabic
      Bulgarian
      Bangla
      Bosnian
      Czech
      Greek
      Estonian
      Persian
      Finnish
      Danish
      Hindi
      Indonesian
      Icelandic
      Croatian
      Japanese
      Hungarian
      Hebrew
      Georgian
      Central Kurdish
      Khmer
      Kyrgyz
      Kazakh
      Lithuanian
      Latvian
      Malay
      Norwegian
      Polish
      Romanian
      Russian
      Slovak
      Slovenian
      Serbian
      Serbian
      Swedish
      Thai
      Turkish
      Ukrainian
      Uzbek
      Vietnamese
      Chinese
      Chinese
  • Resources

AutoUpdate

AutoUpdate is a utility tag, which registers the attached/parent component to be updated automatically on each ajax request. All ajaxified components (includes p:ajax) provides an attribute, to mark the current request to ignore all autoUpdates.

AutoUpdate Tag Documentation

AutoUpdate is a TagHandler to mark the parent component to be updated at every AJAX request. AutoUpdate is ignored if the trigger (p:commandButton, p:ajax...) of AJAX request has the attribute ignoreAutoUpdate set to 'true'

NameTypeRequiredDefaultDescription
disabled Boolean false false If autoUpdate should be disabled.
on String false Defines the observer event, which will trigger the auto update.
Loading...
Tag DocumentationNew DocumentationNew Documentation
Time: 2026-10-21 22:46:49

Usage


<div class="card">
    <h:form>
        <p:outputPanel styleClass="mb-3">
            <p:autoUpdate/>

            Time: #{autoUpdateView.time}
        </p:outputPanel>

        <p:commandButton value="AJAX request" update="@none" process="@this" styleClass="mr-2" />
        <p:commandButton value="Ignore AutoUpdate" update="@none" process="@this" ignoreAutoUpdate="true"/>
    </h:form>
</div>