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
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
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
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
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
.
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
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
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
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
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
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:
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
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
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:
>
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(
15 matches
Mail list logo