myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang <wkl...@ebi.ac.uk>
Subject Ope new tab/window using h:outputLink
Date Wed, 16 Jan 2008 16:14:54 GMT
Hi,

I use an h:outputLink in an tomahawk tree2 to open an link in a new window.
This is working but the page where I clicked the link navigates then to 
the start page
which is another xhtml page...?

 <t:tree2 id="treeGoSlim"
                     var="node"

                 ...... do other stuff ...
        
                      <h:outputLink 
onclick="window.open('#{node.goTermLink}');">
                           <h:outputText value="#{node.description}"/>
                       </h:outputLink>
</tree2>

Does anyone has an idea why this is happening?

Thanks!
Wolfgang

Mime
View raw message