Renzo,
the warning is correct. There is no "onclick" in
org.apache.myfaces.component.html.ext.HtmlOutputText and its super
classes.
Tomahawk's extensions set the onclick *attribute* (and others) like:
component.getAttributes().put(propName, value);
PErhaps Facelets should look in attributes as well ?
-M
On 11/29/06, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:
Hi, I used Tomahawk outputText component because I relied on its JS
capabilities. So next line:
<t:outputText value="#{msg.label}" onclick="alert('hello')">
works as expected (I get the popup), but I get also:
WARNING: /components/result.xhtml @56,91 onclick="alert('hello')"
Property 'onclick' is not on type:
org.apache.myfaces.component.html.ext.HtmlOutputText
I guess the combination Tomahawk+Facelets strikes again.
Regards -- Renzo
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com