Purpose

Token is JSF component that renders a hidden input field whose value is the transaction token for the containing form.

Sample

  <h:form>
     <h:message for="token"/>
     ...
     <s:token id="token"/>
  </h:form>

ATTENTION: In purpose to work properly when the page is redisplayed because validation errors occurred, the Token component should be the last input component in the form.

  • No labels