jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] PRD Review and pending issues ( HTML passthrough TagDecorator )

From: Leonardo Uribe <lu4242_at_gmail.com>
Date: Wed, 30 Jan 2013 20:00:15 -0500

Hi

Checking the spec of TagDecorator, I notice that it could be a good idea allow
the following syntax:

<a jsf:outcome="..."> --> <h:link outcome="...">

<button jsf:outcome="..." --> <h:button outcome="...">

Since h:commandLink and h:commandButton does not have outcome property, there
is no problem and it help simplify code writing.

As another comment, according to the spec:

<input type="email" ...>

becomes:

<h:inputText ...>

but since the inputText Renderer doesn't know type property
it renders this:

<input type="text" ...

The RenderKit javadoc of javax.faces.Input/javax.faces.Text must be changed
to reflect that use case, and probably
javax.faces.component.html.HtmlInputText must be changed too.

I'll keep trying to find issues in the spec.

regards

Leonardo Uribe