aspose file tools
The moose likes JSF and the fly likes Update label Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Update label" Watch "Update label" New topic
Author

Update label

arief hidayat
Ranch Hand

Joined: Apr 13, 2007
Posts: 33
Hi guys,

I am newbie in jsf. I create button, when I press it I want it to change its label name. But fails.

Here is my code.. ( using netbeans 6.0)

Note: Configurator is request bean.
buttonPress is method name to handled.
button1 is the button variable name.

on buttonPress method, basically I just change the label


I run it on glassfish, and when I click the button.. it shows no change the button label still "submit" instead of "Hahaha".
How to refresh the page so that it display the new name?


Could you tell me what's went wrong?
[ March 03, 2008: Message edited by: arief hidayat ]
 
IntelliJ Java IDE
 
subject: Update label
 
Threads others viewed
invoke js method
How to POST data to a form
How to run a method in JSP
change text of a label everytime when same button is pressed
Please help me
developer file tools