Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Update label  RSS feed

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 ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!