Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread Andrea Del Bene

mmm...I didn't find any wiki about it.

I sorta figured it had something todo with the fact that
onbeforerender was called at a later time than onConfigure.

Is there a good description of the timeline of these methods somewhere?

2011/7/4 Andrea Del Bene:

Hi nino,

AbstractRepeater class (superclass of ListView) calls onPopulate during
onBeforeRender, so as long as this event is not triggered listviews should
be empty.

changing it from onconfigure to onbeforerender does the trick.. Im not
sure what the difference are though..

2011/7/4 nino martinez wael:

Hi

I've had an interesting experience,  I have a visitor that searches
for certain panels on a page. The page contains a few listviews and 2
forms as children these 2 contain the panels that the listviews also
contain. In the onConfig of the webpage I call the visitor.

So the strange thing is that the visitor in the initial render of the
page only finds the 2 form panels, and not the ones in the listviews,
in the subsequent renders via ajax or page refresh it does find them.

What could be the cause?

regards nino





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread nino martinez wael
I sorta figured it had something todo with the fact that
onbeforerender was called at a later time than onConfigure.

Is there a good description of the timeline of these methods somewhere?

2011/7/4 Andrea Del Bene :
> Hi nino,
>
> AbstractRepeater class (superclass of ListView) calls onPopulate during
> onBeforeRender, so as long as this event is not triggered listviews should
> be empty.
>>
>> changing it from onconfigure to onbeforerender does the trick.. Im not
>> sure what the difference are though..
>>
>> 2011/7/4 nino martinez wael:
>>>
>>> Hi
>>>
>>> I've had an interesting experience,  I have a visitor that searches
>>> for certain panels on a page. The page contains a few listviews and 2
>>> forms as children these 2 contain the panels that the listviews also
>>> contain. In the onConfig of the webpage I call the visitor.
>>>
>>> So the strange thing is that the visitor in the initial render of the
>>> page only finds the 2 form panels, and not the ones in the listviews,
>>> in the subsequent renders via ajax or page refresh it does find them.
>>>
>>> What could be the cause?
>>>
>>> regards nino
>>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread Andrea Del Bene

Hi nino,

AbstractRepeater class (superclass of ListView) calls onPopulate during 
onBeforeRender, so as long as this event is not triggered listviews 
should be empty.

changing it from onconfigure to onbeforerender does the trick.. Im not
sure what the difference are though..

2011/7/4 nino martinez wael:

Hi

I've had an interesting experience,  I have a visitor that searches
for certain panels on a page. The page contains a few listviews and 2
forms as children these 2 contain the panels that the listviews also
contain. In the onConfig of the webpage I call the visitor.

So the strange thing is that the visitor in the initial render of the
page only finds the 2 form panels, and not the ones in the listviews,
in the subsequent renders via ajax or page refresh it does find them.

What could be the cause?

regards nino


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread nino martinez wael
changing it from onconfigure to onbeforerender does the trick.. Im not
sure what the difference are though..

2011/7/4 nino martinez wael :
> Hi
>
> I've had an interesting experience,  I have a visitor that searches
> for certain panels on a page. The page contains a few listviews and 2
> forms as children these 2 contain the panels that the listviews also
> contain. In the onConfig of the webpage I call the visitor.
>
> So the strange thing is that the visitor in the initial render of the
> page only finds the 2 form panels, and not the ones in the listviews,
> in the subsequent renders via ajax or page refresh it does find them.
>
> What could be the cause?
>
> regards nino
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



1.5 rc5.2 IVisitor on page?

2011-07-04 Thread nino martinez wael
Hi

I've had an interesting experience,  I have a visitor that searches
for certain panels on a page. The page contains a few listviews and 2
forms as children these 2 contain the panels that the listviews also
contain. In the onConfig of the webpage I call the visitor.

So the strange thing is that the visitor in the initial render of the
page only finds the 2 form panels, and not the ones in the listviews,
in the subsequent renders via ajax or page refresh it does find them.

What could be the cause?

regards nino

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org