Re: Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
umberOfComments"));* Thank you very much everyone for helping me:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-panel-not-getting-refreshed-completely-tp4650150p4650166.html Sent from the Users forum mailing list a

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Martin Grigorov
numberOfComments));* This is a static model again. Please read the doc. > > But again nothing happens..I think the above statement is right...what do > you suggest? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-panel-not-getting-ref

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Thomas Götz
Could you provide a Quickstart that demonstrates the problem? This will make it much easier for us to help you, thanks! -Tom On 21.06.2012, at 14:54, kshitiz wrote: > Hi, > > I have tried out this: > > *Integer numberOfComments = commentDomainList.size(); > Label numberOfCom

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
ght...what do you suggest? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-panel-not-getting-refreshed-completely-tp4650150p4650162.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Thomas Götz
… e.g. your Label ('numberOfCommentLabel') uses a static model (a String), but should use an IModel in order to be refreshable. -Tom On 21.06.2012, at 13:44, kshitiz wrote: > Hi, > > I have a panel with ajax button (i.e. form) inside it. When I submit the > form, not all of the components

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Martin Grigorov
// not getting refreshed* >                AjaxPagingNavigator ajaxPagingNavigator = new > AjaxPagingNavigator( >                                "commentNavigator", commentDomainListView); >                ajaxPagingNavigator.setVisible(!commentDomainList.isEmpty()); > >        *

Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
mmentDomainList.isEmpty()); * add(commentDomainListView); // getting refreshed add(ajaxPagingNavigator); // not getting refreshed add(numberOfCommentLabel); // not getting refreshed * } /What can be the problem??/ -- View this message in context