Johan Compagner wrote:
ahh ok that seems a bug can you report this?

It looks like this is the problem:

@Override
public IResourceStream getResourceStream() {
        final ValueMap params = getParameters();

        return new AbstractStringResourceStream() {
                @Override
                protected String getString() {
// this wil work only with resource/id/1 CameraSnapshot current = cameraSnapshotService.findById( params.getLong( "id" ) );
                        return "";
                }
        };
}

@Override
public IResourceStream getResourceStream() {
        return new AbstractStringResourceStream() {
                @Override
                protected String getString() {
// this wil work only with resource?id=1 CameraSnapshot current = cameraSnapshotService.findById( getParameters().getLong( "id" ) );
                        return "";
                }
        };
}

--
Leszek Gawron                         http://www.mobilebox.pl/krs.html
CTO at MobileBox Ltd.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to