Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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: 15960
    
  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.
 
Consider Paul's rocket mass heater.
 
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