that does work, thanks for the idea

On Thu, Mar 27, 2008 at 2:04 PM, Michael Gagnon <
[EMAIL PROTECTED]> wrote:

> Would:
>
>
> <s:url id="editSmall" value="/images/edit-small.png" />
>
> <s:submit value="%{getText('healthe.admin.edit.template')}"
> cssClass="previewToggle" cssStyle="background: #F6F6F6 url(%{editSmall})
> no-repeat;" action="cancelPreview"
> onclick="skipAlert(this);" />
>
>
> not work?
>
> -----Original Message-----
> From: Brian Relph [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2008 2:33 PM
> To: Struts Users Mailing List
> Subject: s:submit and cssStyle
>
> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brian

Reply via email to