Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>From the <a href="http://www.jcp.org/en/jsr/detail?id=314" rel="nofollow">JSF (2.1) spec</a>:</p> <blockquote> <p>The client identifier is derived from the <a href="http://download.oracle.com/javaee/6/api/javax/faces/component/UIComponent.html#getId%28%29" rel="nofollow">component identifier</a> (or the result of calling <a href="http://download.oracle.com/javaee/6/api/javax/faces/component/UIViewRoot.html#createUniqueId%28javax.faces.context.FacesContext,%20java.lang.String%29" rel="nofollow"><code>UIViewRoot.createUniqueId()</code></a> if there is not one), and the client identifier of the closest parent component that is a <a href="http://download.oracle.com/javaee/6/api/javax/faces/component/NamingContainer.html" rel="nofollow"><code>NamingContainer</code></a> according to the algorithm specified in the javadoc for <a href="http://download.oracle.com/javaee/6/api/javax/faces/component/UIComponent.html#getClientId%28javax.faces.context.FacesContext%29" rel="nofollow"><code>UIComponent.getClientId()</code></a>. The Renderer associated with this component, if any, will then be asked to convert this client identifier to a form appropriate for sending to the client. The value returned from this method must be the same throughout the lifetime of the component instance unless <code>setId()</code> is called, in which case it will be recalculated by the next call to <code>getClientId()</code>.</p> </blockquote> <p><em>Aside from the spec, 3rd party plugins can affect the client identifier (e.g. protlet bridge APIs)</em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload