0 Replies Latest reply on Jul 22, 2009 5:21 AM by Dmitri Ilyin

    target _blank doesn't work with a4j:commandLink under seam

    Dmitri Ilyin Newbie

      Hi,

      i have already postet this issue to seam forum i'am not sure if it is a seam or RF issue.

      I can not get work simple thing that works under pure richfaces and don't want to work together with seam. The simple commandLink just works (new browser will be opened and the output goes to it) with simple richfaces web application. As i put seam to the application, only put the jars to lib dir and configure listener a.s.o. nothing special (so all requests go throught seam) the output goes to the "old" browser page, no new page is opened.

      <a4j:commandLink action="#{bean.showReport}" value="download" target="_blank">
       </a4j:commandLink>


      I'm using seam 2.2.0.CR1 and RF 3.3.1.

      h:commandLink works. But i need an ajax link. My primary task is to get it work from richfaces context menu, that expects ajax.

      any ideas?

      thaks a lot for any advises
      regards Dmitri