You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ben Sion <Be...@solnet.co.nz> on 2003/06/06 04:16:10 UTC

new window from menu item

Hi there,

I am using tiles to create a menu list, and this works fine, however I 
have a requirement that some (NOT all) of the links in my menu open in 
a new browser window. Looking at the "item" attribute definition 
of "putList" in the tiles-config.dtd, I cannot see a way to specify 
that the link should open a new window. Have I missed the point of the 
MenuItem bean? Could this be an enhancement? Is there a better/easier 
way to achieve this outcome?

thanx in advance
Ben


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: new window from menu item

Posted by Mark Lowe <ma...@talk21.com>.
i haven't tried but this might work...

link="javascript:popup('/myaction.do')"

link="/myaction.do"

cheers mark


On Friday, Jun 6, 2003, at 03:16 Europe/London, Ben Sion wrote:

> Hi there,
>
> I am using tiles to create a menu list, and this works fine, however I
> have a requirement that some (NOT all) of the links in my menu open in
> a new browser window. Looking at the "item" attribute definition
> of "putList" in the tiles-config.dtd, I cannot see a way to specify
> that the link should open a new window. Have I missed the point of the
> MenuItem bean? Could this be an enhancement? Is there a better/easier
> way to achieve this outcome?
>
> thanx in advance
> Ben
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org