cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmoens <>
Subject Cocoon 2.1.7 create link with target in menu
Date Tue, 16 Jun 2009 12:05:10 GMT


I am using Cocoon 2.1.7 and want to create a menu item that opens up a web
page in a new tab or window.

In the generic.xsp i have this code:

    <xsp:attribute name="href">
      <xsp:expr>mypage + "?view=abc"</xsp:expr>
    <xsp:attribute name="target">_new</xsp:attribute>

but the generated HTML for the menu has just a href element that points to
the page without a target attribute !?

Anyone knows a work-around to create links in menu items that open up the
link in a new tab or window?



View this message in context:
Sent from the Cocoon - Dev mailing list archive at

View raw message