Show us your code. On Mon, May 16, 2011 at 3:58 AM, [email protected] <[email protected]>wrote:
> Hi all, > > I'm looking to change the model of a label when a button is clicked. As of > now, I'm using an ajax button and doing target.addComponent(myLabel) inside > that button's onclick method. However, the text on the page doesn't change > when the button is clicked. This label happens to be hidable, and when i > hide it, then reshow it, the label is redisplayed with the new model. I'm > doing something wrong. What is going on here? > > Thanks > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/updating-a-label-s-model-with-ajax-tp3525221p3525221.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
