Mp4RecordingResourceReference, OggRecordingResourceReference and JpgRecordingResourceReference are subclasses of the same abstract class (not sure if it is important or not)
On Wed, Jan 13, 2016 at 4:27 PM, Maxim Solodovnik <[email protected]> wrote: > Hello All, > > I'm currently using wicket 7.2.0-SNAPSHOT > > have following code in my Application: > > mountResource("/recordings/mp4/${id}", new > Mp4RecordingResourceReference()); > mountResource("/recordings/ogg/${id}", new > OggRecordingResourceReference()); > mountResource("/recordings/jpg/${id}", new > JpgRecordingResourceReference()); //should be in sync with VideoPlayer > > trying to do: > org.apache.wicket.request.cycle.RequestCycle.get().urlFor(new > Mp4RecordingResourceReference(), new PageParameters().add("id", 666)) > > getting > ./recordings/jpg/666 > instead of > ./recordings/mp4/666 > > Is there something wrong with my code? > > will try to reproduce with 7.2.0 release > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
