Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Update label

arief hidayat
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic