users@javaserverfaces-spec-public.java.net

[jsr344-experts mirror] [jsr344-experts] Pass Through Elements

From: Michael Müller <michael.mueller_at_mueller-bruehl.de>
Date: Mon, 07 Jan 2013 22:51:18 +0100

Hi Volunteers,

Suppose we have

<input type="submit" id="btn" value="myButton"/>

In the API the reader finds this element should be included into the
component tree, if prefixed by the sun...JSF namespace, e.g

<input type="submit" jsf:id="btn" value="myButton"/>

Now, let's add an action

<input type="submit" jsf:id="btn" value="myButton" jsf:action="#{myBean.myAction}"/>

This action is not HTML5, but JSF specific. I guess, we all know, that a
couple of attributes should be supported. But how should somebody know,
who is new to JSF and reads the spec for the first time? Is this
specification missing, or do I simply havn't seen it?

-- 
Herzliche Grüße - Best Regards,
Michael Müller