• Post Reply Bookmark Topic Watch Topic
  • New Topic

Display Question Message on JSF

 
net searcher
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am developing Database Web System and I'd like to show a Question Message to user before adding a new record into database.

IF the user clicks YES, the record will be added, otherwise The user clicks NO, the record will not be added.

Please help me ... Thanks.

=netsearcher2000@yahoo.com=
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use onc lick="return confirm('Are Your Sure?')" for h:commandButton

--
Sergey : http://jsfTutorials.net
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
net searcher

Welcome to Javaranch. We don't have too many rules around here but we do have a Naming Policy. Please adjust your display name accordingly. You can do so by clicking here

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!