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
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
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
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.
--
… 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
// not getting refreshed*
> AjaxPagingNavigator ajaxPagingNavigator = new
> AjaxPagingNavigator(
> "commentNavigator", commentDomainListView);
> ajaxPagingNavigator.setVisible(!commentDomainList.isEmpty());
>
> *
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