[jboss-user] [JBoss Seam] - Using <s:link> to open new page in a popup window

barfoos do-not-reply at jboss.com
Wed Aug 15 04:58:57 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074323#4074323

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074323



More information about the jboss-user mailing list