0 Replies Latest reply on Aug 15, 2007 4:58 AM by barfoos

    Using <s:link> to open new page in a popup window

    barfoos

      Hello,

      currently I'm using something like:

      <h:commandButton type="submit" value="Create New Item"
       onclick="showPopup('createItem.seam');" />
      


      to open a new popup window via javaScript.

      Further I could enhance this by writing:

      <h:commandButton type="submit" value="Create New Item"
      onclick="showPopup('createItem.seam?conversationId=#{conversation.id}')');"/>
      

      Which at least would propagate the current conversation into the popup window. But what I really would like to have is to also correctly handle
      DataModelSelections.

      Normally (without popup window) I would use <s:link> or <s:button> for this kind of links.

      What would be an good way to this with popup windows?

      thanks
      barfoos