Hi Leonardo,
Am 31.01.2013 um 02:00 schrieb Leonardo Uribe <lu4242_at_gmail.com>:
> 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="…">
+1
>
> 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.
type becomes a passthrough attribute. So it supersedes the type attribute written by the original renderer.
Ciao Frank
>
> I'll keep trying to find issues in the spec.
>
> regards
>
> Leonardo Uribe
>