cocoon-dev mailing list archives

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

Hi,

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:

<block>
  <item>
    <xsp:attribute name="href">
      <xsp:expr>mypage + "?view=abc"</xsp:expr>
    </xsp:attribute>
    <i18n:text>ABC</i18n:text>
    <xsp:attribute name="target">_new</xsp:attribute>
  </item>
</block>


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?

Thanks

Kris


-- 
View this message in context: http://www.nabble.com/Cocoon-2.1.7-create-link-with-target-in-menu-tp24052933p24052933.html
Sent from the Cocoon - Dev mailing list archive at Nabble.com.


Mime
View raw message