"Passthrough attributes" is a JSF 2.2 specific term for declaring component attributes which should be passed through into the HTML output during render response. By default, unregistered component attributes are namely ignored during render response. This is designed with HTML5 data-* support in mind.
Questions tagged [passthrough-attributes]
9 questions
6
votes
1 answer
Using f:selectItems var in passtrough attribute
can I pass expressions to JSF 2 passthrough-attributes?
the following code is not working. expression #{country.isoCode} is not evaluated.

Steve
- 384
- 1
- 7
- 17
2
votes
1 answer
Attribute name "p:autofocus" associated with an element type "h:inputText" must be followed by the ' = ' character
Seems that there is an bug using some HTML 5 attributes using the passthrough namespace, i.e:
When I try to run the page in Glassfish I get this…

CIOC
- 1,385
- 3
- 19
- 48
1
vote
1 answer
JSF passthrough radio button selection resets on form validation errors
I have a JSF 2.2 form comprised of an input text field and a pair of radio buttons displayed inline. Given the known limitations on radio button groups in JSF 2.2, I'm using the technique outlined by BalusC in this blog post. We cannot upgrade to…

Kevin Swan
- 147
- 12
1
vote
1 answer
How do I set the min attribute for via h:inputText?
I have the following HTML calendar:
How can I add the min attribute for this?
t refers to…

tano9321
- 31
- 7
1
vote
2 answers
java.lang.NullPointerException: at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.getAttributeValue
I'm trying to use the new passthrough attribute feature in my web application, however i'm having problems with nullable attributes. This is the code:

cocorossello
- 1,289
- 1
- 17
- 30
1
vote
1 answer
The getter of is not called in the RENDER RESPONSE phase for ajax request
I am having the following problem: the method binding for the tag used to populate the component with passthrough attributes is not called for AJAX Request.

Willie C.
- 13
- 4
0
votes
2 answers
Is it possible to pass passthrough attributes in a custom composite component?
In JSF 2.2, I have a custom composite component which wraps a vanilla component (let's say a h:commandLink).
Is it possible to add passthrough attributes on my composite component and pass them back to the wrapped component?
Something like this…

Xavier Portebois
- 3,354
- 6
- 33
- 53
0
votes
0 answers