File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

total newby question creating a pop up dialog box in JSF

 
Tony Evans
Ranch Hand
Posts: 597
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a pop up dialog box. This box will be created when an exception occurs, so its not press a button on a page and a box will popup, but the boxwill pop us when the JSF ExceptionHandlerWrapper captures an exception.

At the moment i am using


I guess i need to create a popup frame containing a dailog box that can be added to the FacesContext.


Any links to some examples would be greatly appreciated.

Thanks Tony
 
K. Tsang
Bartender
Pie
Posts: 3228
12
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you do "context.addMessage()" and assuming you hava a "<h:messages>" tag somewhere in your page, those messages will go in that section.

However, when you mentioned dialog or popup, are you referring to javascript alert type or JSF type (eg p:dialog in primeface)?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic