Reusable DateColumn component

2008-10-05 Thread Edgar Merino
Hello, a few days ago someone requested some advice on how to format the date within an IColumn, I suggested DateColumn that depended on his code, but I've been having this necessity in several ocassions too, so I've come up with a true reusable DateColumn component that inherits from

ModalWindow and IAjaxIndicatorAware

2008-10-05 Thread Eyal Golan
Hi, I have a modal window that updates a page (the page it was initiated from). It updates a URL string in an inline frame src: IModel iframeModel = new AbstractReadOnlyModel() { private static final long serialVersionUID = 1L; @Override public Object

Re: setOutputMarkupId and Ajax

2008-10-05 Thread Mathias P.W Nilsson
No, I understand. An eclipse plugin could solve a lot of this issues. An Wicket view that could warn, etc for all things that could go wrong. I understand now why the programmer needs to set the output and not the framework -- View this message in context:

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread eyalbenamram
Hi Is there a way to override this bug? the problem is I need a solution for the problem NOW and I cannot wait for the next version of wicket to come out... Thanks, Eyal. Erik van Oosten wrote: Hi Eyal, Let me translate Igor's reponse (which I agree is somewhat short for the

Session ID and Sesson destroy

2008-10-05 Thread Stefan Lindner
I need to perform some actions on sesson destroy or after session is destroyed. In Application I can override ths sessionDestroyed method. This method hast he session id as it's parameter. So it should be possible to address a certain Sesson. But how can I obtain the session's id on creation? When

Re: Wrapped FeedbackPanel and AjaxRequestTarget

2008-10-05 Thread Edgar Merino
Never mind, I guess this can be solved by calling the actual Parent that holds the FeedbackPanel: Component parent = null; do { parent = feedbackPanel.getParent(); } while(parent.getParent() != null); Regards, Edgar Merino Edgar Merino escribió: Hello once again, I've been coding

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread eyalbenamram
Hi Is there a way to override this bug? the problem is I need a solution for the problem NOW and I cannot wait for the next version of wicket to come out... Thanks, Eyal. Erik van Oosten wrote: Hi Eyal, Let me translate Igor's reponse (which I agree is somewhat short for the

form GET calling onSubmit

2008-10-05 Thread eyalbenamram
Hi There is a bug in wicket of a form that uses the GET method never calls the onSubmit method. I am now using wicket 1.4 m3, and the bug (already reported long time ago) is still not fixed, though it is said it was fixed. here is my code: Button backBtn = new Button(back_button, new

Re: Client side validation behaviors - already started?

2008-10-05 Thread Jörn Zaefferer
First thing that I have to notice: ClientAndServerExactLengthValidatingBehavior is an awful class name. LengthValidation would be enough. The other thing: I wouldn't use clientside validation when it validates on submit only. It should validate non-empty fields on blur, and fields already marked

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread Igor Vaynberg
first you have to figure out why its not getting called -igor On Sun, Oct 5, 2008 at 4:10 AM, eyalbenamram [EMAIL PROTECTED] wrote: Hi Is there a way to override this bug? the problem is I need a solution for the problem NOW and I cannot wait for the next version of wicket to come out...

Re: Session ID and Sesson destroy

2008-10-05 Thread Igor Vaynberg
as per servlet spec, when you get session destroyed notification you have the session id, but you can no longer access session... -igor On Sun, Oct 5, 2008 at 1:47 AM, Stefan Lindner [EMAIL PROTECTED] wrote: I need to perform some actions on sesson destroy or after session is destroyed. In

Re: form GET calling onSubmit

2008-10-05 Thread Igor Vaynberg
where is the bug report? -igor On Sun, Oct 5, 2008 at 6:56 AM, eyalbenamram [EMAIL PROTECTED] wrote: Hi There is a bug in wicket of a form that uses the GET method never calls the onSubmit method. I am now using wicket 1.4 m3, and the bug (already reported long time ago) is still not

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread eyalbenamram
I have no idea why.. I think it is a bug.. when using POST it works just fine. So is there a way to use GET and call onSubmit in another way? igor.vaynberg wrote: first you have to figure out why its not getting called -igor On Sun, Oct 5, 2008 at 4:10 AM, eyalbenamram [EMAIL

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread Igor Vaynberg
just tried the code you pasted in the other email and it works fine for me. this is why i asked for a quickstart...for now i cant reproduce your problem. -igor On Sun, Oct 5, 2008 at 8:57 AM, eyalbenamram [EMAIL PROTECTED] wrote: I have no idea why.. I think it is a bug.. when using POST it

Re: form GET calling onSubmit

2008-10-05 Thread eyalbenamram
JIRA: https://issues.apache.org/jira/browse/WICKET-1580 igor.vaynberg wrote: where is the bug report? -igor On Sun, Oct 5, 2008 at 6:56 AM, eyalbenamram [EMAIL PROTECTED] wrote: Hi There is a bug in wicket of a form that uses the GET method never calls the onSubmit method. I am

Re: AbstractPageStore memory implementation instead of disk

2008-10-05 Thread richardwilko
The wicket integration with terracotta uses an in-memory page map. The code is here, but will soon be part of the terracotta wicket-tim. http://www.nabble.com/file/p19826206/TerracottaPageStore.java TerracottaPageStore.java Timo Rantalaiho wrote: On Fri, 03 Oct 2008, Igor Vaynberg wrote:

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread eyalbenamram
I will try to reproduce it in a quickstart application.. If you won't hear from me again about this problem - it's probably because it worked. One last question: can you think of something I did that caused this problem to occure? My thougths are: if it works for quickstart app but not for me -

Re: form GET calling onSubmit

2008-10-05 Thread Igor Vaynberg
are you using a StatelessForm? because in your example you showed a regular form -igor On Sun, Oct 5, 2008 at 9:04 AM, eyalbenamram [EMAIL PROTECTED] wrote: JIRA: https://issues.apache.org/jira/browse/WICKET-1580 igor.vaynberg wrote: where is the bug report? -igor On Sun, Oct 5, 2008

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread Igor Vaynberg
no idea if it works for post but not get... -igor On Sun, Oct 5, 2008 at 9:26 AM, eyalbenamram [EMAIL PROTECTED] wrote: I will try to reproduce it in a quickstart application.. If you won't hear from me again about this problem - it's probably because it worked. One last question: can you

Re: form GET calling onSubmit

2008-10-05 Thread eyalbenamram
No, I am using a regular form. the example I brought was to show the JIRA report. There was a report regarding the regular form but I couldn't find it. igor.vaynberg wrote: are you using a StatelessForm? because in your example you showed a regular form -igor On Sun, Oct 5, 2008 at

Re: Form GET doesn't call onSubmit method

2008-10-05 Thread eyalbenamram
OK.. thanks anyway igor.vaynberg wrote: no idea if it works for post but not get... -igor On Sun, Oct 5, 2008 at 9:26 AM, eyalbenamram [EMAIL PROTECTED] wrote: I will try to reproduce it in a quickstart application.. If you won't hear from me again about this problem - it's

Re: form GET calling onSubmit

2008-10-05 Thread Jeremy Thomerson
Eyal, The code you supplied seems to work for me, and Igor said in the other thread that it worked for him as well. Here is the code for another example I did to test it. If you can produce some code that doesn't work, everyone will be able to help more. In the meantime, if you try the code

Re: Adding Adobe Media Player in wicket

2008-10-05 Thread newbie_to_wicket
Thanks Jeremy, I'll try on this.. once again thank u. Cheers J Jeremy Thomerson-5 wrote: The simplest thing is just to put the embed / object tags into the your HTML file and then adding a wicket:id to the tags that need dynamic parameters. Then use a WebMarkupContainer and

Re: AbstractPageStore memory implementation instead of disk

2008-10-05 Thread Matej Knopp
I'd really be interested in how exactly did you come to conclusion that DiskPageStore writing to disk is the bottleneck. Unless your filesystem caching is broken :) Serialization takes a significant part of request processing, but that is necessary. -Matej On Fri, Oct 3, 2008 at 3:21 PM, Ard

Re: which browser is preferrable for Wicket 1.3

2008-10-05 Thread Timo Rantalaiho
On Fri, 03 Oct 2008, John Krasnay wrote: Note that this is almost certainly *not* a Wicket issue, since Wicket generates the same markup regardless of browsers. However, in Wicket (ajax) javascript code there are differences between different browsers, as in all javascript-containing

Re: DropDownChoice Model issue

2008-10-05 Thread Timo Rantalaiho
On Sat, 04 Oct 2008, walnutmon wrote: I can manually assign the variable at run time using the getModelObject() function... I know you can bind through property models, is trying to do so with a regular Model() object wrong? Do you mean this? return new DropDownChoice(companies, new

Re: using Prototype.js and Scriptaculous with latest version of wicket

2008-10-05 Thread 张伟
I agree with Igor. if you are looking to generate your ui purely in javascript you will not be able to take advantage of a lot of wicket components. And i think you should generate your ui purely in javascript only when the ui dose not include in the standard Html components. 2008/10/3 Igor

Re: Radio group, model

2008-10-05 Thread Cristina
A small but important correction... :-) (e) HTML file: both radio buttons must be under a *span* tag enclosing the attribute-value pair *wicket:id=options*. Cristina -- View this message in context: http://www.nabble.com/Radio-group%2C-model-tp16678100p19831786.html Sent from the Wicket -

Re: which browser is preferrable for Wicket 1.3

2008-10-05 Thread Nino Saturnino Martinez Vazquez Wael
Timo Rantalaiho wrote: On Fri, 03 Oct 2008, John Krasnay wrote: Note that this is almost certainly *not* a Wicket issue, since Wicket generates the same markup regardless of browsers. However, in Wicket (ajax) javascript code there are differences between different browsers, as in