users@javaserverfaces-spec-public.java.net

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

From: Frank Caputo <frank_at_frankcaputo.de>
Date: Wed, 9 Jan 2013 09:21:57 +0100

Hi Michael,

it is necessary, that the user knows a little bit about form handling in JSF. If so, she could simply read the javadoc of TagDecorator to see the mapping between the HTML tags and JSF components: https://maven.java.net/service/local/repositories/snapshots/archive/javax/faces/javax.faces-api/2.2-SNAPSHOT/javax.faces-api-2.2-20130104.160953-119-javadoc.jar/!/javadocs/javax/faces/view/facelets/TagDecorator.html

Ciao Frank

Am 07.01.2013 um 22:51 schrieb Michael Müller <michael.mueller_at_mueller-bruehl.de>:

> 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
>