Re: [Wicket-user] ListView not working with AJAX

2006-03-02 Thread Eelco Hillenius
Nice Eelco On 3/2/06, Ramnivas Laddad <[EMAIL PROTECTED]> wrote: > Of course, for me, an enforcement aspect does the job :-). > > The following version reflects my current understanding, but over time a > more general purpose selection logic (the pointcut) and more enforcements > can be added.

Re: [Wicket-user] ListView not working with AJAX

2006-03-02 Thread Ramnivas Laddad
Of course, for me, an enforcement aspect does the job :-). The following version reflects my current understanding, but over time a more general purpose selection logic (the pointcut) and more enforcements can be added. package com.aspectivity.wicket.policyEnforcement; import wicket.Compone

Re: [Wicket-user] ListView not working with AJAX

2006-03-02 Thread Igor Vaynberg
this would be a pain to maintain. we cant just lock out /all/ behaviors from being added to listview, some might make sense.-IgorOn 3/2/06, Riyad Kalla <[EMAIL PROTECTED]> wrote:I second this request (about runtime notification of invalid states) On 3/2/06, Ramnivas Laddad <[EMAIL PROTECTED]> wrot

Re: [Wicket-user] ListView not working with AJAX

2006-03-02 Thread Riyad Kalla
I second this request (about runtime notification of invalid states) On 3/2/06, Ramnivas Laddad <[EMAIL PROTECTED]> wrote: > Thanks, Igor. It works now. > > Would it be possible to throw an exception when someone tries to add an > unacceptable Behavior such as AjaxSelfUpdatingTimerBehavior to a

Re: [Wicket-user] ListView not working with AJAX

2006-03-02 Thread Ramnivas Laddad
Thanks, Igor. It works now. Would it be possible to throw an exception when someone tries to add an unacceptable Behavior such as AjaxSelfUpdatingTimerBehavior to a listview (or any other class doesn't produce any markup itself). -Ramnivas Igor Vaynberg wrote: you cannot update a listview it

Re: [Wicket-user] ListView not working with AJAX

2006-03-02 Thread Igor Vaynberg
you cannot update a listview itself directly because it does not produce any markup itself. you need to put it into a webmarkupcontainer and attach the update behavior to that.WebMarkupContainer wmc=new WebMarkupContainer("wmc"); wmcvadd(wmc);wmc.add(new ListView(wmc.add(new AjaxSelfUpdatin

[Wicket-user] ListView not working with AJAX

2006-03-02 Thread Ramnivas Laddad
Hi, I have a ListView with a dynamic model. I am trying to update the view using AjaxSelfUpdatingTimerBehavior. It doesn't seem to be working, however (with snapshot version 20060227-0200). It seems that the AjaxSelfUpdatingTimerBehavior.onTimer() methods gets called only once. The following cod