posted 10 years ago
I don't know much about these xhtml dialogs. I don't know what they are called nor do I know where any documentation is concerning them. Is this part of JSF? Prime Faces? some other strange thing?
I am trying to maintain a very large system and I have figured much of it out in the last few months. But I don't know how these xhtml files really work. I can add buttons, links etc but this is more of a structural change.
There is a button on the screen called SUBMIT. Right now, when the user clicks SUBMIT, it does the submit function. I want to change the functionality so that when the SUBMIT button is pressed, another form pops up over the existing one and the user can then select YES or NO. If he selects YES, I want to send him to the submit function. If he clicks NO, I want to send him somewhere else.
The SUBMIT button executes Java code so if I could write Java code to bring up the "pop-up" I'd be golden. Right now I am using externalcontext.redirect to display the "popup" but it doesn't really popup - it replaces the existing page instead of popping up over it
I know this question got moved to the Swing forum, but I don't know what Swing is and I suspect this system doesn't use it.