Doing an action on press of key in a form

2012-01-18 Thread Krishna Mohan
I have a form, few panels in it. In one of the panel i have few fields and in other panel a search button. I have requirement wherein after entering text in the field on press of Enter button search should be performed with out click of search button. To achieve this i tried following snippet

Re: CompoundPropertyModel and FormComponent

2012-01-18 Thread Andrea Del Bene
At this point I would override/debug method updateModel() inside AddressPanel to see if model's object is modified by this method . Just my 2 cents... Yes, I think you are doing it the Wicket way, but your snippet and mine should work. Do you modify components' model somewhere else? No, I

Re: Update component after background thread is finished

2012-01-18 Thread humcasma
Martin Grigorov-4 wrote Pastebin you code. While cleaning up the code to post it here I found a timer.stop() where it should not be. After removing it, everything works as it should do. That is, I create a new timer whenever the form is submitted, and add it to my textarea component. The

Re: Wicket spring security sample app

2012-01-18 Thread James Carman
Either way, you can open it in your IDE and run the jetty test server that's included. That's how I run it usually so that I can easily debug and play around. On Wed, Jan 18, 2012 at 6:57 AM, James Carman ja...@carmanconsulting.com wrote: I don't know if the plugin is turned on for the example

Re: Auto Create of resource references fails

2012-01-18 Thread Martin Grigorov
Do you have any modifications in AbstractDefaultAjaxBehavior.java locally ? The resource reference for indicator.gif should be auto registered and always available ... On Wed, Jan 18, 2012 at 12:59 AM, Chris Colman chr...@stepaheadsoftware.com wrote: ** ** Using 1.5-SNAPSHOT and I just

Re: Update component after background thread is finished

2012-01-18 Thread humcasma
Martin Grigorov-4 wrote On Wed, Jan 18, 2012 at 12:39 PM, humcasma lt;humcasma@gt; wrote: Martin Grigorov-4 wrote Pastebin you code. While cleaning up the code to post it here I found a timer.stop() where it should not be. After removing it, everything works as it should do. That is,

Re: wicket appl architecture

2012-01-18 Thread Russell Pitre
Separate front-end sounds fine. Use a REST architecture with JSON as the data exchange format. I'm pretty Spring MVC supports this through the use Jackson JSON library. Its something to add to your list of possible options. On Wed, Jan 18, 2012 at 2:38 AM, nazeem md.naz...@gmail.com wrote:

Re: Trying get Spring security working

2012-01-18 Thread Russell Pitre
Look here for more info on Spring and logging. From section 1.3.2.x of http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/overview.html dependency groupIdorg.slf4j/groupId artifactIdjcl-over-slf4j/artifactId version1.5.8/version /dependency

Re: wicket appl architecture

2012-01-18 Thread Arjun Dhar
JSON Library + CXF wtf! ... This is a pretty good combination thant I've been playing with for over some time. - Software documentation is like sex: when it is good, it is very, very good; and when it is bad, it is still better than nothing! -- View this message in context:

Re: Doing an action on press of key in a form

2012-01-18 Thread Igor Vaynberg
use FormComponentUpdatingBehavior instead -igor On Wed, Jan 18, 2012 at 2:12 AM, Krishna Mohan k.krishnamoha...@gmail.com wrote: I have a form, few panels in it. In one of the panel i have few fields and in other panel a search button. I have requirement wherein after entering text in the

Re: Intermittent issue of data overwriting between browser tabs in a multi window session with forms

2012-01-18 Thread T A
Hi, I posted this issue a week ago and have not gotten any response yet. Is there no one in the community that has every had any issues with multiple windows and form data getting mixed up between them in the 1.3 stream? Any words of wisdom wicket developers out there would be very

Re: autocomplete js error in IE

2012-01-18 Thread maro
I found workaround. There is domready problem in IE. I used jquery ready() /body and added: field.setOutputMarkupId(true); field.setMarkupId(searchInput); field.setOutputMarkupPlaceholderTag(true); Andrea Del Bene-2 wrote ooops, I was wrong. I got the same problem. I also see this

Re: Modal Window does not open second time

2012-01-18 Thread mjop
I have the same problem. Really nobody doesn't know the solution? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Modal-Window-does-not-open-second-time-tp3824184p4306315.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Modal Window does not open second time

2012-01-18 Thread Igor Vaynberg
try with latest snapshot -igor On Wed, Jan 18, 2012 at 3:05 AM, mjop mat.j...@gmail.com wrote: I have the same problem. Really nobody doesn't know the solution? -- View this message in context:

Re: context-relative CSS-Url wrong in styled/variant HTML page

2012-01-18 Thread datazuul
finally I solved it: it was AGAIN this old (tomcat) bug: https://issues.apache.org/jira/browse/WICKET-1205 I had an index.jsp in my root context. After removing it all links were rendered correctly!!! -- View this message in context:

Re: Controlling URL of static cacheable resources

2012-01-18 Thread Peter Ertl
I you are really pedantic you put a a caching front-end proxy before your actual application server. By default wicket package resources (css/js/images) are delivered with a cache expiry of one year. By using fingerprinted filenames (through IResourceCachingStrategy) this will work flawlessly

Re: wicket appl architecture

2012-01-18 Thread nazeem
Russell Pitre wrote Separate front-end sounds fine. Use a REST architecture with JSON as the data exchange format. I'm pretty Spring MVC supports this through the use Jackson JSON library. Its something to add to your list of possible options. Wicket is component based and differs from

Re: Best practice for returning to calling page after submitting a form page

2012-01-18 Thread Jeff Schneller
You could make the address form have an abstract method to determine where to redirect to. In the form submit call the abstract method The the page constructor could take a param to tell which page to redirect to. Define the abstract method on the page to do the redirect based on the

does the breadcrumb extension support bookmarkable links?

2012-01-18 Thread Daniel Watrous
I've been working with the breadcrumb components in the extensions library today. Now that I have it working the way I need it to, I noticed that none of the links are bookmarkable. I wondered if it were possible to use this feature and still have links be bookmarkable? I did some searching and

ListView not refreshed after a new row is inserted with EJB3 as its backend data

2012-01-18 Thread x.yang
Hello, Everyone, I am trying to build a web app with Wicket, EJB3, and MySQL. My IDE is Netbeans 6.9.1 and the server is Glassfish 3.1. I have created two entity beans 'Centre' and 'User', and one Centre has many User(s). I also created two Facades for them. The Wicket page used to list the

RE: CompoundPropertyModel and FormComponent

2012-01-18 Thread Schlärmann , Bob
Thanks for your response. After some more debugging I've found the cause and also found a solution. The cause is that models of intermediate components, such as the Panel in my case, are never initialized if they do not already have a model. The parent's model is looked up in