Passthrough attributes problem

2017-07-07 Thread PETITIOT, LUCAS
Hello, I’m trying to make a tr:inputText focused by default on page load. The simplest solution seems to be the usage of a passthrough tag: http://xmlns.jcp.org/jsf/passthrough;> ... However, I’m getting an UnsupportedOperationException when loading the page so I must be doing something

[Trinidad] Passthrough attributes problem

2017-07-07 Thread PETITIOT, LUCAS
Hello, I’m trying to make a tr:inputText focused by default on page load. The simplest solution seems to be the usage of a passthrough tag: http://xmlns.jcp.org/jsf/passthrough;> ... However, I’m getting an UnsupportedOperationException when loading the page so I must be doing something

RE: Passthrough attributes problem

2017-07-07 Thread PETITIOT, LUCAS
Ah I see, unfortunately I have to use 2.1.2. Is there another simple way to achieve autofocus without using passthrough, or am I stuck with JS for this? -Original Message- From: Steve Yokanovich [mailto:syokanov...@smythco.com] Sent: Friday, July 07, 2017 3:21 PM To: MyFaces Discussion

RE: Passthrough attributes problem

2017-07-07 Thread Steve Yokanovich
Pass through attribute support was just added in Trinidad 2.2.0. https://issues.apache.org/jira/browse/TRINIDAD-2551 I can confirm it is working and autofocus behavior works as expected. -Original Message- From: PETITIOT, LUCAS [mailto:lucas.petit...@atos.net] Sent: Friday, July 7,

RE: Passthrough attributes problem

2017-07-07 Thread Steve Yokanovich
We used JavaScript for this in the past, having never found an easier method. -Original Message- From: PETITIOT, LUCAS [mailto:lucas.petit...@atos.net] Sent: Friday, July 7, 2017 8:24 AM To: MyFaces Discussion Subject: RE: Passthrough attributes problem Ah I