You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jered Myers <je...@maplewoodsoftware.com> on 2014/07/14 19:37:15 UTC
Lightbox2 Integration
I am having trouble getting the wicketstuff Lightbox2 plugin integration
working. I am using the basic example with image resources at the
bottom of
https://github.com/wicketstuff/core/wiki/Lightbox2-Plugin-Integration.
The thumbnail displays just fine, but when I click on the thumbnail only
the mask for the page shows up and the image is missing. Does anybody
have this plugin working? The examples don't seem to work for me either
(6.15.0). I tried adding "data-lightbox" attribute per the
(http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't
seem to help. Here is my code where res is an instance of a class that
holds the ResourceReferences:
add(new LightboxLink("imageLink", res.getFullImage()) {
private static final long serialVersionUID = 1L;
@Override
protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
tag.put("data-lightbox", getMarkupId());
}
}.add(new Image("imageFile", res.getThumbnail())));
--
Jered Myers
Re: Lightbox2 Integration
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
I guess Wicket 6.17 will be cut next Friday (Aug 8), then voted for few
days and released sometime around Aug 13.
WicketStuff will be released as soon as Wicket is available in Maven
central repo.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Aug 1, 2014 at 7:28 PM, Nigel W <we...@gmail.com> wrote:
> Thx. Any idea when that is likely to be?
>
> Nigel
>
> On Friday, August 1, 2014, Martin Grigorov <mg...@apache.org> wrote:
>
> > They will be released with WicketStuff 6.17.0 soon after Wicket 6.17.0 is
> > released.
> > On Jul 31, 2014 11:39 PM, "Nigel W" <weymont93@gmail.com <javascript:;>>
> > wrote:
> >
> > > These fixes seem to be exactly what I need. How do I get hold of them?
> > >
> > > Thanks,
> > >
> > > Nigel
> > >
> > >
> > > On Fri, Jul 18, 2014 at 11:24 AM, Martin Grigorov <
> mgrigorov@apache.org
> > <javascript:;>>
> > > wrote:
> > >
> > > > Thanks a lot!
> > > >
> > > > Martin Grigorov
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > >
> > > > On Fri, Jul 18, 2014 at 6:23 PM, Jered Myers <
> > > jeredm@maplewoodsoftware.com <javascript:;>
> > > > >
> > > > wrote:
> > > >
> > > > > Done
> > > > >
> > > > >
> > > > > On 07/18/2014 12:44 AM, Martin Grigorov wrote:
> > > > >
> > > > >> Can you send a PR for master branch (Wicket 7) too ?
> > > > >> git cherry-pick fails to do it automatically :-/
> > > > >>
> > > > >> Martin Grigorov
> > > > >> Wicket Training and Consulting
> > > > >> https://twitter.com/mtgrigorov
> > > > >>
> > > > >>
> > > > >> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <
> > > mgrigorov@apache.org <javascript:;>>
> > > > >> wrote:
> > > > >>
> > > > >> Thank you!
> > > > >>>
> > > > >>> Martin Grigorov
> > > > >>> Wicket Training and Consulting
> > > > >>> https://twitter.com/mtgrigorov
> > > > >>>
> > > > >>>
> > > > >>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <
> > > > >>> jeredm@maplewoodsoftware.com <javascript:;>
> > > > >>>
> > > > >>>> wrote:
> > > > >>>> I added the pull request for lightbox2. lightbox2-examples
> didn't
> > > > need
> > > > >>>> to be updated.
> > > > >>>>
> > > > >>>> Jered
> > > > >>>>
> > > > >>>>
> > > > >>>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
> > > > >>>>
> > > > >>>> Hi,
> > > > >>>>>
> > > > >>>>> Do you want to contribute back ?
> > > > >>>>> Please create a Pull Request at with the updates/fixes at
> > > > >>>>> https://github.com/wicketstuff/core
> > > > >>>>> Thanks!
> > > > >>>>>
> > > > >>>>> Martin Grigorov
> > > > >>>>> Wicket Training and Consulting
> > > > >>>>> https://twitter.com/mtgrigorov
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
> > > > >>>>> jeredm@maplewoodsoftware.com <javascript:;>>
> > > > >>>>> wrote:
> > > > >>>>>
> > > > >>>>> The WicketStuff version of the JavaScript file was out of
> date.
> > > > >>>>> After I
> > > > >>>>>
> > > > >>>>>> fixed the JavaScript both the thumbnail and full image
> > displayed.
> > > > The
> > > > >>>>>> close image icon still wasn't showing, so I just rolled my own
> > > > version
> > > > >>>>>> from
> > > > >>>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all
> that
> > > > needs
> > > > >>>>>> to
> > > > >>>>>> be done to fix WicketStuff is to copy down the resource files
> > and
> > > to
> > > > >>>>>> add
> > > > >>>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
> > > > >>>>>>
> > > > >>>>>> Jered
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
> > > > >>>>>>
> > > > >>>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
> > > > >>>>>>
> > > > >>>>>>> integration
> > > > >>>>>>> working. I am using the basic example with image resources
> at
> > > the
> > > > >>>>>>> bottom
> > > > >>>>>>> of https://github.com/wicketstuff/core/wiki/
> > > > >>>>>>> Lightbox2-Plugin-Integration.
> > > > >>>>>>> The thumbnail displays just fine, but when I click on the
> > > thumbnail
> > > > >>>>>>> only
> > > > >>>>>>> the mask for the page shows up and the image is missing.
> Does
> > > > >>>>>>> anybody
> > > > >>>>>>> have
> > > > >>>>>>> this plugin working? The examples don't seem to work for me
> > > either
> > > > >>>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
> > > > >>>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it
> > > > didn't
> > > > >>>>>>> seem
> > > > >>>>>>> to help. Here is my code where res is an instance of a class
> > that
> > > > >>>>>>> holds the
> > > > >>>>>>> ResourceReferences:
> > > > >>>>>>>
> > > > >>>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
> > > > >>>>>>> private static final long serialVersionUID = 1L;
> > > > >>>>>>>
> > > > >>>>>>> @Override
> > > > >>>>>>> protected void onComponentTag(ComponentTag tag)
> > > > >>>>>>> {
> > > > >>>>>>> super.onComponentTag(tag);
> > > > >>>>>>> tag.put("data-lightbox", getMarkupId());
> > > > >>>>>>> }
> > > > >>>>>>> }.add(new Image("imageFile", res.getThumbnail())));
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>
> ------------------------------------------------------------
> > > > >>>>>>> ---------
> > > > >>>>>>>
> > > > >>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > <javascript:;>
> > > > >>>>>> For additional commands, e-mail: users-help@wicket.apache.org
> > <javascript:;>
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>> ------------------------------------------------------------
> > > > >>>> ---------
> > > > >>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > <javascript:;>
> > > > >>>> For additional commands, e-mail: users-help@wicket.apache.org
> > <javascript:;>
> > > > >>>>
> > > > >>>>
> > > > >>>>
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > <javascript:;>
> > > > > For additional commands, e-mail: users-help@wicket.apache.org
> > <javascript:;>
> > > > >
> > > > >
> > > >
> > >
> >
>
Re: Lightbox2 Integration
Posted by Nigel W <we...@gmail.com>.
Thx. Any idea when that is likely to be?
Nigel
On Friday, August 1, 2014, Martin Grigorov <mg...@apache.org> wrote:
> They will be released with WicketStuff 6.17.0 soon after Wicket 6.17.0 is
> released.
> On Jul 31, 2014 11:39 PM, "Nigel W" <weymont93@gmail.com <javascript:;>>
> wrote:
>
> > These fixes seem to be exactly what I need. How do I get hold of them?
> >
> > Thanks,
> >
> > Nigel
> >
> >
> > On Fri, Jul 18, 2014 at 11:24 AM, Martin Grigorov <mgrigorov@apache.org
> <javascript:;>>
> > wrote:
> >
> > > Thanks a lot!
> > >
> > > Martin Grigorov
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > >
> > > On Fri, Jul 18, 2014 at 6:23 PM, Jered Myers <
> > jeredm@maplewoodsoftware.com <javascript:;>
> > > >
> > > wrote:
> > >
> > > > Done
> > > >
> > > >
> > > > On 07/18/2014 12:44 AM, Martin Grigorov wrote:
> > > >
> > > >> Can you send a PR for master branch (Wicket 7) too ?
> > > >> git cherry-pick fails to do it automatically :-/
> > > >>
> > > >> Martin Grigorov
> > > >> Wicket Training and Consulting
> > > >> https://twitter.com/mtgrigorov
> > > >>
> > > >>
> > > >> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <
> > mgrigorov@apache.org <javascript:;>>
> > > >> wrote:
> > > >>
> > > >> Thank you!
> > > >>>
> > > >>> Martin Grigorov
> > > >>> Wicket Training and Consulting
> > > >>> https://twitter.com/mtgrigorov
> > > >>>
> > > >>>
> > > >>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <
> > > >>> jeredm@maplewoodsoftware.com <javascript:;>
> > > >>>
> > > >>>> wrote:
> > > >>>> I added the pull request for lightbox2. lightbox2-examples didn't
> > > need
> > > >>>> to be updated.
> > > >>>>
> > > >>>> Jered
> > > >>>>
> > > >>>>
> > > >>>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
> > > >>>>
> > > >>>> Hi,
> > > >>>>>
> > > >>>>> Do you want to contribute back ?
> > > >>>>> Please create a Pull Request at with the updates/fixes at
> > > >>>>> https://github.com/wicketstuff/core
> > > >>>>> Thanks!
> > > >>>>>
> > > >>>>> Martin Grigorov
> > > >>>>> Wicket Training and Consulting
> > > >>>>> https://twitter.com/mtgrigorov
> > > >>>>>
> > > >>>>>
> > > >>>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
> > > >>>>> jeredm@maplewoodsoftware.com <javascript:;>>
> > > >>>>> wrote:
> > > >>>>>
> > > >>>>> The WicketStuff version of the JavaScript file was out of date.
> > > >>>>> After I
> > > >>>>>
> > > >>>>>> fixed the JavaScript both the thumbnail and full image
> displayed.
> > > The
> > > >>>>>> close image icon still wasn't showing, so I just rolled my own
> > > version
> > > >>>>>> from
> > > >>>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that
> > > needs
> > > >>>>>> to
> > > >>>>>> be done to fix WicketStuff is to copy down the resource files
> and
> > to
> > > >>>>>> add
> > > >>>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
> > > >>>>>>
> > > >>>>>> Jered
> > > >>>>>>
> > > >>>>>>
> > > >>>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
> > > >>>>>>
> > > >>>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
> > > >>>>>>
> > > >>>>>>> integration
> > > >>>>>>> working. I am using the basic example with image resources at
> > the
> > > >>>>>>> bottom
> > > >>>>>>> of https://github.com/wicketstuff/core/wiki/
> > > >>>>>>> Lightbox2-Plugin-Integration.
> > > >>>>>>> The thumbnail displays just fine, but when I click on the
> > thumbnail
> > > >>>>>>> only
> > > >>>>>>> the mask for the page shows up and the image is missing. Does
> > > >>>>>>> anybody
> > > >>>>>>> have
> > > >>>>>>> this plugin working? The examples don't seem to work for me
> > either
> > > >>>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
> > > >>>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it
> > > didn't
> > > >>>>>>> seem
> > > >>>>>>> to help. Here is my code where res is an instance of a class
> that
> > > >>>>>>> holds the
> > > >>>>>>> ResourceReferences:
> > > >>>>>>>
> > > >>>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
> > > >>>>>>> private static final long serialVersionUID = 1L;
> > > >>>>>>>
> > > >>>>>>> @Override
> > > >>>>>>> protected void onComponentTag(ComponentTag tag)
> > > >>>>>>> {
> > > >>>>>>> super.onComponentTag(tag);
> > > >>>>>>> tag.put("data-lightbox", getMarkupId());
> > > >>>>>>> }
> > > >>>>>>> }.add(new Image("imageFile", res.getThumbnail())));
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>> ------------------------------------------------------------
> > > >>>>>>> ---------
> > > >>>>>>>
> > > >>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> <javascript:;>
> > > >>>>>> For additional commands, e-mail: users-help@wicket.apache.org
> <javascript:;>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>> ------------------------------------------------------------
> > > >>>> ---------
> > > >>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> <javascript:;>
> > > >>>> For additional commands, e-mail: users-help@wicket.apache.org
> <javascript:;>
> > > >>>>
> > > >>>>
> > > >>>>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> <javascript:;>
> > > > For additional commands, e-mail: users-help@wicket.apache.org
> <javascript:;>
> > > >
> > > >
> > >
> >
>
Re: Lightbox2 Integration
Posted by Martin Grigorov <mg...@apache.org>.
They will be released with WicketStuff 6.17.0 soon after Wicket 6.17.0 is
released.
On Jul 31, 2014 11:39 PM, "Nigel W" <we...@gmail.com> wrote:
> These fixes seem to be exactly what I need. How do I get hold of them?
>
> Thanks,
>
> Nigel
>
>
> On Fri, Jul 18, 2014 at 11:24 AM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Thanks a lot!
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> >
> > On Fri, Jul 18, 2014 at 6:23 PM, Jered Myers <
> jeredm@maplewoodsoftware.com
> > >
> > wrote:
> >
> > > Done
> > >
> > >
> > > On 07/18/2014 12:44 AM, Martin Grigorov wrote:
> > >
> > >> Can you send a PR for master branch (Wicket 7) too ?
> > >> git cherry-pick fails to do it automatically :-/
> > >>
> > >> Martin Grigorov
> > >> Wicket Training and Consulting
> > >> https://twitter.com/mtgrigorov
> > >>
> > >>
> > >> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <
> mgrigorov@apache.org>
> > >> wrote:
> > >>
> > >> Thank you!
> > >>>
> > >>> Martin Grigorov
> > >>> Wicket Training and Consulting
> > >>> https://twitter.com/mtgrigorov
> > >>>
> > >>>
> > >>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <
> > >>> jeredm@maplewoodsoftware.com
> > >>>
> > >>>> wrote:
> > >>>> I added the pull request for lightbox2. lightbox2-examples didn't
> > need
> > >>>> to be updated.
> > >>>>
> > >>>> Jered
> > >>>>
> > >>>>
> > >>>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
> > >>>>
> > >>>> Hi,
> > >>>>>
> > >>>>> Do you want to contribute back ?
> > >>>>> Please create a Pull Request at with the updates/fixes at
> > >>>>> https://github.com/wicketstuff/core
> > >>>>> Thanks!
> > >>>>>
> > >>>>> Martin Grigorov
> > >>>>> Wicket Training and Consulting
> > >>>>> https://twitter.com/mtgrigorov
> > >>>>>
> > >>>>>
> > >>>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
> > >>>>> jeredm@maplewoodsoftware.com>
> > >>>>> wrote:
> > >>>>>
> > >>>>> The WicketStuff version of the JavaScript file was out of date.
> > >>>>> After I
> > >>>>>
> > >>>>>> fixed the JavaScript both the thumbnail and full image displayed.
> > The
> > >>>>>> close image icon still wasn't showing, so I just rolled my own
> > version
> > >>>>>> from
> > >>>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that
> > needs
> > >>>>>> to
> > >>>>>> be done to fix WicketStuff is to copy down the resource files and
> to
> > >>>>>> add
> > >>>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
> > >>>>>>
> > >>>>>> Jered
> > >>>>>>
> > >>>>>>
> > >>>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
> > >>>>>>
> > >>>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
> > >>>>>>
> > >>>>>>> integration
> > >>>>>>> working. I am using the basic example with image resources at
> the
> > >>>>>>> bottom
> > >>>>>>> of https://github.com/wicketstuff/core/wiki/
> > >>>>>>> Lightbox2-Plugin-Integration.
> > >>>>>>> The thumbnail displays just fine, but when I click on the
> thumbnail
> > >>>>>>> only
> > >>>>>>> the mask for the page shows up and the image is missing. Does
> > >>>>>>> anybody
> > >>>>>>> have
> > >>>>>>> this plugin working? The examples don't seem to work for me
> either
> > >>>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
> > >>>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it
> > didn't
> > >>>>>>> seem
> > >>>>>>> to help. Here is my code where res is an instance of a class that
> > >>>>>>> holds the
> > >>>>>>> ResourceReferences:
> > >>>>>>>
> > >>>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
> > >>>>>>> private static final long serialVersionUID = 1L;
> > >>>>>>>
> > >>>>>>> @Override
> > >>>>>>> protected void onComponentTag(ComponentTag tag)
> > >>>>>>> {
> > >>>>>>> super.onComponentTag(tag);
> > >>>>>>> tag.put("data-lightbox", getMarkupId());
> > >>>>>>> }
> > >>>>>>> }.add(new Image("imageFile", res.getThumbnail())));
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> ------------------------------------------------------------
> > >>>>>>> ---------
> > >>>>>>>
> > >>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > >>>>>> For additional commands, e-mail: users-help@wicket.apache.org
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> ------------------------------------------------------------
> > >>>> ---------
> > >>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > >>>> For additional commands, e-mail: users-help@wicket.apache.org
> > >>>>
> > >>>>
> > >>>>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
>
Re: Lightbox2 Integration
Posted by Nigel W <we...@gmail.com>.
These fixes seem to be exactly what I need. How do I get hold of them?
Thanks,
Nigel
On Fri, Jul 18, 2014 at 11:24 AM, Martin Grigorov <mg...@apache.org>
wrote:
> Thanks a lot!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
> On Fri, Jul 18, 2014 at 6:23 PM, Jered Myers <jeredm@maplewoodsoftware.com
> >
> wrote:
>
> > Done
> >
> >
> > On 07/18/2014 12:44 AM, Martin Grigorov wrote:
> >
> >> Can you send a PR for master branch (Wicket 7) too ?
> >> git cherry-pick fails to do it automatically :-/
> >>
> >> Martin Grigorov
> >> Wicket Training and Consulting
> >> https://twitter.com/mtgrigorov
> >>
> >>
> >> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <mg...@apache.org>
> >> wrote:
> >>
> >> Thank you!
> >>>
> >>> Martin Grigorov
> >>> Wicket Training and Consulting
> >>> https://twitter.com/mtgrigorov
> >>>
> >>>
> >>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <
> >>> jeredm@maplewoodsoftware.com
> >>>
> >>>> wrote:
> >>>> I added the pull request for lightbox2. lightbox2-examples didn't
> need
> >>>> to be updated.
> >>>>
> >>>> Jered
> >>>>
> >>>>
> >>>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
> >>>>
> >>>> Hi,
> >>>>>
> >>>>> Do you want to contribute back ?
> >>>>> Please create a Pull Request at with the updates/fixes at
> >>>>> https://github.com/wicketstuff/core
> >>>>> Thanks!
> >>>>>
> >>>>> Martin Grigorov
> >>>>> Wicket Training and Consulting
> >>>>> https://twitter.com/mtgrigorov
> >>>>>
> >>>>>
> >>>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
> >>>>> jeredm@maplewoodsoftware.com>
> >>>>> wrote:
> >>>>>
> >>>>> The WicketStuff version of the JavaScript file was out of date.
> >>>>> After I
> >>>>>
> >>>>>> fixed the JavaScript both the thumbnail and full image displayed.
> The
> >>>>>> close image icon still wasn't showing, so I just rolled my own
> version
> >>>>>> from
> >>>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that
> needs
> >>>>>> to
> >>>>>> be done to fix WicketStuff is to copy down the resource files and to
> >>>>>> add
> >>>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
> >>>>>>
> >>>>>> Jered
> >>>>>>
> >>>>>>
> >>>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
> >>>>>>
> >>>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
> >>>>>>
> >>>>>>> integration
> >>>>>>> working. I am using the basic example with image resources at the
> >>>>>>> bottom
> >>>>>>> of https://github.com/wicketstuff/core/wiki/
> >>>>>>> Lightbox2-Plugin-Integration.
> >>>>>>> The thumbnail displays just fine, but when I click on the thumbnail
> >>>>>>> only
> >>>>>>> the mask for the page shows up and the image is missing. Does
> >>>>>>> anybody
> >>>>>>> have
> >>>>>>> this plugin working? The examples don't seem to work for me either
> >>>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
> >>>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it
> didn't
> >>>>>>> seem
> >>>>>>> to help. Here is my code where res is an instance of a class that
> >>>>>>> holds the
> >>>>>>> ResourceReferences:
> >>>>>>>
> >>>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
> >>>>>>> private static final long serialVersionUID = 1L;
> >>>>>>>
> >>>>>>> @Override
> >>>>>>> protected void onComponentTag(ComponentTag tag)
> >>>>>>> {
> >>>>>>> super.onComponentTag(tag);
> >>>>>>> tag.put("data-lightbox", getMarkupId());
> >>>>>>> }
> >>>>>>> }.add(new Image("imageFile", res.getThumbnail())));
> >>>>>>>
> >>>>>>>
> >>>>>>> ------------------------------------------------------------
> >>>>>>> ---------
> >>>>>>>
> >>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >>>>>> For additional commands, e-mail: users-help@wicket.apache.org
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> ------------------------------------------------------------
> >>>> ---------
> >>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >>>> For additional commands, e-mail: users-help@wicket.apache.org
> >>>>
> >>>>
> >>>>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
Re: Lightbox2 Integration
Posted by Martin Grigorov <mg...@apache.org>.
Thanks a lot!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jul 18, 2014 at 6:23 PM, Jered Myers <je...@maplewoodsoftware.com>
wrote:
> Done
>
>
> On 07/18/2014 12:44 AM, Martin Grigorov wrote:
>
>> Can you send a PR for master branch (Wicket 7) too ?
>> git cherry-pick fails to do it automatically :-/
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>>
>> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <mg...@apache.org>
>> wrote:
>>
>> Thank you!
>>>
>>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>>
>>>
>>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <
>>> jeredm@maplewoodsoftware.com
>>>
>>>> wrote:
>>>> I added the pull request for lightbox2. lightbox2-examples didn't need
>>>> to be updated.
>>>>
>>>> Jered
>>>>
>>>>
>>>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
>>>>
>>>> Hi,
>>>>>
>>>>> Do you want to contribute back ?
>>>>> Please create a Pull Request at with the updates/fixes at
>>>>> https://github.com/wicketstuff/core
>>>>> Thanks!
>>>>>
>>>>> Martin Grigorov
>>>>> Wicket Training and Consulting
>>>>> https://twitter.com/mtgrigorov
>>>>>
>>>>>
>>>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
>>>>> jeredm@maplewoodsoftware.com>
>>>>> wrote:
>>>>>
>>>>> The WicketStuff version of the JavaScript file was out of date.
>>>>> After I
>>>>>
>>>>>> fixed the JavaScript both the thumbnail and full image displayed. The
>>>>>> close image icon still wasn't showing, so I just rolled my own version
>>>>>> from
>>>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that needs
>>>>>> to
>>>>>> be done to fix WicketStuff is to copy down the resource files and to
>>>>>> add
>>>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
>>>>>>
>>>>>> Jered
>>>>>>
>>>>>>
>>>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
>>>>>>
>>>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
>>>>>>
>>>>>>> integration
>>>>>>> working. I am using the basic example with image resources at the
>>>>>>> bottom
>>>>>>> of https://github.com/wicketstuff/core/wiki/
>>>>>>> Lightbox2-Plugin-Integration.
>>>>>>> The thumbnail displays just fine, but when I click on the thumbnail
>>>>>>> only
>>>>>>> the mask for the page shows up and the image is missing. Does
>>>>>>> anybody
>>>>>>> have
>>>>>>> this plugin working? The examples don't seem to work for me either
>>>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
>>>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't
>>>>>>> seem
>>>>>>> to help. Here is my code where res is an instance of a class that
>>>>>>> holds the
>>>>>>> ResourceReferences:
>>>>>>>
>>>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
>>>>>>> private static final long serialVersionUID = 1L;
>>>>>>>
>>>>>>> @Override
>>>>>>> protected void onComponentTag(ComponentTag tag)
>>>>>>> {
>>>>>>> super.onComponentTag(tag);
>>>>>>> tag.put("data-lightbox", getMarkupId());
>>>>>>> }
>>>>>>> }.add(new Image("imageFile", res.getThumbnail())));
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------
>>>>>>> ---------
>>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------
>>>> ---------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Lightbox2 Integration
Posted by Jered Myers <je...@maplewoodsoftware.com>.
Done
On 07/18/2014 12:44 AM, Martin Grigorov wrote:
> Can you send a PR for master branch (Wicket 7) too ?
> git cherry-pick fails to do it automatically :-/
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <mg...@apache.org>
> wrote:
>
>> Thank you!
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>>
>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <jeredm@maplewoodsoftware.com
>>> wrote:
>>> I added the pull request for lightbox2. lightbox2-examples didn't need
>>> to be updated.
>>>
>>> Jered
>>>
>>>
>>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
>>>
>>>> Hi,
>>>>
>>>> Do you want to contribute back ?
>>>> Please create a Pull Request at with the updates/fixes at
>>>> https://github.com/wicketstuff/core
>>>> Thanks!
>>>>
>>>> Martin Grigorov
>>>> Wicket Training and Consulting
>>>> https://twitter.com/mtgrigorov
>>>>
>>>>
>>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
>>>> jeredm@maplewoodsoftware.com>
>>>> wrote:
>>>>
>>>> The WicketStuff version of the JavaScript file was out of date. After I
>>>>> fixed the JavaScript both the thumbnail and full image displayed. The
>>>>> close image icon still wasn't showing, so I just rolled my own version
>>>>> from
>>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that needs to
>>>>> be done to fix WicketStuff is to copy down the resource files and to add
>>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
>>>>>
>>>>> Jered
>>>>>
>>>>>
>>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
>>>>>
>>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
>>>>>> integration
>>>>>> working. I am using the basic example with image resources at the
>>>>>> bottom
>>>>>> of https://github.com/wicketstuff/core/wiki/
>>>>>> Lightbox2-Plugin-Integration.
>>>>>> The thumbnail displays just fine, but when I click on the thumbnail
>>>>>> only
>>>>>> the mask for the page shows up and the image is missing. Does anybody
>>>>>> have
>>>>>> this plugin working? The examples don't seem to work for me either
>>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
>>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't
>>>>>> seem
>>>>>> to help. Here is my code where res is an instance of a class that
>>>>>> holds the
>>>>>> ResourceReferences:
>>>>>>
>>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
>>>>>> private static final long serialVersionUID = 1L;
>>>>>>
>>>>>> @Override
>>>>>> protected void onComponentTag(ComponentTag tag)
>>>>>> {
>>>>>> super.onComponentTag(tag);
>>>>>> tag.put("data-lightbox", getMarkupId());
>>>>>> }
>>>>>> }.add(new Image("imageFile", res.getThumbnail())));
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Lightbox2 Integration
Posted by Martin Grigorov <mg...@apache.org>.
Can you send a PR for master branch (Wicket 7) too ?
git cherry-pick fails to do it automatically :-/
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov <mg...@apache.org>
wrote:
> Thank you!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <jeredm@maplewoodsoftware.com
> > wrote:
>
>> I added the pull request for lightbox2. lightbox2-examples didn't need
>> to be updated.
>>
>> Jered
>>
>>
>> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
>>
>>> Hi,
>>>
>>> Do you want to contribute back ?
>>> Please create a Pull Request at with the updates/fixes at
>>> https://github.com/wicketstuff/core
>>> Thanks!
>>>
>>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>>
>>>
>>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
>>> jeredm@maplewoodsoftware.com>
>>> wrote:
>>>
>>> The WicketStuff version of the JavaScript file was out of date. After I
>>>> fixed the JavaScript both the thumbnail and full image displayed. The
>>>> close image icon still wasn't showing, so I just rolled my own version
>>>> from
>>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that needs to
>>>> be done to fix WicketStuff is to copy down the resource files and to add
>>>> the data-lightbox attribute to onComponentTag in LightboxLink.
>>>>
>>>> Jered
>>>>
>>>>
>>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
>>>>
>>>> I am having trouble getting the wicketstuff Lightbox2 plugin
>>>>> integration
>>>>> working. I am using the basic example with image resources at the
>>>>> bottom
>>>>> of https://github.com/wicketstuff/core/wiki/
>>>>> Lightbox2-Plugin-Integration.
>>>>> The thumbnail displays just fine, but when I click on the thumbnail
>>>>> only
>>>>> the mask for the page shows up and the image is missing. Does anybody
>>>>> have
>>>>> this plugin working? The examples don't seem to work for me either
>>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
>>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't
>>>>> seem
>>>>> to help. Here is my code where res is an instance of a class that
>>>>> holds the
>>>>> ResourceReferences:
>>>>>
>>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
>>>>> private static final long serialVersionUID = 1L;
>>>>>
>>>>> @Override
>>>>> protected void onComponentTag(ComponentTag tag)
>>>>> {
>>>>> super.onComponentTag(tag);
>>>>> tag.put("data-lightbox", getMarkupId());
>>>>> }
>>>>> }.add(new Image("imageFile", res.getThumbnail())));
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
Re: Lightbox2 Integration
Posted by Martin Grigorov <mg...@apache.org>.
Thank you!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers <je...@maplewoodsoftware.com>
wrote:
> I added the pull request for lightbox2. lightbox2-examples didn't need to
> be updated.
>
> Jered
>
>
> On 07/17/2014 12:27 AM, Martin Grigorov wrote:
>
>> Hi,
>>
>> Do you want to contribute back ?
>> Please create a Pull Request at with the updates/fixes at
>> https://github.com/wicketstuff/core
>> Thanks!
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>>
>> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <
>> jeredm@maplewoodsoftware.com>
>> wrote:
>>
>> The WicketStuff version of the JavaScript file was out of date. After I
>>> fixed the JavaScript both the thumbnail and full image displayed. The
>>> close image icon still wasn't showing, so I just rolled my own version
>>> from
>>> http://lokeshdhakar.com/projects/lightbox2/. I think all that needs to
>>> be done to fix WicketStuff is to copy down the resource files and to add
>>> the data-lightbox attribute to onComponentTag in LightboxLink.
>>>
>>> Jered
>>>
>>>
>>> On 07/14/2014 10:37 AM, Jered Myers wrote:
>>>
>>> I am having trouble getting the wicketstuff Lightbox2 plugin integration
>>>> working. I am using the basic example with image resources at the
>>>> bottom
>>>> of https://github.com/wicketstuff/core/wiki/
>>>> Lightbox2-Plugin-Integration.
>>>> The thumbnail displays just fine, but when I click on the thumbnail only
>>>> the mask for the page shows up and the image is missing. Does anybody
>>>> have
>>>> this plugin working? The examples don't seem to work for me either
>>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
>>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't
>>>> seem
>>>> to help. Here is my code where res is an instance of a class that holds
>>>> the
>>>> ResourceReferences:
>>>>
>>>> add(new LightboxLink("imageLink", res.getFullImage()) {
>>>> private static final long serialVersionUID = 1L;
>>>>
>>>> @Override
>>>> protected void onComponentTag(ComponentTag tag)
>>>> {
>>>> super.onComponentTag(tag);
>>>> tag.put("data-lightbox", getMarkupId());
>>>> }
>>>> }.add(new Image("imageFile", res.getThumbnail())));
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Lightbox2 Integration
Posted by Jered Myers <je...@maplewoodsoftware.com>.
I added the pull request for lightbox2. lightbox2-examples didn't need
to be updated.
Jered
On 07/17/2014 12:27 AM, Martin Grigorov wrote:
> Hi,
>
> Do you want to contribute back ?
> Please create a Pull Request at with the updates/fixes at
> https://github.com/wicketstuff/core
> Thanks!
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
> On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <je...@maplewoodsoftware.com>
> wrote:
>
>> The WicketStuff version of the JavaScript file was out of date. After I
>> fixed the JavaScript both the thumbnail and full image displayed. The
>> close image icon still wasn't showing, so I just rolled my own version from
>> http://lokeshdhakar.com/projects/lightbox2/. I think all that needs to
>> be done to fix WicketStuff is to copy down the resource files and to add
>> the data-lightbox attribute to onComponentTag in LightboxLink.
>>
>> Jered
>>
>>
>> On 07/14/2014 10:37 AM, Jered Myers wrote:
>>
>>> I am having trouble getting the wicketstuff Lightbox2 plugin integration
>>> working. I am using the basic example with image resources at the bottom
>>> of https://github.com/wicketstuff/core/wiki/Lightbox2-Plugin-Integration.
>>> The thumbnail displays just fine, but when I click on the thumbnail only
>>> the mask for the page shows up and the image is missing. Does anybody have
>>> this plugin working? The examples don't seem to work for me either
>>> (6.15.0). I tried adding "data-lightbox" attribute per the (
>>> http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't seem
>>> to help. Here is my code where res is an instance of a class that holds the
>>> ResourceReferences:
>>>
>>> add(new LightboxLink("imageLink", res.getFullImage()) {
>>> private static final long serialVersionUID = 1L;
>>>
>>> @Override
>>> protected void onComponentTag(ComponentTag tag)
>>> {
>>> super.onComponentTag(tag);
>>> tag.put("data-lightbox", getMarkupId());
>>> }
>>> }.add(new Image("imageFile", res.getThumbnail())));
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Lightbox2 Integration
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
Do you want to contribute back ?
Please create a Pull Request at with the updates/fixes at
https://github.com/wicketstuff/core
Thanks!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers <je...@maplewoodsoftware.com>
wrote:
> The WicketStuff version of the JavaScript file was out of date. After I
> fixed the JavaScript both the thumbnail and full image displayed. The
> close image icon still wasn't showing, so I just rolled my own version from
> http://lokeshdhakar.com/projects/lightbox2/. I think all that needs to
> be done to fix WicketStuff is to copy down the resource files and to add
> the data-lightbox attribute to onComponentTag in LightboxLink.
>
> Jered
>
>
> On 07/14/2014 10:37 AM, Jered Myers wrote:
>
>> I am having trouble getting the wicketstuff Lightbox2 plugin integration
>> working. I am using the basic example with image resources at the bottom
>> of https://github.com/wicketstuff/core/wiki/Lightbox2-Plugin-Integration.
>> The thumbnail displays just fine, but when I click on the thumbnail only
>> the mask for the page shows up and the image is missing. Does anybody have
>> this plugin working? The examples don't seem to work for me either
>> (6.15.0). I tried adding "data-lightbox" attribute per the (
>> http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't seem
>> to help. Here is my code where res is an instance of a class that holds the
>> ResourceReferences:
>>
>> add(new LightboxLink("imageLink", res.getFullImage()) {
>> private static final long serialVersionUID = 1L;
>>
>> @Override
>> protected void onComponentTag(ComponentTag tag)
>> {
>> super.onComponentTag(tag);
>> tag.put("data-lightbox", getMarkupId());
>> }
>> }.add(new Image("imageFile", res.getThumbnail())));
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Lightbox2 Integration
Posted by Jered Myers <je...@maplewoodsoftware.com>.
The WicketStuff version of the JavaScript file was out of date. After I
fixed the JavaScript both the thumbnail and full image displayed. The
close image icon still wasn't showing, so I just rolled my own version
from http://lokeshdhakar.com/projects/lightbox2/. I think all that
needs to be done to fix WicketStuff is to copy down the resource files
and to add the data-lightbox attribute to onComponentTag in LightboxLink.
Jered
On 07/14/2014 10:37 AM, Jered Myers wrote:
> I am having trouble getting the wicketstuff Lightbox2 plugin
> integration working. I am using the basic example with image
> resources at the bottom of
> https://github.com/wicketstuff/core/wiki/Lightbox2-Plugin-Integration.
> The thumbnail displays just fine, but when I click on the thumbnail
> only the mask for the page shows up and the image is missing. Does
> anybody have this plugin working? The examples don't seem to work for
> me either (6.15.0). I tried adding "data-lightbox" attribute per the
> (http://lokeshdhakar.com/projects/lightbox2/) website, but it didn't
> seem to help. Here is my code where res is an instance of a class that
> holds the ResourceReferences:
>
> add(new LightboxLink("imageLink", res.getFullImage()) {
> private static final long serialVersionUID = 1L;
>
> @Override
> protected void onComponentTag(ComponentTag tag)
> {
> super.onComponentTag(tag);
> tag.put("data-lightbox", getMarkupId());
> }
> }.add(new Image("imageFile", res.getThumbnail())));
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org