[jira] [Updated] (MYFACES-3957) Disabled h:commandLink results in rendering of a span with onclick

2015-11-18 Thread Leonardo Uribe (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-3957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe updated MYFACES-3957:

   Resolution: Fixed
 Assignee: Leonardo Uribe
Fix Version/s: 2.2.9
   2.1.18
   2.0.24
   Status: Resolved  (was: Patch Available)

Thanks to Thomas Andraschko for provide this patch

> Disabled h:commandLink results in rendering of a span with onclick 
> ---
>
> Key: MYFACES-3957
> URL: https://issues.apache.org/jira/browse/MYFACES-3957
> Project: MyFaces Core
>  Issue Type: Bug
>Affects Versions: 2.0.2
> Environment: Websphere 8.5
>Reporter: Stephan Knitelius
>Assignee: Leonardo Uribe
> Fix For: 2.0.24, 2.1.18, 2.2.9
>
> Attachments: MYFACES-3957.patch
>
>
> {code}
>type="button">link
> AND
>type="button" value="link" />
> {code}
> Result in:
> {code}
> link
> {code}
> I would have expected to find a disabled  or a span without the 
> onclick action.
> In comparison a disabled h:commandButton:
> {code}
>  type="button"/>
> {code}
> Results in:
> {code}
>  id="frmContent:j_id499838546_62f34114" onclick="alert('hello')" type="button" 
> value="button">
> {code}
> As expected the onclick action is not preformed.
> I would expect similar behaviour from both h:commandButton and h:commandLink.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MYFACES-3957) Disabled h:commandLink results in rendering of a span with onclick

2015-10-27 Thread Thomas Andraschko (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYFACES-3957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Andraschko updated MYFACES-3957:
---
Status: Patch Available  (was: Open)

> Disabled h:commandLink results in rendering of a span with onclick 
> ---
>
> Key: MYFACES-3957
> URL: https://issues.apache.org/jira/browse/MYFACES-3957
> Project: MyFaces Core
>  Issue Type: Bug
>Affects Versions: 2.0.2
> Environment: Websphere 8.5
>Reporter: Stephan Knitelius
>
> {code}
>type="button">link
> AND
>type="button" value="link" />
> {code}
> Result in:
> {code}
> link
> {code}
> I would have expected to find a disabled  or a span without the 
> onclick action.
> In comparison a disabled h:commandButton:
> {code}
>  type="button"/>
> {code}
> Results in:
> {code}
>  id="frmContent:j_id499838546_62f34114" onclick="alert('hello')" type="button" 
> value="button">
> {code}
> As expected the onclick action is not preformed.
> I would expect similar behaviour from both h:commandButton and h:commandLink.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)