[richfaces-issues] [JBoss JIRA] Created: (RF-11229) a4j:commandButton attribute image doesn't work

Ján Jamrich (JIRA) jira-events at lists.jboss.org
Tue Aug 9 10:20:25 EDT 2011


a4j:commandButton attribute image doesn't work
----------------------------------------------

                 Key: RF-11229
                 URL: https://issues.jboss.org/browse/RF-11229
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: RichFaces 4.1.0.20110805-M1 r.10246d45dddd1d2aa2034317d5a832394cc919f9
Metamer 4.1.0.20110805-M1 r.22604
Apache MyFaces JSF-2.1 Core Impl 2.1.1
JBoss AS 6.0.0.Final
Java(TM) SE Runtime Environment 1.6.0_26-b03 @Linux
Chrome 12.0.742.112 @ Linux i686
            Reporter: Ján Jamrich
             Fix For: 4.1.0.Milestone1


Tried set relative path to existing image (../../../resources/images/female.png), which is correct when combine with current page path (http://localhost:8080/metamer/faces/components/a4jCommandButton/simple.xhtml/../../../resources/images/female.png -> resolved as http://localhost:8080/metamer/faces/resources/images/female.png and retrieve expected image).

Then set type attribute to "image".

Then button changed to empty rectangle, without text or background. When set "background-color: yellow;" into "style" attribute - whole rectangle get yellow background. When click, its work correctly as submit button.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list