Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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: 18156
53
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