webtier@glassfish.java.net

The "class" attribute of composite components

From: <webtier_at_javadesktop.org>
Date: Sat, 01 Aug 2009 16:39:49 PDT

There is a cool small feature of Facelets that allows the usage of "class" as a component attribute. You can use it for Facelet tags and even for the standard component set like this:

<h:outputText value="Text" class="text" />

The above becomes possible with some sort of an alias functionality. Can we have something similar enabled for the new JSF2 custom composite components? It's nice because it's compact and mimics the original HTML attribute name.
[Message sent by forum member 'rostislav' (rostislav)]

http://forums.java.net/jive/thread.jspa?messageID=358475