Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alert message in JSF

 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic