Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

How to generate an ANCHOR tag dynamically?

Paul Uszak

2007-08-08

Replies:

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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.