struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-1677) <s:submit type="button" does not render the enclosed content inside properly
Date Fri, 13 Jun 2008 01:02:06 GMT

     [ https://issues.apache.org/struts/browse/WW-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Don Brown updated WW-1677:
--------------------------

    Fix Version/s:     (was: 2.1.x)
                   2.1.3

> <s:submit type="button" does not render the enclosed content inside properly
> ----------------------------------------------------------------------------
>
>                 Key: WW-1677
>                 URL: https://issues.apache.org/struts/browse/WW-1677
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>         Environment: Windows XP SP2, JSDK 6.0, Tomcat 5.5, Spring 2.0
>            Reporter: Peng Wang
>             Fix For: 2.1.3
>
>         Attachments: button.patch, buttons.jpg, index.jsp, submit-button.patch
>
>
> Please take a look at the following code, the <s:submit tag did not render the tags
properly. 
> <code>
> <s:submit type="button" theme="simple">
>       <s:text name="testplan.form.submit.label" />&nbsp;<img align="top"
src="<s:url value="/images/save_16.png" />"/>
> </s:submit>
> </code
> I expected the output would be 
> <code>
> <button type="submit">Submit&nbsp;<img align="top" src="images/save_16.png"/></button>
> </code>
> but the actual out put is
> <code>
> Submit&nbsp;<img align="top" src="/autobase/images/save_16.png?testPlan.id=1"/><button
type="submit" id="testPlanForm_save" name="save" value="Submit">Submit</button>
> </code>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message