[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1686) s:button image does not copy image URL to output

henrik lindberg (JIRA) jira-events at lists.jboss.org
Tue Jul 31 14:41:50 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1686?page=comments#action_12370604 ] 
            
henrik lindberg commented on JBSEAM-1686:
-----------------------------------------

Don't agree that this is a minor bug. It means you can't use Images with s:button !
The fix above works (we are using this in our code). Should take no more than a couple of minutes to fix.
Regards
- henrik

> s:button image does not copy image URL to output
> ------------------------------------------------
>
>                 Key: JBSEAM-1686
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1686
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.0.BETA1
>         Environment: Seam 2.0.0.GA, JBoss 4.2.1.GA
>            Reporter: henrik lindberg
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 2.0.0.CR1
>
>
> An s:button with attribute image= does not output the image src URL to the result.
> The type is set to "image" but the src URL is lost.
> Think that something like 
>       if (button.getImage() != null)
>       {
>          writer.writeAttribute(HTML.SRC_ATTR, button.getImage(), HTML.SRC_ATTR);
>       }
> is required in Button RendererBase.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list