You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2007/11/02 20:39:50 UTC

[jira] Commented: (MYFACES-1757) h:commandLink cannot have onclick attribute in tld file for JSF 1.1

    [ https://issues.apache.org/jira/browse/MYFACES-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539681 ] 

Mike Kienenberger commented on MYFACES-1757:
--------------------------------------------

Pointer to JSF RI issue, thanks to Ryan Lubke

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=71


> h:commandLink cannot have onclick attribute in tld file for JSF 1.1
> -------------------------------------------------------------------
>
>                 Key: MYFACES-1757
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1757
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-127
>    Affects Versions: 1.1.5
>            Reporter: Mike Kienenberger
>            Priority: Minor
>
> h:commandLink cannot have onclick attribute in tld file for JSF 1.1. 
> I just compared the tlds for MyFaces Core and JSF RI 1.1.
> Apparently RI 1.1 doesn't support onclick, but MyFaces does.   That
> seems like a bug as well.
> http://myfaces.apache.org/impl/tlddoc/h/commandLink.html
> http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/h/tld-summary.html
> http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/
> Ryan Lubke confirmed that the lack of onclick in the tld was intentional for JSF 1.1, and that the renderer is expected to ignore the value of HtmlCommandLink.getOnClick().
>   http://mail-archives.apache.org/mod_mbox/myfaces-users/200711.mbox/browser
>   http://www.nabble.com/forum/ViewPost.jtp?post=13553591&framed=y
> For JSF 1.2, onclick has been added, the spec has been clarified, and the current behavior is likely correct.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.