[jboss-user] [JBoss Seam] - SEAM and JavaScript

k0201389 do-not-reply at jboss.com
Wed Jul 19 10:03:18 EDT 2006


Hi everyone!

I'm having a problem with JavaScript generated popup window. I wonder if anyone here could help me...

With the code like this I can send the parameters to the same window:

<s:link view="/picture_show.xhtml" action="#{pictureSelect.oldPicture}">
     <f:param name="id" value="#{picture.id}"/>
     
</s:link>

But when I'm trying to do the same to the popup window it doesn't send anything:

<s:link action="#{pictureSelect.oldPicture}">
     <f:param name="id" value="#{picture.id}"/>
     <img src="/kuvapankki/data/#{picture.cameraman}/#{picture.name}" height="150" onclick="window.open('picture_show.seam','exp','width=677,height=500,scrollbars=yes');"/>
</s:link>

Where I'm going wrong here? I really appreciate if someone has time to watch my code!

Thanks in advance!
-Hanna Blåfield-

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

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




More information about the jboss-user mailing list