You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lucas Bern <lu...@yahoo.com.ar> on 2005/06/01 23:36:44 UTC
target attribute from server in html:link tag please Help!
Hi guys! i have a problem
I need to configurate de "target" attribute of my form, but i have to do it from mi action....
Any idea?
Thanks
Lucas
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Re: target attribute from server in html:link tag please Help!
Posted by John Fitzpatrick <jo...@vitarara.net>.
On 20050601 5:36 PM, "Lucas Bern" <lu...@yahoo.com.ar> wrote:
>
> Hi guys! i have a problem
>
> I need to configurate de "target" attribute of my form, but i have to do it
> from mi action....
>
> Any idea?
In the .jsp:
If you need to specify it from the action, you'll need to use the html-el
taglib to do this:
In the action:
request.setAttribute ( "target", "_foo" );
In the .jsp:
<html:link action="Bar" target="${target}">Bar</html:link>
Hope that helps,
John
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org