You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kronos (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/03/06 21:07:57 UTC

[jira] [Created] (MYFACES-3490) doesn't render styleClass with JavaScript disabled in web.xml

<h:commandButton> doesn't render styleClass with JavaScript disabled in web.xml
-------------------------------------------------------------------------------

                 Key: MYFACES-3490
                 URL: https://issues.apache.org/jira/browse/MYFACES-3490
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.6
            Reporter: Kronos
            Priority: Critical


In my JSF-Page I got a <h:commandButton> with styleClass set. In web.xml I disabled JavaScript (JavaScript isn't allowed on the hole page).

On then rendered page on Firefox, the CommandButton will not change its style, because the "class"-tag is missing. If I turn on JavaScript in web.xml, everything works fine and also the "class"-tag for the CommandButton is rendered successfully.
What I'm doing wrong or is this a bug in myfaces 2.1.6?

Best wishes and many thank you very much!!
Tobi

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3490) doesn't render styleClass with JavaScript disabled in web.xml

Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3490.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.7
                   2.0.13
         Assignee: Leonardo Uribe

I checked it and it is a bug. There is a bug in the related junit test, so I fixed both. Thanks for report it.
                
> <h:commandButton> doesn't render styleClass with JavaScript disabled in web.xml
> -------------------------------------------------------------------------------
>
>                 Key: MYFACES-3490
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3490
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>            Reporter: Kronos
>            Assignee: Leonardo Uribe
>            Priority: Critical
>             Fix For: 2.0.13, 2.1.7
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> In my JSF-Page I got a <h:commandButton> with styleClass set. In web.xml I disabled JavaScript (JavaScript isn't allowed on the hole page).
> On then rendered page on Firefox, the CommandButton will not change its style, because the "class"-tag is missing. If I turn on JavaScript in web.xml, everything works fine and also the "class"-tag for the CommandButton is rendered successfully.
> What I'm doing wrong or is this a bug in myfaces 2.1.6?
> Best wishes and many thank you very much!!
> Tobi

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira