Bruno,

Thanks. Once I have the details right, I'll dive into this.

Cheers,

Gerard

2011/6/16 Bruno Borges <bruno.bor...@gmail.com>

> I forked the project wicket-rest from googlecode to wicketstuff-sandbox.
>
> Gerard, you can now ask for commit access at wicketstuff, or just fork it
> from there and then push a patch.
>
> https://github.com/wicketstuff/sandbox/tree/master/wicket-rest
>
> Thanks again for showing interest in this project.
>
> Cheers
> *Bruno Borges*
> www.brunoborges.com.br
> +55 21 76727099
>
>
>
> On Thu, Jun 16, 2011 at 9:42 AM, Martin Grigorov <mgrigo...@apache.org
> >wrote:
>
> > One more replace:
> >
> >  @Override
> >   protected final void onRender() {
> >       getResponse().write(getXML().toString());
> >   }
> >
> > with
> >  @Override
> >   public void renderPage() {
> >       getResponse().write(getXML().toString());
> >    }
> >
> > On Thu, Jun 16, 2011 at 3:39 PM, gerar <gerardp...@gmail.com> wrote:
> > > Thanks for the very quick answer.
> > >
> > > However, now another error message appears.
> > >
> > > The superclass now looks like this:
> > >
> > > public abstract class AbstractWebServicePage extends WebPage implements
> > > IMarkupResourceStreamProvider {
> > > // Removed hasAssociatedMarkup method and added:
> > > ....
> > >    public IResourceStream getMarkupResourceStream(MarkupContainer
> > > container, Class<?> containerClass) {
> > >        return new StringResourceStream("");
> > >    }
> > >
> > > ....
> > >
> > > This error appears when requesting the page in a browser:
> > >
> > > Root cause:
> > >
> > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> > > at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> > > at java.util.ArrayList.get(ArrayList.java:322)
> > > at java.util.Collections$UnmodifiableList.get(Collections.java:1154)
> > > at org.apache.wicket.markup.Markup.get(Markup.java:109)
> > > at org.apache.wicket.Component.internalRender(Component.java:2371)
> > > at org.apache.wicket.Component.render(Component.java:2322)
> > > at org.apache.wicket.Page.renderPage(Page.java:1120)
> > >     at
> > >
> >
> org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
> > >     at
> > >
> >
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:218)
> > >     at
> > >
> >
> org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:139)
> > >     at
> > >
> >
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:718)
> > >     at
> > >
> >
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)
> > >     at
> > >
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
> > >     at
> > >
> >
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)
> > >     at
> > >
> >
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:138)
> > >     at
> > >
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
> > >     at
> > >
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
> > > .....
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/wicket-rest-and-Wicket-1-5-RC4-2-MarkupNotFoundException-Can-not-determine-Markup-tp3600779p3602317.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
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>

Reply via email to