Tristate boolean

2014-11-17 Thread Lucio Crusca
Hello, I have a sql field that is a BOOLEAN, which allows for NULL also. So it can be TRUE, FALSE, or NULL. I need a component to let the user set that field to one of the three states. I'm thinking about using two checkboxes, one for TRUE, the other for FALSE and when neither is checked it

Re: Tristate boolean

2014-11-17 Thread Martin Grigorov
https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-extensions/src/main/java/de/agilecoders/wicket/extensions/markup/html/bootstrap/form/checkboxx/CheckBoxX.java Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Nov 17, 2014 at 2:12 PM, Lucio

How can I build a POST request to an external url?

2014-11-17 Thread cosmindumy
Hello, Although I saw a similar topic was opened, I think that answered does not fit my needs. I have wicket form and the request should be handled by an external url. Is it possible to build a request using form parameter values and redirect it it to the external url? Thanks. -- View this

Re: How can I build a POST request to an external url?

2014-11-17 Thread Martin Grigorov
Hi, The question is not very clear. Why don't you just use form action=http://some/external/url; ? There is no need of a Form component in the Java class. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Nov 17, 2014 at 3:14 PM, cosmindumy

Re: Tristate boolean

2014-11-17 Thread Lucio Crusca
In data lunedì 17 novembre 2014 14:22:11, Martin Grigorov ha scritto: https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-extensi ons/src/main/java/de/agilecoders/wicket/extensions/markup/html/bootstrap/for m/checkboxx/CheckBoxX.java Thanks, I've tried it but I've not managed

Re: How can I build a POST request to an external url?

2014-11-17 Thread cosmindumy
I need the inputs to be wicket components to handle them. On the form buitton onSubmit I need to forward form processing to an external url after some input processing. Therefore the form should be also a wicket form. I'll consider also that aproach, but I'd rather build the post after getting

FileUploadException - 'Stream ended unexpectedly' when proxy is configured

2014-11-17 Thread Rakesh A
Hi, Wicket file upload results HTTP 400 - bad request, when proxy is configured [Eg: OWASP ZAP]. I am able to reproduce this using the live examples URL - www.wicket-library.com/wicket-examples-6.0.x/upload/single http://www.wicket-library.com/wicket-examples-6.0.x/upload/single Can anybody

IPageRendererProvider - HTTP 500 issue

2014-11-17 Thread Wayne W
Hi, We had the requirement that we needed to use RedirectPolicy.NEVER_REDIRECT for a single page in our app . We used this code: setPageRendererProvider(new IPageRendererProvider() { @Override public PageRenderer get(final RenderPageRequestHandler context) { return new

Re: RadioGroup not updating in ajax event

2014-11-17 Thread Entropy
Nobody has ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-not-updating-in-ajax-event-tp4668415p4668438.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: RadioGroup not updating in ajax event

2014-11-17 Thread Sven Meier
Hi, please create a quickstart, then we will able to identify the problem. Sven On 11/17/2014 07:59 PM, Entropy wrote: Nobody has ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioGroup-not-updating-in-ajax-event-tp4668415p4668438.html Sent from the

Re: IPageRendererProvider - HTTP 500 issue

2014-11-17 Thread Sven Meier
Can you reproduce the problem in a quickstart? Sven On 11/17/2014 06:46 PM, Wayne W wrote: Hi, We had the requirement that we needed to use RedirectPolicy.NEVER_REDIRECT for a single page in our app . We used this code: setPageRendererProvider(new IPageRendererProvider() { @Override