[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1099) s:button does not show both image and text

Chris Wash (JIRA) jira-events at lists.jboss.org
Tue Mar 27 00:35:57 EDT 2007

    [ http://jira.jboss.com/jira/browse/JBSEAM-1099?page=comments#action_12357409 ] 
Chris Wash commented on JBSEAM-1099:

I looked a little further into the HTML spec on this and found a couple of interesting things.

First -- we're outputting an input type="image", this may not be the desired behavior for the s:button -- it submits the form by default.  (The seam docs refer to this control *not* submitting the form...)


Second, if we want a value and image to be output together, we need to use a button element, not an input.  Using a button type=button would probably work best here, and could probably work in other "s:button" scenarios.


What scenario/markup are you ultimately shooting for?

> s:button does not show both image and text
> ------------------------------------------
>                 Key: JBSEAM-1099
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1099
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 1.2.0.GA
>            Reporter: Alex Narinsky
> I need to create a button that shows both text and image.  I found that if I use s:button then after image specification the text does not show up.

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