[Wicket-user] CheckBox and final method onComponentTag

2007-07-03 Thread kubino
Hi. We are trying to put some own javascript code in the onClick method of the checkbox component. Unfortunately we need also the wicket code which is generated in onComponentTag method when onSelectionChangeNotifications is true. So I need to execute my javascript code before the wicket's. I can

Re: [Wicket-user] Validating Date to against Date From

2007-06-15 Thread kubino
t; wrote: >> >> take a look at the EqualInputValidator [0] and adapt the onValidate >> method >> to your needs. >> >> [0] >> http://svn.apache.org/repos/asf/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/EqualInputValidat

[Wicket-user] Validating Date to against Date From

2007-06-14 Thread kubino
Hi , It is possible to have something like this DateTextField dateFrom = new DateTextField("someid",new PropertyModel(somemodel,"dateFrom")); DateTextField dateTo = new DateTextField("someid",new PropertyModel(somemodel,"dateTo")); dateTo.add(DateValidator.minimum(someModel.getDateFrom)); I w

[Wicket-user] Quick double submit problem

2007-05-29 Thread kubino
Hi, I have serious trouble with quick double submit problem. First problem are the submit buttons , especially in combination with radiogroup - (componment hierarchy changed between rendering and form submission) - as I read somewhere, it is neccessary to disable the second click on client. I ca

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/whenusingwantOnSelectionChangedNotifications)?

2007-05-29 Thread kubino
Hi, did you try to put process(); in your onSelectionChanged method? Kubino Nino Wael wrote: > > Igor please answer:) > > > > Fra: [EMAIL PROTECTED] på vegne af Nino Wael > Sendt: to 26-04-2007 16:01 > Til: wicket-user@lists.sour

Re: [Wicket-user] Updating formComponents on round trip

2007-05-21 Thread kubino
. Johan Compagner wrote: > > you need to clear the input of the fields: Form.clearInput() > > > > On 5/19/07, kubino <[EMAIL PROTECTED]> wrote: >> >> >> Yes Igor, i tried, right in this example , I have added >> getForm().proce

Re: [Wicket-user] Updating formComponents on round trip

2007-05-19 Thread kubino
Yes Igor, i tried, right in this example , I have added getForm().process(); , but nothing happend. :-( Kubino igor.vaynberg wrote: > > have you tried: > > onselectionchanged() { form.process(); } ? > > -igor > > > On 5/18/07, kubino <[EMAIL PROTEC

Re: [Wicket-user] Updating formComponents on round trip

2007-05-18 Thread kubino
I made a functional code, so everyone can test it. What I want is that, when I click on radio button to automatically update textfields according to their model. I do NOT want to use method textField.setModelValue(String d) in onSelectionChanged method... Thanks for help. ///html

Re: [Wicket-user] AjaxSubmitButton IE vs. FF Behavior

2007-05-17 Thread kubino
Can you show us the code, later ? I have to solve it too... Thanks. WeaZeLb0y wrote: > > Using Wicket 1.2.6 > > Using FF 2.0 when I click on the submit button or hit 'enter' on a field > in > the form the ajax call is processed. > > With IE 7.0 when I click on the submit button, the ajax

[Wicket-user] Updating formComponents on round trip

2007-05-17 Thread kubino
Hi , maybe somebody can help me. I have form with radiogroup holding ListView of posibble models ... When the the form is first loaded textFields are filled well, but when I click the radio button(round trip is made), variable selectedSystem is updated but textfields are not. I tried different

[Wicket-user] Wicket modal window

2007-05-16 Thread kubino
Hi , I have one lamer question. Is technologically possible to call wicket modal window from the server code? I want to use it for example for alert message that something goes wrong when server tries to update the database. Can Ajax do this? Thanks for answer. -- View this message in context:

Re: [Wicket-user] question about date format for textfield

2007-04-27 Thread kubino
Hi Johan, I tried this TextField dateFrom = new TextField("dateFrom",new PropertyModel(filtr,"dateFrom")) { public IConverter getConverter() { return new IConverter() { public Object convert(Object value, Class c) { try { i

[Wicket-user] Why checkbox doesnt update property model when roundtrip??

2007-04-26 Thread kubino
Hi , I am wondering why the checkbox property model is not updated when the method wantOnSelectionChangedNotifications is overriden and returns true. When i call form submit, property is set ok. DropDownChoice updates the model well on roudtrip , so I am surprise that checkbox not. I had to add

Re: [Wicket-user] RadioGroup, not only the radios inside

2007-04-24 Thread kubino
or > > > On 4/24/07, kubino <[EMAIL PROTECTED]> wrote: >> >> >> Hello, I tried to search through the forum, but I couldnt find answer, I >> hope >> it is easy. >> >> Consider html page where is a filtering form with this possibilities: >

[Wicket-user] RadioGroup, not only the radios inside

2007-04-24 Thread kubino
Hello, I tried to search through the forum, but I couldnt find answer, I hope it is easy. Consider html page where is a filtering form with this possibilities: No filterFiltrSpecific : Filtr all In java code, I am only adding the radio id's in to the radioGroup , not the textfield(