Re: Have a Heineken on me Wicket team!

2015-10-15 Thread Martijn Dashorst
aerated it's alive!!!

dumdumdumdum taadaa taadaadaa

On Tue, Sep 22, 2015 at 11:15 PM, Paul Bors  wrote:
> Soon we will lunch a small little site for the new James Bond 007 movie and
> as some of you might now, he started drinking Heineken now-a-day :)
>
> http://hknbond-us.heineken.com/
>
> Just wanted to thank the Wicket team for making such simple projects even
> easier !!!
>
> -
> ~ Thank you,
> p...@bors.ws
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Have-a-Heineken-on-me-Wicket-team-tp4672013.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Have a Heineken on me Wicket team!

2015-10-15 Thread Sebastien
Argh, is it open to US citizen only?

On Thu, Oct 15, 2015 at 1:55 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> aerated it's alive!!!
>
> dumdumdumdum taadaa taadaadaa
>
> On Tue, Sep 22, 2015 at 11:15 PM, Paul Bors  wrote:
> > Soon we will lunch a small little site for the new James Bond 007 movie
> and
> > as some of you might now, he started drinking Heineken now-a-day :)
> >
> > http://hknbond-us.heineken.com/
> >
> > Just wanted to thank the Wicket team for making such simple projects even
> > easier !!!
> >
> > -
> > ~ Thank you,
> > p...@bors.ws
> > --
> > View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Have-a-Heineken-on-me-Wicket-team-tp4672013.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Have a Heineken on me Wicket team!

2015-10-15 Thread Tobias Soloschenko

Mhh, I got thirsty while reading this. ;-)

kind regards

Tobias

Am 15.10.15 um 14:02 schrieb Sebastien:

Argh, is it open to US citizen only?

On Thu, Oct 15, 2015 at 1:55 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:


aerated it's alive!!!

dumdumdumdum taadaa taadaadaa

On Tue, Sep 22, 2015 at 11:15 PM, Paul Bors  wrote:

Soon we will lunch a small little site for the new James Bond 007 movie

and

as some of you might now, he started drinking Heineken now-a-day :)

http://hknbond-us.heineken.com/

Just wanted to thank the Wicket team for making such simple projects even
easier !!!

-
~ Thank you,
 p...@bors.ws
--
View this message in context:

http://apache-wicket.1842946.n4.nabble.com/Have-a-Heineken-on-me-Wicket-team-tp4672013.html

Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




--
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



CryptoMapper and mounted resource URLs

2015-10-15 Thread Rakesh A
Hi,

I am trying to generate URLs for mounted resources, and use them later (from
JavaScript). I expected using 'RequestCycle#urlFor()' with CryptoMapper
enabled will result encrypted urls. But I see I am wrong, and implementation
in "CryptoMapper#encryptUrl(Url)" (gets into else block and calls
encryptRequestListenerParameter()) results plain text urls.

Is there any way, to get/generate encrypted URLs for mounted
resources/pages.

Attached quickstart to show the behavior.

example1.zip
  

Regards,
Rakesh.A


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-and-mounted-resource-URLs-tp4672249.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Regarding WicketStuff projects deliverables as OSGI bundles

2015-10-15 Thread Rakesh A
Hi,

All WicketStuff project deliverables are plain JARs, is there any
possibility to have them as OSGI bundles?

I tried using 'maven-bundle-plugin' plugin, on one of the projects, and was
able to build OSGI bundles.

Is it a possibility to have these POM files changed with above plugin
configured.

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regarding-WicketStuff-projects-deliverables-as-OSGI-bundles-tp4672250.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: FeedbackPanel and warnings

2015-10-15 Thread Entropy
We're using 6.12 if that makes a difference, but it sounds like you don't
think it should.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-and-warnings-tp4672235p4672246.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket.Ajax on static pages loading stateful components.

2015-10-15 Thread Marcel Barbosa Pinto
Hi guys,

I am developing a heavy traffic web site entirely in Wicket 7 and I have
some questions about page caching.

The approach I took was to generate the product page HTML from Wicket
statically saving these files to be served direct to the user as a Wicket
Resource.

These pages has a Wicket contact form panel witch are dynamically loaded
using my own ajax that calls the mounted form panel from and manually
updates the HTML the the form panel generated markup.

//pseudo code ^^

//normal wicket form panel
mount("ad/contact")

//static page page
mount("/ad/page{#id}", Resource("/static/produtc-details-{#id}.html"))

This is working, but is not a good solution as I could only manage to get
the entire form html.
Inside the contact form I have a captcha that has an ajax link to refresh
its image.

I would like to have a #formContainer at the static page then using the
Wicket.Ajax be able to refresh the container HTML (ad/contact) and when the
captcha needs the refresh, only the captcha has to be updated, so the user
doesn't loose the form text he could have inserted.

It is possible to load the contact form from the static generated HTML
using the Wicket.Ajax and have the ajax component update working?

If you guys have a better approach to this problem, please let me know.
Thanks

-- 

Marcel Barbosa Pinto
55 11 98255 8288


Re: FeedbackPanel and warnings

2015-10-15 Thread Entropy
Eventually found it.  Somewhere deep in a re-usable panel written by a
co-worker who no longer works here a set visible was being done on the panel
that was looking for error level messages only.  Nobody knew it was there.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/FeedbackPanel-and-warnings-tp4672235p4672247.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket.Ajax on static pages loading stateful components.

2015-10-15 Thread Marcel Barbosa Pinto
Hi Martin,

I am generating the static html in order to save out the database, as this
page has a lot of queries. But I am not sure if that was the right choice.

Maybe a better solution would be have this page rendered by wicket and
stored in Redis, so all the access to this page, would get its contents
from Redis, saving the database.
So this would prevent the same content to be rendered for every request.

I'll take a look at Stateless stuff, by the way.

Thanks for your help.

On Thu, Oct 15, 2015 at 4:30 PM, Martin Grigorov 
wrote:

> Hi,
>
> You can try WicketStuff-Stateless project with its StatelessAjaxLink as
> quick solution.
>
> But your setup is rather strange. As far as I understand you want to keep
> the application stateless and that's why you do all this magic, right?
> I'd use stateless page served by Wicket on every request. No need to store
> it as static html, it will be fast enough.
> For the captcha I'd use some other solution, not Wicket-Extensions.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Oct 15, 2015 at 4:45 PM, Marcel Barbosa Pinto <
> marcel.po...@gmail.com> wrote:
>
> > Hi guys,
> >
> > I am developing a heavy traffic web site entirely in Wicket 7 and I have
> > some questions about page caching.
> >
> > The approach I took was to generate the product page HTML from Wicket
> > statically saving these files to be served direct to the user as a Wicket
> > Resource.
> >
> > These pages has a Wicket contact form panel witch are dynamically loaded
> > using my own ajax that calls the mounted form panel from and manually
> > updates the HTML the the form panel generated markup.
> >
> > //pseudo code ^^
> >
> > //normal wicket form panel
> > mount("ad/contact")
> >
> > //static page page
> > mount("/ad/page{#id}", Resource("/static/produtc-details-{#id}.html"))
> >
> > This is working, but is not a good solution as I could only manage to get
> > the entire form html.
> > Inside the contact form I have a captcha that has an ajax link to refresh
> > its image.
> >
> > I would like to have a #formContainer at the static page then using the
> > Wicket.Ajax be able to refresh the container HTML (ad/contact) and when
> the
> > captcha needs the refresh, only the captcha has to be updated, so the
> user
> > doesn't loose the form text he could have inserted.
> >
> > It is possible to load the contact form from the static generated HTML
> > using the Wicket.Ajax and have the ajax component update working?
> >
> > If you guys have a better approach to this problem, please let me know.
> > Thanks
> >
> > --
> >
> > Marcel Barbosa Pinto
> > 55 11 98255 8288
> >
>



-- 

Marcel Barbosa Pinto
55 11 98255 8288


Re: CryptoMapper and mounted resource URLs

2015-10-15 Thread Rakesh A
Hi,

I did try overriding the #mapHandler() method and have a condition to check
for a specific type of 'IRequestHandler', and call "#encryptEntireUrl()"
method, this does work.

  @Override
  public Url mapHandler(final IRequestHandler requestHandler)
  {
 Url myUrl = super.mapHandler(aRequestHandler);
 if (requestHandler instanceof MyResourceRequestHandler)
 {
return encryptEntireUrl(myUrl);
 }
 return myUrl;
  }

Is it the suggested way ?

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-and-mounted-resource-URLs-tp4672249p4672256.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Regarding WicketStuff projects deliverables as OSGI bundles

2015-10-15 Thread Rakesh A
Hi,

Yes, we might've to add some (import, export package) configuration; by
adding maven-bundle-plugin, I tested only, whether manifest contains OSGI
specific info or not. 

I'll try to come up with a patch.

Regards,
Rakesh.A

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regarding-WicketStuff-projects-deliverables-as-OSGI-bundles-tp4672250p4672255.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CryptoMapper and mounted resource URLs

2015-10-15 Thread Martin Grigorov
Hi,

Yes. I think it is.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Oct 16, 2015 at 6:12 AM, Rakesh A 
wrote:

> Hi,
>
> I did try overriding the #mapHandler() method and have a condition to check
> for a specific type of 'IRequestHandler', and call "#encryptEntireUrl()"
> method, this does work.
>
>   @Override
>   public Url mapHandler(final IRequestHandler requestHandler)
>   {
>  Url myUrl = super.mapHandler(aRequestHandler);
>  if (requestHandler instanceof MyResourceRequestHandler)
>  {
> return encryptEntireUrl(myUrl);
>  }
>  return myUrl;
>   }
>
> Is it the suggested way ?
>
> Regards,
> Rakesh.A
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-and-mounted-resource-URLs-tp4672249p4672256.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Wicket.Ajax on static pages loading stateful components.

2015-10-15 Thread Martin Grigorov
Hi,

You can try WicketStuff-Stateless project with its StatelessAjaxLink as
quick solution.

But your setup is rather strange. As far as I understand you want to keep
the application stateless and that's why you do all this magic, right?
I'd use stateless page served by Wicket on every request. No need to store
it as static html, it will be fast enough.
For the captcha I'd use some other solution, not Wicket-Extensions.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 15, 2015 at 4:45 PM, Marcel Barbosa Pinto <
marcel.po...@gmail.com> wrote:

> Hi guys,
>
> I am developing a heavy traffic web site entirely in Wicket 7 and I have
> some questions about page caching.
>
> The approach I took was to generate the product page HTML from Wicket
> statically saving these files to be served direct to the user as a Wicket
> Resource.
>
> These pages has a Wicket contact form panel witch are dynamically loaded
> using my own ajax that calls the mounted form panel from and manually
> updates the HTML the the form panel generated markup.
>
> //pseudo code ^^
>
> //normal wicket form panel
> mount("ad/contact")
>
> //static page page
> mount("/ad/page{#id}", Resource("/static/produtc-details-{#id}.html"))
>
> This is working, but is not a good solution as I could only manage to get
> the entire form html.
> Inside the contact form I have a captcha that has an ajax link to refresh
> its image.
>
> I would like to have a #formContainer at the static page then using the
> Wicket.Ajax be able to refresh the container HTML (ad/contact) and when the
> captcha needs the refresh, only the captcha has to be updated, so the user
> doesn't loose the form text he could have inserted.
>
> It is possible to load the contact form from the static generated HTML
> using the Wicket.Ajax and have the ajax component update working?
>
> If you guys have a better approach to this problem, please let me know.
> Thanks
>
> --
>
> Marcel Barbosa Pinto
> 55 11 98255 8288
>


Re: Regarding WicketStuff projects deliverables as OSGI bundles

2015-10-15 Thread Martin Grigorov
Hi,

We would gladly accept Pull Requests!
But are you sure that just adding the plugin is enough? I think you also
have to add some Import-Package, Export-Package, ... directives.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 15, 2015 at 5:32 PM, Rakesh A 
wrote:

> Hi,
>
> All WicketStuff project deliverables are plain JARs, is there any
> possibility to have them as OSGI bundles?
>
> I tried using 'maven-bundle-plugin' plugin, on one of the projects, and was
> able to build OSGI bundles.
>
> Is it a possibility to have these POM files changed with above plugin
> configured.
>
> Regards,
> Rakesh.A
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Regarding-WicketStuff-projects-deliverables-as-OSGI-bundles-tp4672250.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: CryptoMapper and mounted resource URLs

2015-10-15 Thread Martin Grigorov
Hi,

By default CryptoMapper encrypts the urls for not mounted pages and
resources, i.e. ones which urls do not start with /wicket/bookmarkable/ or
/wicket/resource/.
The assumption is that you the page is mounted then the developer would
like to use its friendly url.
The methods are protected so you could override the default behavior.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 15, 2015 at 5:22 PM, Rakesh A 
wrote:

> Hi,
>
> I am trying to generate URLs for mounted resources, and use them later
> (from
> JavaScript). I expected using 'RequestCycle#urlFor()' with CryptoMapper
> enabled will result encrypted urls. But I see I am wrong, and
> implementation
> in "CryptoMapper#encryptUrl(Url)" (gets into else block and calls
> encryptRequestListenerParameter()) results plain text urls.
>
> Is there any way, to get/generate encrypted URLs for mounted
> resources/pages.
>
> Attached quickstart to show the behavior.
>
> example1.zip
> 
>
> Regards,
> Rakesh.A
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-and-mounted-resource-URLs-tp4672249.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>