Questions tagged [passthrough-elements]

"Passthrough elements" is a JSF 2.2 specific term for declaring JSF components as "plain" HTML5 elements which should be automatically converted to real JSF components during view build time, when an "identifying attribute" is present in the plain HTML5 markup.

See also Java EE 7 tutorial - HTML5 friendly markup.

20 questions
0
votes
1 answer

Declaring as passthrough element

I'm developing in JSF 2.2 using passthrough elements and I would like to translate into a passthrough element. I searched in the internet but didn't found any solution using passthrough elements. Which HTML5 should I passthrough to…
Guerino Rodella
  • 321
  • 4
  • 16
0
votes
1 answer

JSF passthrough elements jsf:action javascript function

I'm using JSF 2.2 passthrough elements and I'd like to call both functions, jsf:action and jsf:onclick. I tryed a lot of ways to do it and none worked for me. The closest approach I got, was this way: HTML
Guerino Rodella
  • 321
  • 4
  • 16
0
votes
0 answers

JSF passthrough dropdown/h:selectOneMenu

I'm having some issues with HTML dropdown. I searched in the web and found this stackoverflow link realated to my issue HTML 5 dropdown and JSF 2.2 I could't use jsfc atribute as suggested in the link. My attribute don't recognize this attr. Do I…
Guerino Rodella
  • 321
  • 4
  • 16
-1
votes
1 answer

Setting context init parameter for jsf passthrough myfaces 2.0.15

Im using myfaces verison 2.0.15. JSF passthrough is not working. I tried both namespaces: xmlns:pt="http://xmlns.jcp.org/jsf/passthrough" and xmlns:pt="http://java.sun.com/jsf/passthrough" and then pt:aria-label="example" on an h:inputText for…
Pascal Petruch
  • 344
  • 3
  • 16
-1
votes
2 answers

Why does hard-coding in numbers work, but using variables with the same values, doesn't?

I'm writing a program that is a game where you have to guess whichever random 4 digit integer that the computer generates. I'm having trouble with the input validation - more specifically, my isDigit() method, which aims to make sure all inputs from…
Evan
  • 1
1
2