This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
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

know the current status of command button

 
anwesh maity
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my jsp code is this

<div>
<h:commandButton id="adduser" value="adduser" action="#{Statement.clicked1}"/>

<h:inputText id="addemployee" rendered="#{Statement.clicked1}"/>
</div>




how can i know the current status of the command button in java whether its pressed or not???
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is <h:command>?
Is this a Struts tag?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a JSF tag. Move this question to the JSF forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic