WebSphere Portal Server - popup windows / printer friendly pages

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > September 2004 > popup windows / printer friendly pages





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author popup windows / printer friendly pages
loghyr

2004-08-26, 2:44 pm

Can anyone tell me the best way to create portlets that will act like a pop-up window or a printer friendly page?
Justin Rosenberg

2004-09-02, 6:58 pm

Not the easiest solution, but you can do this

<a href="#"
onclick="window.open('<portletAPI:createURI state="Solo"/>',
'newWindow','left=10,top=10,width=800,he
ight=500,location=no,menubar=no,resizabl
e=yes,scrollbars=yes,status=no,toolbar=n
o',
false)">Pop Me</a>

to pop up the current portlet in Solo mode. Then you can have checks in
your JSP. If it's in SOLO mode it will apply Print Styles otherwise
regular style. Then control those styles in a stylesheet.

Justin

loghyr wrote:
> Can anyone tell me the best way to create portlets that will act like a
> pop-up window or a printer friendly page?
>
>
>
> --
> loghyr
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message366156.html
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com