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

On Thu, Mar 27, 2008 at 8:32 PM, Brian Relph <[EMAIL PROTECTED]> wrote:

> Hello,
>
> 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?
>
> --
> Brian
>

Reply via email to