Details
- 
        Type:
 Bug
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 3.0.RC1, 3.0.RC2
 - 
            Fix Version/s: 3.0
 - 
            Component/s: ACE-Components
 - 
            Labels:None
 - 
            Environment:ICEfaces 3.0
 
- 
                        Assignee Priority:P1
 - 
                        Affects:Compatibility/Configuration
 
Description
- 
                                            Hide
- Case10802Example.zip
 - 19 kB
 - Arran Mccullough
 - 
                                        
- Case 10802Example/build.xml 3 kB
 - Case 10802Example/.../ant-deploy.xml 2 kB
 - Case 10802Example/.../build-impl.xml 58 kB
 - Case 10802Example/.../genfiles.properties 0.5 kB
 - Case 10802Example/.../private.properties 0.5 kB
 - Case 10802Example/nbproject/.../private.xml 0.2 kB
 - Case 10802Example/.../project.properties 3 kB
 - Case 10802Example/nbproject/project.xml 0.9 kB
 - Case 10802Example/src/conf/MANIFEST.MF 0.0 kB
 - Case 10802Example/src/.../TestBean.java 0.6 kB
 - Case 10802Example/web/.../images/print.gif 0.6 kB
 - Case 10802Example/web/css/style.css 0.0 kB
 - Case 10802Example/web/.../context.xml 0.1 kB
 - Case 10802Example/web/WEB-INF/web.xml 2 kB
 - Case 10802Example/.../welcomeICEfaces.xhtml 1 kB
 
 
 - 
                                            
 
- 
                    
                    
- pushButton-style-issue.JPG
 - 123 kB
 
 - 
                    
                    
- screenshot-2.png
 - 252 kB
 
 
Activity
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion
 
This I think was done on purpose. I remember we had some discussion on this long time ago in a meeting.
Style and style class added to root div.
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\pushbutton\PushButtonRenderer.java  
Completed: At revision: 27091  
In order to be consistent with the other ACE components, we should change this so that the style and styleClass attributes are always only rendered to the outside containing DIV (or SPAN) and not the internal component.
This issue may also exist with the other buttons so those should be reviewed and changed as needed.
Done. See screenshot-2.png. NB: This may break the styling in existing apps, depending on how the existing CSS rules are formulated.
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\checkboxbutton\CheckboxButtonRenderer.java  
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\linkbutton\LinkButtonRenderer.java  
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\pushbutton\PushButtonRenderer.java  
Completed: At revision: 27107  
Tested fix for PushButton & LinkButton with code revision 27142, in FF3.6, Chrome15 and IE8.
Attached test case showing issue