struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Relph" <>
Subject s:submit and cssStyle
Date Thu, 27 Mar 2008 18:32:31 GMT

I am trying to add a cssStyle to my <s:submit> button - that includes an
<s:url> :

<s:submit value="%{getText('healthe.admin.edit.template')}"
cssClass="previewToggle" cssStyle="background: #F6F6F6 url(<s:url
value="/images/edit-small.png" />) no-repeat;" action="cancelPreview"
onclick="skipAlert(this);" />

However, it appears that the <s:submit> tag does not like the <s:url> inside
the cssStyle property ... if this is the case, could anyone point me to the
where i would modify the tag to support this?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message