On Sat, Mar 12, 2011 at 2:48 PM, Serban Balamaci <serban.balam...@asf.ro>wrote:

> Yes I was looking at jolira tools, but I get the exception ""unable to find
> component .... "" and looking at the source:
> final Component component = page.get(pageRelativeComponentPath);
> if (component == null) {
>            throw new WicketRuntimeException("unable to find component with
> path "
>                            + pageRelativeComponentPath
>                            + " on stateless page "
>                            + page
>                             + " it could be that the component is inside a
> repeater make your component return false in getStatelessHint()");
>        }
>
> and yes I'm using it inside a ListView, so this means that
> StatelessAjaxFallbackLink cannot be used inside a repeater(and have a
> stateless page)?
>
> Martin I see that you have not replaced StatelessWebRequestCodingStrategy
> in
> your  https://github.com/martin-g/wicket-stateless

I didn't need it so far. The Ajax stateless links and behaviors work just
fine for now.

>
> https://github.com/martin-g/wicket-stateless . So the problem with the
> ajax
> link in the repeater remains?
>
I'm not sure. I'll need more test cases to see when and why it doesn't work.
Please create a quickstart that fails and attach it to GitHub issue.

>
> I'm trying to understand if there is a known case of not using
> StatelessAjaxFallbackLink inside repeaters. Or is it somehow my fault? My
> repeater model does not change beetween renderings so the
> pageRelativeComponentPath should be the same.
>
> -----
> http://balamaci.wordpress.com
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Stateless-Wicket-and-Ajax-tp3348266p3350179.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to