Glad to be of some help :-)

On Wed, Jan 13, 2016 at 12:01 PM, Maxim Solodovnik <[email protected]>
wrote:

> Thanks a lot Ernesto!
> I have changed the name and now everything works as expected!
>
> On Wed, Jan 13, 2016 at 4:48 PM, Maxim Solodovnik <[email protected]>
> wrote:
>
> > Thanks for the hint!
> > Will try
> >
> > On Wed, Jan 13, 2016 at 4:47 PM, Ernesto Reinaldo Barreiro <
> > [email protected]> wrote:
> >
> >>
> >>
> https://github.com/apache/openmeetings/blob/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/util/RecordingResourceReference.java#L52
> >>
> >> Maybe just add a name parameter to Mp4RecordingResourceReference? I'm
> not
> >> 100% sure but this the equal method of resource reference.
> >>
> >> /** * @see java.lang.Object#equals(java.lang.Object) */ @Override public
> >> boolean equals(final Object obj) { if (this == obj) { return true; } if
> >> (obj instanceof Key == false) { return false; } Key that = (Key)obj;
> >> return
> >> Objects.equal(scope, that.scope) && // Objects.equal(name, that.name)
> &&
> >> //
> >> Objects.equal(locale, that.locale) && // Objects.equal(style,
> that.style)
> >> && // Objects.equal(variation, that.variation); }
> >>
> >> On Wed, Jan 13, 2016 at 11:38 AM, Maxim Solodovnik <
> [email protected]>
> >> wrote:
> >>
> >> > sure:
> >> >
> >> >
> >>
> https://github.com/apache/openmeetings/blob/3.1.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/util/Mp4RecordingResourceReference.java
> >> >
> >> > On Wed, Jan 13, 2016 at 4:34 PM, Ernesto Reinaldo Barreiro <
> >> > [email protected]> wrote:
> >> >
> >> > > port -> paste
> >> > >
> >> > > On Wed, Jan 13, 2016 at 11:33 AM, Ernesto Reinaldo Barreiro <
> >> > > [email protected]> wrote:
> >> > >
> >> > > > Can you port the code of Mp4RecordingResourceReference?
> >> > > >
> >> > > > On Wed, Jan 13, 2016 at 11:31 AM, Maxim Solodovnik <
> >> > [email protected]
> >> > > >
> >> > > > wrote:
> >> > > >
> >> > > >> 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
> >> > > >>
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Regards - Ernesto Reinaldo Barreiro
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Regards - Ernesto Reinaldo Barreiro
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > WBR
> >> > Maxim aka solomax
> >> >
> >>
> >>
> >>
> >> --
> >> Regards - Ernesto Reinaldo Barreiro
> >>
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to