Use the Tiles tag that can expose the tiles attribute as a page attribute.
Maybe getAsString can do it. But once it is a page attribute, you can do:

<html:link anchor="${myvar}" />

Paul

On 8/8/07, Paul Uszak <[EMAIL PROTECTED]> wrote:
>
> Hi all.
>
> Is there any way to make a dynamic anchor tag in a struts link?  I'm also
> using tiles. The following does not work as the JSP interpreter can't...
>
> <html:link action="showsitehelp.do"   anchor="<tiles:getAsString
> name="helppointer" />" >
>
> I'm trying to have a link to a help page that's context sensitive, so
> where
> ever you are pressing help takes you to the appropriate point on the help
> page.
> Is there any other way of doing this please?
>
> Thanks in advance.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to