From the error message it seems there is no PersonXmlRestService.html around.
Please describe how wicket-rest actually works.
On Thu, Jun 16, 2011 at 1:55 AM, gerar gerardp...@gmail.com wrote:
Hi,
I've tried to port http://wicket-rest.googlecode.com/svn to Wicket
1.5-RC4.2.
That took some
Details:
The PersonXmlRestService.html is an example that comes with the wicket-rest
library. It is a subclass of XmlWebServicePage which in turn is based on
AbstractWebServicePage. Class AbstractWebServicePage has a method:
@Override
public final boolean hasAssociatedMarkup() {
On Thu, Jun 16, 2011 at 3:16 PM, gerar gerardp...@gmail.com wrote:
Details:
The PersonXmlRestService.html is an example that comes with the wicket-rest
library. It is a subclass of XmlWebServicePage which in turn is based on
AbstractWebServicePage. Class AbstractWebServicePage has a method:
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
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:
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.
Hello,
Once the wicket-rest project works it would be better placed into the
wicketstuff/core repository as no snapshots or releases are done using
sandbox code.
But they come for free if you contribute into the wicketstuff/core
repository.
Mike
I forked the project wicket-rest from
Hi,
Maybe the cause of the problem is to be found elsewhere. I created a simple
test page. Code is below.
It produces the HTML itself without an HTML file, just like the pages that
use wicket-rest baseclasses.
1)
The code below runs just fine, but neither onInitialize nor onBeforeRender
are ever
I forgot to say that implementing
@Override
public void renderPage() {
getResponse().write(getXML().toString());
}
and
public IResourceStream getMarkupResourceStream(MarkupContainer
container, Class? containerClass) {
return new StringResourceStream();
}
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
10 matches
Mail list logo