Re: javascript calls to a remote jvm for a wicket component

2010-02-18 Thread Martijn Dashorst
You could try to use a [i]frame on IIS and a single page (panel replacement/ajax) solution? Martijn On Wed, Feb 17, 2010 at 7:53 PM, Robert Sandoval rsandoval@gmail.com wrote: Hi, sorry I'm new to wicket and was wondering if the following is possible. I am stuck with putting up a webapp

Timeouts when requesting resources from a jar

2010-02-18 Thread Adam Bender
Greetings, This is kind of an odd problem so I will do my best to explain it. First our environment: We are running a wicket 1.4 app inside Tomcat Tomcat is front-ended by Apache 2.2 using mod_proxy_http so we are talking to the Http 1.1 connector in Tomcat Our Http 1.1 connector has a

Re: Timeouts when requesting resources from a jar

2010-02-18 Thread Ilja Pavkovic
Hi, this sounds like a missing content-length header line in combination with a keep-alive header line in the response. In such a case the connection must be kept open until all data is sent but the receiving instance (your apache proxy) does not know when to stop the transmission and the

RE: TimePicker component?

2010-02-18 Thread Martin Grigorov
It is quite easy to use dojo components with Wicket, especially with the declarative approach. Here is a behavior that I wrote few days ago (so it is not bug free) that could be used for most of the dijit.form.** components: package com.mycompany.dojo; import java.util.Locale; import

RE: best way to detect session termination

2010-02-18 Thread Andreas Lüdtke
Ilja, thanks for your reply. If I create a service class like the one below, my _userDao object is always null. This _userDao works perfectly in other parts of my app. Do I need to inject the dao in a special way? I think the integration into spring is the problem, because I don't know where to

Re: best way to detect session termination

2010-02-18 Thread Ilja Pavkovic
Hi, _userDao shouldn't be null if you annotate it in your applicationContext.xml and grep it out of the ApplicationContext, e.g. applicationContext.getBean(sessionDestroyedService); otherwise spring would have already failed as it was not able to autowire _userDao. Best Regards, Ilja

Re: TimePicker component?

2010-02-18 Thread Mauro Ciancio
Martin: On Thu, Feb 18, 2010 at 4:54 AM, Martin Grigorov mcgreg...@e-card.bg wrote: It is quite easy to use dojo components with Wicket, especially with the declarative approach. Here is a behavior that I wrote few days ago (so it is not bug free) that could be used for most of the

Ajax and OpenSessionInViewFilter problems

2010-02-18 Thread Kogel, Jonck-van-der
Hi All, As the subject reads, I'm having some problems with Ajax and the OpenSessionInViewFilter. Here's my basic setup: I've got a page with some address info, such as street/city/zipcode. Let's call the current value of these fields V1. There is also an ajax link to open a modal panel that

tinymmce with wicket 1.4.6

2010-02-18 Thread tubin gen
tinymce I repackaged it with latest java script from tinymce to work properly.It was working fine with 1.4.1 , I updated my wicket to 1.4.6 none of additional plugins from tinymce are working ,please tell me tinymce compatibility with wicket 1.4.6 ?

RE: Ajax and OpenSessionInViewFilter problems

2010-02-18 Thread Kogel, Jonck-van-der
Hi All, Follow-up to my own post. I found the following here: http://old.nabble.com/Wicket---No-Serializable-objects-Web-application-t d19351608.html Quote: However , there is a problem if you use loadabledetachable with AJAX requests on your page. Model.detach() is called on every request,

Re: Slides of Wicket and Struts 2

2010-02-18 Thread Daniele Dellafiore
I gather some ideas last week and today I sorted something more coherent. I will present to technical, Java developer of Java user group in Milano. I wrote something like a skeleton for the presentation, would love feedback from everyone I will have 25-30 minutes, plus questions. I do not focus

Re: Slides of Wicket and Struts 2

2010-02-18 Thread Martin Makundi
Hi! Yeah, you definitely need to discuss the mash-up approach with wicket: http://code.google.com/p/wicket-mashup/ ** Martin 2010/2/18 Daniele Dellafiore ilde...@gmail.com: I gather some ideas last week and today I sorted something more coherent. I will present to technical, Java developer

301 redirect

2010-02-18 Thread Matías G. Tito
Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302: RedirectRequestTarget target = new RedirectRequestTarget(url) { @Override public void respond(RequestCycle requestCycle) { WebResponse response =

Re: 301 redirect

2010-02-18 Thread Martin Makundi
http://old.nabble.com/301-Redirect-td27030778.html 2010/2/18 Matías G. Tito mt...@zauber.com.ar: Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302:           RedirectRequestTarget target = new RedirectRequestTarget(url) {               @Override            

Re: 301 redirect

2010-02-18 Thread Matías G. Tito
Yes, I test it and works but I feel that is not a real 301 :p Martin Makundi wrote: http://old.nabble.com/301-Redirect-td27030778.html 2010/2/18 Matías G. Tito mt...@zauber.com.ar: Hi friends, I need to do an 301 redirect in place of 302. I try, but still I get 302:

Re: 301 redirect

2010-02-18 Thread Martin Makundi
It's real for sure. You can test it with google admin tools if you like ;) ** Martin 2010/2/18 Matías G. Tito mt...@zauber.com.ar: Yes, I test it and works but I feel that is not a real 301 :p Martin Makundi wrote: http://old.nabble.com/301-Redirect-td27030778.html 2010/2/18 Matías G.

Create Wikcet Filter

2010-02-18 Thread Matías G. Tito
I'm loking for creatting a basic wicket filter for / - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Behavior does not work when visibility is changed from false to true

2010-02-18 Thread Warren Bell
I have a TextField with an AjaxFormSubmitBehavior attached to it. The behavior works fine when the page is loaded with the TextField visible but does not work if the page is loaded with it not visible and then made visible with an ajax call. I can see everything in the ajax response including

(Form) Use two TextFields for one object property?

2010-02-18 Thread srm
Hi List, the following may looked flawed, so I'm happy to hear your suggestions: I have a RegisterNewItem Form where a user can add new Items to a shop/database. I have items of type CD (audiocd) with an attribute PlayTime. I store this value as seconds and calculate the minutes to display at

Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread Andrew Lombardi
It depends what your domain object looks like, if it's just a simple string you'll have to save the results of those two textfield's in their own model, and then merge them in the onSubmit method. On Feb 18, 2010, at 1:41 PM, srm wrote: Hi List, the following may looked flawed, so I'm

Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread srm
Am 18.02.2010 um 22:56 schrieb Andrew Lombardi: It depends what your domain object looks like, if it's just a simple string you'll have to save the results of those two textfield's in their own model, and then merge them in the onSubmit method. It's a int property. I was thinking about

Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread Igor Vaynberg
class lengthtextfield extends formcomponentpanel { private final textfield minutes; private final textfield seconds; public lengthtextfield(string id, imodelinteger model) { super(id, model); minutes=new textfield(min,new model(model.getobject()/60),integer.class); seconds=new

Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread srm
Am 18.02.2010 um 23:08 schrieb Igor Vaynberg: snip...snap -igor Thank you, I have to look into this as I have never directly worked with the FormComponentModel. Every day something new :) Regards, Stephan On Thu, Feb 18, 2010 at 2:02 PM, srm s...@schokokeks.org wrote: Am 18.02.2010

Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread Andrew Lombardi
class MyForm extends Form { private int hour; private int second; public Form { add(new TextField(hour, new PropertyModel(MyForm.class, hour))); add(new TextField(second, new PropertyModel(MyForm.class, second))); } public void onSubmit() { if(!validTime(hour,

[1.4.6] NotSerializableException: java.nio.HeapCharBuffer

2010-02-18 Thread smallufo
Hi I found a lot of NotSerializableException: java.nio.HeapCharBuffer when I try Wicket 1.4.6 + Resin 4.0.3 I've never seen this exception , is it the problem from Wicket ? Stacktrace : java.io.NotSerializableException: java.nio.HeapCharBuffer at

StringResourceModel and Hashtable...

2010-02-18 Thread Nikita Tovstoles
StringResourceModel.getString() calls MessageFormat.format(). Unfortunately, NumberFormat.getInstance(), which is called indirectly, uses a Hashtable resulting in lots of contention. Not sure why NumberFormat isnt using a ConcurrentMap instead... but any ideas on how to get around this? If there

Re: Selenium Testing - Ajax Loads

2010-02-18 Thread Douglas Ferguson
I'm holding off for a bit. I want to make sure my approach is rock solid.. D/ On Feb 17, 2010, at 1:02 AM, Igor Vaynberg wrote: our wiki is here: http://cwiki.apache.org/WICKET register yourself an account and you should be good to go. -igor On Tue, Feb 16, 2010 at 9:43 PM, Douglas

Re: Create Wikcet Filter

2010-02-18 Thread Martin Makundi
Would you like to ask something or are you just fine? 2010/2/18 Matías G. Tito mt...@zauber.com.ar: I'm loking for creatting a basic wicket filter for / - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

[OT] Wicket changed my life !

2010-02-18 Thread Ashika Umanga Umagiliya
I love Wicket ! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: [OT] Wicket changed my life !

2010-02-18 Thread Josh Kamau
Me too!! On Fri, Feb 19, 2010 at 9:57 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: I love Wicket ! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: [1.4.6] NotSerializableException: java.nio.HeapCharBuffer

2010-02-18 Thread Martin Grigorov
This is not the full stack trace. SerializationChecker produces nice formatted output telling you exactly which field of which class is not serializable. On Fri, 2010-02-19 at 11:58 +0800, smallufo wrote: Hi I found a lot of NotSerializableException: java.nio.HeapCharBuffer when I try Wicket