Re: Page rendering from quartz job

2014-05-20 Thread Kees van Dieren
Is it an option to use an http client library to call your own webapp / wicket page, fetch contents? Also makes it easier to test it in the browser. Best regards / Met vriendelijke groet, Kees van Dieren Squins IT Solutions BV Oranjestraat 30 2983 HS Ridderkerk The Netherlands Mobile: +31 (0)6

Re: Page rendering from quartz job

2014-05-20 Thread Ernesto Reinaldo Barreiro
That's a possibility but it introduces another level on indirection and might slow down generation. On Tue, May 20, 2014 at 8:18 AM, Kees van Dieren i...@squins.com wrote: Is it an option to use an http client library to call your own webapp / wicket page, fetch contents? Also makes it

Re: Page rendering from quartz job

2014-05-20 Thread Martin Grigorov
and also can eat all your http threads and may lead to deadlock because (in the worst case) every normal request to your app will create an inner request to the same web container Martin Grigorov Wicket Training and Consulting On Tue, May 20, 2014 at 9:44 AM, Ernesto Reinaldo Barreiro

Re: Page rendering from quartz job

2014-05-20 Thread Ernesto Reinaldo Barreiro
and if you want to test that panel/page in a browser you just have to mount/visit it as it will be not be different form other pages on your application. On Tue, May 20, 2014 at 8:47 AM, Martin Grigorov mgrigo...@apache.orgwrote: and also can eat all your http threads and may lead to deadlock

Re: wicket resources with nginx as frontend proxy

2014-05-20 Thread Martin Grigorov
Hi, On Mon, May 19, 2014 at 11:03 PM, Marco Springer ma...@glitchbox.nl wrote: Hi all, I'm trying to get something working that should be fairly easy, I think. I have Nginx sitting in-front of Jetty. An incoming URL could be: http://rage.glitchbox.nl/param1 The proxy should proxy this

Re: Conditional input types

2014-05-20 Thread Simon B
Hi David, Your post reminded me of this quote from a (completely unrelated) post on Stack Overflow: Note that it is generally better to describe the goal, rather than the strategy. 'Store changed file in Jar' is a strategy, whereas 'Save preferences between runs' might be the goal

Re: Conditional input types

2014-05-20 Thread Ernesto Reinaldo Barreiro
Hi, On Tue, May 20, 2014 at 9:55 AM, Simon B simon.bott...@gmail.com wrote: Hi David, Your post reminded me of this quote from a (completely unrelated) post on Stack Overflow: Note that it is generally better to describe the goal, rather than the strategy. 'Store changed file in Jar' is

Re: Conditional input types

2014-05-20 Thread Martin Grigorov
On Tue, May 20, 2014 at 11:08 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Tue, May 20, 2014 at 9:55 AM, Simon B simon.bott...@gmail.com wrote: Hi David, Your post reminded me of this quote from a (completely unrelated) post on Stack Overflow: Note that it is

Re: Conditional input types

2014-05-20 Thread Simon B
Ernesto, Martin, Just to clarify a bit. I didn't say that you couldn't do it with wicket. Simply that david.latan's strategy - I couldn't manage to use AttributeModifier in order to assign a CheckBox to the input.

Re: Conditional input types

2014-05-20 Thread david.latan
Yeah you're right, i implemented this solution and it works. For what i undertstood fragments where meant to be use for having a div content depending on the call of the page (div login or div account info for exemple). but yeah they work great for this problem too, has i have less than 5

Re: Page rendering from quartz job

2014-05-20 Thread Sandor Feher
Huh guys, I just see the my topic became hot :). So far so good. Now I get wicket application instance but RequestCycle is null of course. How can I get over that ? Thnx! -- View this message in context:

Re: Page rendering from quartz job

2014-05-20 Thread Martin Grigorov
read my earlier answer with ComponentRenderer.java Martin Grigorov Wicket Training and Consulting On Tue, May 20, 2014 at 4:14 PM, Sandor Feher sfe...@bluesystem.hu wrote: Huh guys, I just see the my topic became hot :). So far so good. Now I get wicket application instance but RequestCycle

Re: Page rendering from quartz job

2014-05-20 Thread Sandor Feher
Sorry Martin! My code mentioned based on your comment: https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/core/util/string/ComponentRenderer.java#L46for pageHtml = ComponentRenderer.renderPage(pageProvider); throws

Re: Page rendering from quartz job

2014-05-20 Thread Martin Grigorov
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/core/util/string/ComponentRenderer.java#L54shows how to create a RequestCycle and

wicket textinput field

2014-05-20 Thread Damilare Olowoniyi
HI, I'm currently using wicket as my part MVC in my controller and at the moment i have an Array of strings within a parameter named operations for example whats inside the parameter: - boo - far - bar - mon assuming the array are random each time, as in its not just the same