• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF Popup from JSP page

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I need some help in implementing the following requirement.
I got one ordinary jsp page with 2 input type boxes and one link using h ref.
While clicking the link a JSF page should be loaded in popup.
That JSF page should have two text boxes and one table.
2 text boxes should be populated from the value taken from the ordinary jsp page and the table should be populated based on the 2 text boxe values by hitting the database.
Already a method would be written in backing bean of the JSF page.
Please suggest valuable ideas.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, as a general rule, I don't like popup windows. For one thing, my browser opens windows in panes, so they don't "pop up". Then again, one reason they don't is because I've got enough windows littering my screen as it is. For pop-up type things I use RichFaces Modal Dialogs, instead.

However, a JSP can open a JSF page. The easiest way to do that is to put the shared data in a session-scope object, have the JSP populate it, and then have the JSF page reference it as a backing bean.
 
deepak prasee
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Tim..But shifting invoking the JSF page in pop up is challenging....
 
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic