File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Richfaces programatically modalPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces programatically modalPanel" Watch "Richfaces programatically modalPanel" New topic

Richfaces programatically modalPanel

camilo casadiego

Joined: Oct 05, 2008
Posts: 3
Hi, i'm trying to achieve the next in richfaces, but i'm really stucked:

I have a richfaces page, wich needs some info to be preloaded into the system, the data is supossed to be loaded by the user.

in the case that the data exists, the page should render as supossed, in the case there's no data i need a modal window with a small form (just one field) to popup and ask the user about the data.

Any ideas?? Just for infomration, the preceding page is the login page, so the modalPanel cannot be linked to a button or anithing like that, it jus have to fireup into the bean constructor.

Thanks in advance!
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Similar functionality can be seen in the calender section of RIchFaces live Demo site.

My Blog SCJP 5 SCWCD 5
I agree. Here's the link:
subject: Richfaces programatically modalPanel
It's not a secret anymore!