Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Modal Dialog Box in JSF

843844Mar 20 2008 — edited Jun 22 2010
How can I create Modal Dialog Box in JSF ???

My Screen is Page(Page1.jsp) and a sub page(Page2.jsp) appears inside the DIV tag of this Page 1.
Now, from Page 2 i need to call this modal window on radio click.

I have a Radio Buton upon clicking of which I want that a window should appear that has certain inputs. and that should be a MODAL window (that is until the user closes it or submits this window, he cant go back to the previous parent window)

I know i can create window.open(http:///MY JSF PAGE) but that is not modal.

window.showModalDialog doesnt work with Mozilla Firefox browser.

For People who know Lightbox functionality* : I tried to develop modal window with Lightbox but creating modal window with Lightbox technique doesnt seem to work inside DIV though it works perfectly fine when the page is run seperately but inside DIV Lightbox doesnt work otherwise i wd have used this as this is much nicer UI wise.

ANY ONE WITH SOME HELP????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2010
Added on Mar 20 2008
5 comments
1,345 views