any idea where this error comes from?

2011-12-20 Thread cosmindumy
Hi, I've got an error on production server and I cannot reproduce on my development machine. The error says : woUploadFilesContainer:calculateButton (path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible org.apache.wicket.WicketRuntimeException: Submit Button stepTwoUploadFiles

Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Hi, I'm trying to do something like an internal proxy in my web-app to check permisions to connect from my portal to a mapserver server. So, I'm trying to get de request from an OpenLayers and redirect the connection throw my internal proxy (after check the roles) . I've done this before in

Re: Add items and then submit a form

2011-12-20 Thread Andrea Del Bene
This should not be a big deal. Wicket lets you put form submitting button outside form itself. All you have to do to make it work is to pass the form to component's constructor. HTML code: Java code: add(form1 = new Form("form1"){ @Override protected void onSub

Re: any idea where this error comes from?

2011-12-20 Thread Andrea Del Bene
On 20/12/11 09:38, cosmindumy wrote: Hi, I've got an error on production server and I cannot reproduce on my development machine. The error says : woUploadFilesContainer:calculateButton (path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible org.apache.wicket.WicketRuntimeExce

Re: any idea where this error comes from?

2011-12-20 Thread cosmindumy
Yes, definitely. But this is not the cause, as this error doesn't occur each time I hide/show this container. Actually I couldn't reproduce on my dev machine. I don't know when this error occurs in order to find the cause. -- View this message in context: http://apache-wicket.1842946.n4.nabble.

Re: freezing applications

2011-12-20 Thread danisevsky
You are right! Thank you very much! 2011/12/19 Tito : > Do you have a security filter? > I think may be you have the session expired and ajax requests don't get > wicket filter. > > > On Mon, Dec 19, 2011 at 3:33 PM, danisevsky wrote: > >> Hello, our application is one page and everything is don

Re: Add items and then submit a form

2011-12-20 Thread Tito
Great!! It works ok! Thank you very much. On Tue, Dec 20, 2011 at 6:21 AM, Andrea Del Bene wrote: > This should not be a big deal. Wicket lets you put form submitting button > outside form itself. All you have to do to make it work is to pass the form > to component's constructor. > > > HTML cod

Problem with embedded jetty using AWT

2011-12-20 Thread Reiche, Andreas
Hi, has anyone already recognized this behaviour. I have a Wicket (1.4.18) project build from the Wicket archetype. I'm developing in Eclipse on a Win XP machine. Up to now everything worked fine, but now i have the following problem: I need to inherit a dynamic Image in a wicket page. I use the A

Re: StringValue.toOptionalLong incorrect behavior

2011-12-20 Thread Илья Нарыжный
Hello, Up this topic. Are you planning to fix this functionality with toOptionalString? Thanks, Ilis 2011/11/16 vineet semwal > yeah not needed for toOptionalString() but why not for > toOptionalBoolean()? > > On Wed, Nov 16, 2011 at 3:39 PM, Martin Grigorov > wrote: > > Hi, > > > > On Wed,

Re: StringValue.toOptionalLong incorrect behavior

2011-12-20 Thread Martin Grigorov
Ticket please! 2011/12/20 Илья Нарыжный : > Hello, > > Up this topic. Are you planning to fix this functionality with > toOptionalString? > > Thanks, > > Ilis > > 2011/11/16 vineet semwal > >>  yeah not needed for toOptionalString() but why not for >> toOptionalBoolean()? >> >> On Wed, Nov 16, 20

Re: Problem with embedded jetty using AWT

2011-12-20 Thread Martijn Dashorst
did you define -Djava.awt.headless=true as a jvm parameter? Martijn On Tue, Dec 20, 2011 at 12:52 PM, Reiche, Andreas wrote: > Hi, > has anyone already recognized this behaviour. > I have a Wicket (1.4.18) project build from the Wicket archetype. I'm > developing in Eclipse on a Win XP machine.

AW: Problem with embedded jetty using AWT

2011-12-20 Thread Reiche, Andreas
Yep, this was the first i tried, but didn't help. Andreas -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Gesendet: Dienstag, 20. Dezember 2011 13:35 An: users@wicket.apache.org Betreff: Re: Problem with embedded jetty using AWT did you define -Djav

Re: AW: Problem with embedded jetty using AWT

2011-12-20 Thread Chantal Ackermann
Just wondering - could SWT (Eclipse) cause that problem? Maybe it is interfering with the AWT classpath. On Tue, 2011-12-20 at 13:44 +0100, Reiche, Andreas wrote: > Yep, this was the first i tried, but didn't help. > > Andreas > > > -Ursprüngliche Nachricht- > Von: Martijn Dashorst

Re: StringValue.toOptionalLong incorrect behavior

2011-12-20 Thread Илья Нарыжный
OK:) Please find it here: https://issues.apache.org/jira/browse/WICKET-4309 Thank you! Regards, Ilia 2011/12/20 Martin Grigorov > Ticket please! > > 2011/12/20 Илья Нарыжный : > > Hello, > > > > Up this topic. Are you planning to fix this functionality with > > toOptionalString? > > > > Thanks,

AW: AW: Problem with embedded jetty using AWT

2011-12-20 Thread Reiche, Andreas
Not sure how i can check this? But i don't think so because i have a little test class which generates the picture through AWT. When i ran this class as a java application from inside Eclipse, then the image is created fine. Just when it runs in the context of the jetty server it fails. By the wa

AW: AW: Problem with embedded jetty using AWT

2011-12-20 Thread Reiche, Andreas
OK, I'm a bit further now. Just tried it with a windows Admin User and TaT. Seems that our security policies deny something for a normal user which is needed when running embedded jetty. I have to contact our sys admins. Thanks so far, Andreas -Ursprüngliche Nachricht- Von: Reiche,

Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread dennisB
Hi all We are performing upgrade to wicket 1.5.3 and wiquery 1.5.3 and we got some problem with the Response, the problem is that all my Responses is wrapped now with WiQueryDecoratingHeaderResponse class and the Ajax events doesn't work properly Thanks . -- View this message in context: http:

RE: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread Hielke Hoeve
Hi Dennis, Unfortunately this is the (only) way how WiQuery can work. If you provide some code we can help you fix this, otherwise we'll have to try and read minds which is bound to fail :) Hielke -Original Message- From: dennisB [mailto:dennisbo...@gmail.com] Sent: dinsdag 20 decembe

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
why doesnt that work in wicket? -igor On Tue, Dec 20, 2011 at 12:46 AM, Pablo Díaz wrote: > Hi, > > I'm trying to do something like an internal proxy in my web-app to check > permisions to connect from my portal to a mapserver server. > > So, I'm trying to get de request from an OpenLayers and r

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Because when I try to write to response I get's this error: ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called. at org.apache.wicket.protocol.http.BufferedWebResponse.write(Buffer

RE: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread dennisB
hi Hielke thanks for the fast reply. I create a simple example to demonstrate my problem: this is the scenario: In my application i have wicket 1.5.3 and i am using AjaxLazyLoadPanel - add(new AjaxLazyLoadPanel("testPanel") { @Override public Component getLazyLoadCompo

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
in the future, start with the error :) you have to tell wicket that it should not render the page after you have written the data out... output.write(data); getrequestcycle().replaceallrequesthandlers(new EmptyRequestHandler()); -igor On Tue, Dec 20, 2011 at 8:54 AM, Pablo Díaz wrote: > Bec

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Ok, thank you, I'm not getting the error if I use your code, but I'm not able to gets the response (I always get a blank image, when I must get a map). I mean, I only like getting the request done from someone and check if he has enough privileges to do some operation Then, I change some para

Re: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread Chris Hawkins
This sounds very similar to a problem that I had with WiQuery. I found that if a page did not have any WiQuery components or behaviors on it I got errors with the Wicket ajax javascript due to the WiQueryDecoratingResponseHeader. My solution was to force WiQuery to load jQuery by adding an emp

Re: any idea where this error comes from?

2011-12-20 Thread Gabriel Landon
I usually have this kind of error when the user use the browser's back button and then reused the form. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/any-idea-where-this-error-comes-from-tp4217040p4218803.html Sent from the Users forum mailing list archive at Nabble.

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
try writing directly into httpservletresponse instead of wicket's response. there is a bug fix for this in the upcoming release -igor On Tue, Dec 20, 2011 at 10:03 AM, Pablo Díaz wrote: > Ok, thank you, I'm not getting the error if I use your code, but I'm not > able to gets the response (I

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Ok, but How I can get the httpservletresponse object to write in it? I'm extending the WebPage class ... El 20/12/11 19:26, Igor Vaynberg escribió: try writing directly into httpservletresponse instead of wicket's response. there is a bug fix for this in the upcoming release -igor On Tue,

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
(httpservletresponse)getresponse().getcontainerresponse() -igor On Tue, Dec 20, 2011 at 10:58 AM, Pablo Díaz wrote: > Ok, but How I can get the httpservletresponse object to write in it? I'm > extending the WebPage class ... > > El 20/12/11 19:26, Igor Vaynberg escribió: > >> try writing directl

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
I've done that, but I get the same result :( El 20/12/11 20:18, Igor Vaynberg escribió: (httpservletresponse)getresponse().getcontainerresponse() -igor On Tue, Dec 20, 2011 at 10:58 AM, Pablo Díaz wrote: Ok, but How I can get the httpservletresponse object to write in it? I'm extending the W

Re: Getting response from a external URL

2011-12-20 Thread Igor Vaynberg
what is the stack trace look like now? also, no need to extend a webpage, why not just impplement IRequestHandler directly and mount it somewhere so you can construct urls to it... -igor On Tue, Dec 20, 2011 at 11:24 AM, Pablo Díaz wrote: > I've done that, but I get the same result :( > > El 20

Re: Download file from ModalWindow problem

2011-12-20 Thread heapifyman
I have narrowed down the problem to Google Chrome (both 15.x and 17.x- dev version) now. In both Firefox and IE 9 the download is working and the ajax links keep working after the download finished. I have created a quickstart application that demonstrates the thing. Are you still interested

Re: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread dennisB
hi Chris your solution worked for my test project, i still need to check it on my real project. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicket-1-5-3-and-wiquery-1-5-3-tp4217860p4219254.html Sent from the Users forum mailing list archive at

Unit Testing AjaxTabbedPanel

2011-12-20 Thread sudeivas
Hello All, I am using AjaxTabbedPanel in my application and I want to write unit tests for that. But I couldn't find any example tests in Apache Wicket - 1.5.3 code. Please share any sample code to write unit tests for AjaxTabbedPanel. Thanks, Suresh -- View this message in context:

Using custom ResourceBundle with Validators

2011-12-20 Thread mshaver
Hi all - I've got my own ResourceBundle for translations, something along the lines of: ResourceBundle resourceBundle = ResourceBundle.getBundle(RESOURCE_BUNDLE_BASE_CLASS, Locale.getDefault()); String myTranslation = resourceBundle.getString(myKey); I'd like to use this same ResourceBun

RE: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread Hielke Hoeve
Thats something that i would like to know once you stumble upon it. Adding dummy behaviors to fix things should not be necessary. I will try and fix the problem. Hielke -Original Message- From: Chris Hawkins [mailto:ch...@chawkins.com] Sent: dinsdag 20 december 2011 19:12 To: users@wic

RE: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-20 Thread Hielke Hoeve
Found it :) A silly bug... I squashed it and committed a fix and released a new snapshot version. Can you guys verify it is working now? wiquery-core 1.5-SNAPSHOT Hielke -Original Message- From: Hielke Hoeve [mailto:hielke.ho...@topicus.nl] Sent: woensdag 21 december 2011 8:06 To: user