This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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

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
Michael van Adrichem

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 ) into new window

Thanks & Regards

Have you checked out Aspose?
subject: alert message in JSF
It's not a secret anymore!