aspose file tools*
The moose likes JSF and the fly likes alert message in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "alert message in JSF" Watch "alert message in JSF" New topic
Author

alert message in JSF

ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
Hi team,
I am using JSF 1.1 in my project. I am new to JSF

1) I want to disply alert message (part of server response)

2) I want to open new window with specified url from manage bean

how can I do it. can any one please suggest me.

Thanks in Advance


Regards
Ramesh
Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

Can you be more specific? Under what conditions would this alert be displayed? When would this new page with the specified URL be called?
ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
Hi deLyonesse,
I am calling web service in managebean.
I will get one url in web service response.

so I have to open that url in new window from managebean.

& I have to display some data in alert message from manage bean.

can you please tell me how can i do it


Thanks & Regards
Ramesh
Michael van Adrichem
Greenhorn

Joined: May 20, 2011
Posts: 7
Do you really mean by allert or by dialog?

When i have to logout for example i click a button, but first want a messagedialog showing up.

this is the javascript for the dialog box


And this is where i call it:



ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
Hi Michael,
Thanks for your reply.

I have one query.

from manage bean how can we redirect url (like url http://www.google.co.in/ ) into new window


Thanks & Regards
Ramesh

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: alert message in JSF