Key Enter on Form Does not work on IE8

2012-01-30 Thread Krishna Mohan
I have a form and few panels in it. In panel 'A' i have search button , panle 'A' consist of set of other panels 'B'. panel 'B' has few fields for example field 'F' Each panel is implemented in sepearate java class I have requirement wherein after entering text in the field 'F' on press of

RE: Strange form in a panel behaviour

2012-01-30 Thread Chris Colman
Last cause: Could not find component 'body:_wicket_child2:_wicket_extend3:welcomePanel:loginForm' on page 'class com.sas.av.ui.wicket.templates.original.HomePage Do you do anything tricky related to the statelessness of the page together with usage of onInitialize() ? I remember such

Re: Strange form in a panel behaviour

2012-01-30 Thread Martin Grigorov
On Mon, Jan 30, 2012 at 10:13 AM, Chris Colman chr...@stepaheadsoftware.com wrote: Last cause: Could not find component 'body:_wicket_child2:_wicket_extend3:welcomePanel:loginForm' on page 'class com.sas.av.ui.wicket.templates.original.HomePage Do you do anything tricky related to the

Possibile bug in MockHttpServletRequest

2012-01-30 Thread Giovanni Cuccu
Hello, I'm starting to user WicketTester and I've hit the following behaviour. I have a IRequestCycleListener wich needs to access to the httpSession. In my code I was using HttpSession httpSession=httpRequest.getSession(); which works fine within the real servlet container (i.e.

Re: Possibile bug in MockHttpServletRequest

2012-01-30 Thread Martin Grigorov
Hi, It looks like a bug. Please create a ticket. Thanks! On Mon, Jan 30, 2012 at 10:58 AM, Giovanni Cuccu giovanni.cu...@cup2000.it wrote: Hello,    I'm starting to user WicketTester and I've hit the following behaviour. I have a IRequestCycleListener wich needs to access to the httpSession.

Populate DropDownChoice, set Object Model and still keep Please Select option

2012-01-30 Thread lucast
Dear forum, I'm dealing with a form in which I have a number of dropdown choices. Some drop down choices will have value preselected (eg. second option on the list). I would like the dropdown choices where the value is preselected to still hold the Please Select option so that the user has the

RE: Populate DropDownChoice, set Object Model and still keep Please Select option

2012-01-30 Thread Wilhelmsen Tor Iver
I tried using DropDownChoice.setNullValid(true); but that only works for the dropdown choices in which no model has been set. Then you probably also need setRequired(false); Otherwise it will not show the null choice for non-null models. - Tor Iver

Re: Possibile bug in MockHttpServletRequest

2012-01-30 Thread Giovanni Cuccu
Hi Martin, done. https://issues.apache.org/jira/browse/WICKET-4370 ciao, Giovanni In my code I was using HttpSession httpSession=httpRequest.getSession(); which works fine within the real servlet container (i.e. tomcat) but fails when I use WicketTester In order to make

Timer problems with HttpSessionDataStore

2012-01-30 Thread Mikko Pukki
Hi, We are encountering problems on all pages that have timers for updating/polling new data. It seems that if new page is rendering, timer's request can mess things up. Problem can be reproduced with Wicket 1.5.3 and 1.5.4 An example situation: 1) Page (id1) has a timer and user presses link

Wicket 6.0 and Javascript Event Registration question

2012-01-30 Thread Thomas Götz
Just a thought about the upcoming changes to Wicket's Javascript event registration mechanism in Wicket 6.0 (instead of inline JS events): we have several Behaviors that provide Javascript in which we register to JS events, e.g. 'onblur'. Now I have a Component that additionally has an

Re: Wicket 6.0 and Javascript Event Registration question

2012-01-30 Thread Martin Grigorov
Hi, The new code registers listeners with jQuery's on() method which uses internally addEventListener() (IE9 and others) and attachEvent() (IE8 and less). So you need to execute your JS code after Wicket's. Wicket executes its bindings when the DOM is ready, so you must be careful that your

Re: Configurable Resource's url (use CDN or not)

2012-01-30 Thread willo
Dear all, Looks like molindo isn't going to upgrade their solution to wicket 1.5. Is there something build into wicket 1.5 where serving resources via CDN's is easily done? Many thanks Thomas -- View this message in context:

Stateless form on Wicket 1.5.4

2012-01-30 Thread André Camilo
Hi, I think wicket 1.5.4 has a problem with stateless forms. On the example http://www.wicket-library.com/wicket-examples/stateless/state-in-url , doing the following steps: Submit value 10 - Value submitted: 10 Submit again value 11, and it show value submitted: 10 (and the query

Re: Configurable Resource's url (use CDN or not)

2012-01-30 Thread Martin Grigorov
Hi, See http://blog.55minutes.com/post/16529577810/simplecdn-and-the-newly-released-fiftyfive-wicket-3-2 On Mon, Jan 30, 2012 at 5:30 PM, willo wi...@test.at wrote: Dear all, Looks like molindo isn't going to upgrade their solution to wicket 1.5. Is there something build into wicket 1.5

Re: Stateless form on Wicket 1.5.4

2012-01-30 Thread Martin Grigorov
Fixed today in 1.5-SNAPSHOT 2012/1/26 André Camilo andre.cam...@premium-minds.com: Hi, I think wicket 1.5.4 has a problem with stateless forms. On the example http://www.wicket-library.com/wicket-examples/stateless/state-in-url , doing the following steps: Submit value 10 - Value

RE: Configurable Resource's url (use CDN or not)

2012-01-30 Thread Chris Colman
Wow, that SimpleCDN tool looks pretty cool. From a cursory glance at the doco it seems like they assume that anything that starts with: /wicket/resource/ is a static resource and that's what I've been doing also with good success. I suppose I just need to remember to avoid mounting any non

RE: Strange form in a panel behaviour

2012-01-30 Thread Chris Colman
I just added a quickstart and JIRA-4373. It definitely is related to the use of an IComponentResolver. If the panel containing the form is added explicitly the problem does not occur. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, 30 January 2012

Re: Wicket 6.0 and Javascript Event Registration question

2012-01-30 Thread Thomas Götz
This will cause quite some trouble for the application I'm currently developing. Example: we have a Behavior that puts input hints on several textfields (e.g. dd/mm/ for day input fields). The Behavior provides a JS file in which we register for the submit event of the containing form and

Re: Possible to show ExceptionErrorPage after showing our own error page?

2012-01-30 Thread Chris Merrill
Thanks, Martin! On 1/28/2012 5:48 AM, Martin Grigorov wrote: Hi, In org.apache.wicket.request.cycle.IRequestCycleListener#onException() you can return RenderPageRequestHandler with your own page that shows the exception. Or you can store the exception in RequestCycle's metadata and let

DateTimeField getting the wrong timezone

2012-01-30 Thread Chris Merrill
I'm using the yui.calendar.DateTimeField widget on a page with some other timezone sensitive data and I get the right timezone on the other fields but not with DateTimeField. When I stepped into the DateTimeField code, I came to line 417: TimeZone zone =

Re: DateTimeField getting the wrong timezone

2012-01-30 Thread Chris Merrill
I should add another strange detail to this - the DateTimeField works correctly if I establish a new browser eb session within the debug session. I'm working on AppEngine and the SDK will save the session states when it shuts down. When I start a new debug session, my existing browser session

How to localise the ${type} in error messages

2012-01-30 Thread Steve Mactaggart
Hi all, We have extensively localised our application using XML resource bundles, but have just run into a few last corner cases. We have error messages that come from the TextField's when the user enters the wrong data type. If we had a text field that is setup as an Integer type, and the user

Re: How to localise the ${type} in error messages

2012-01-30 Thread Igor Vaynberg
use a more specific key, such as IConverter.Integer=... -igor On Mon, Jan 30, 2012 at 4:12 PM, Steve Mactaggart st...@whitesquaresoft.com wrote: Hi all, We have extensively localised our application using XML resource bundles, but have just run into a few last corner cases. We have error

Re: How to localise the ${type} in error messages

2012-01-30 Thread Steve Mactaggart
Excellent, exactly what I needed. Thanks. On Tue, Jan 31, 2012 at 11:16 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: use a more specific key, such as IConverter.Integer=... -igor On Mon, Jan 30, 2012 at 4:12 PM, Steve Mactaggart st...@whitesquaresoft.com wrote: Hi all, We have

Re: Google bot see my site with errors!!

2012-01-30 Thread Josh Kamau
Does your homepage constructor have any arguments? Josh. On Tue, Jan 31, 2012 at 2:23 AM, Paolo irresistible...@gmail.com wrote: Google can't see my web site! I tried to subscribe my site domain to some Google and Other company services, i.e to be a publisher I think that some bots see my

Re: Wicket 6.0 and Javascript Event Registration question

2012-01-30 Thread Martin Grigorov
Hi Thomas, On Mon, Jan 30, 2012 at 10:40 PM, Thomas Götz t...@richmountain.de wrote: This will cause quite some trouble for the application I'm currently developing. Example: we have a Behavior that puts input hints on several textfields (e.g. dd/mm/ for day input fields). The

Re: Google bot see my site with errors!!

2012-01-30 Thread Martin Grigorov
What exactly is the code at: org.wicket.example.QuoteResult. init (QuoteResult.java: 55) ? NPEs are easy to debug ;-) On Tue, Jan 31, 2012 at 1:23 AM, Paolo irresistible...@gmail.com wrote: Google can't see my web site! I tried to subscribe my site domain to some Google and Other company

Re: How to make a request to a mapped servlet

2012-01-30 Thread Martin Grigorov
Hi, Wicket doesn't provide such functionalities. If the servler is part of the same application then you can use RequestDispatcher.include(). If it is part of another app then you can use Apache HttpClient, UrlConnection.open(), ... libraries to make the HTTP call and consume the response. On

Re: DateTimeField getting the wrong timezone

2012-01-30 Thread Martin Grigorov
Hi, On Mon, Jan 30, 2012 at 11:27 PM, Chris Merrill ch...@webperformance.com wrote: I should add another strange detail to this - the DateTimeField works correctly if I establish a new browser eb session within the debug session.  I'm working on AppEngine and the SDK will save the session

wicket 1.5.4 on websphere 7

2012-01-30 Thread Colin Chalmers
Hi all, We have just upgraded our application running 1.4.10 to 1.5.4. Besides the obvious compile problems all seemed to go smoothly under jetty/tomcat but now we have a problem under websphere 7.0.11 - for clarity the 1.4.10 version worked good under WAS7 We were running well using the filter