This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes know the current status of command button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "know the current status of command button" Watch "know the current status of command button" New topic
Author

know the current status of command button

anwesh maity
Greenhorn

Joined: Oct 31, 2007
Posts: 20
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

Joined: Dec 11, 2004
Posts: 13410

What is <h:command>?
Is this a Struts tag?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

It's a JSF tag. Move this question to the JSF forum.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: know the current status of command button
 
Similar Threads
problem in adding field to database
List not refreshing after submit
Problem with YUI tabs while populating pdf's
Target component for id pan not found
focus() not working in firefox