Will wicket approve if I say the nested form is a tag? Should it care?
**
Martin
2008/6/6 Igor Vaynberg <[EMAIL PROTECTED]>:
> html doesnt approve of embedded forms, but wicket does. it will just work.
>
> -igor
>
> On Thu, Jun 5, 2008 at 12:36 PM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>>
html doesnt approve of embedded forms, but wicket does. it will just work.
-igor
On Thu, Jun 5, 2008 at 12:36 PM, Martin Makundi
<[EMAIL PROTECTED]> wrote:
> Tnx. I had form->listview->item->formcomponents,formvalidators
>
> Should the embedded forms be renderBodyOnly?
>
> I think HTML does not a
Tnx. I had form->listview->item->formcomponents,formvalidators
Should the embedded forms be renderBodyOnly?
I think HTML does not approve embedded forms, does it? So should I
tweak this using renderBodyOnly or similar?
**
Martin
2008/6/5 Igor Vaynberg <[EMAIL PROTECTED]>:
> you should use embed
you should use embedded forms
form->listview->item->form+formvalidators->formcomponents
instead of
form+formvalidators->listview->item->formcomponents
-igor
On Thu, Jun 5, 2008 at 7:55 AM, Martin Makundi
<[EMAIL PROTECTED]> wrote:
> I use setReuseitems true yes.
>
> I must call the removeAll b
I use setReuseitems true yes.
I must call the removeAll because my models have changed (I am
rendering a table and the table structure / colspan / rowspan /
elements changes). I have not found another way to update the markup
than calling removeAll.
Now, the removeAll should probably remove all t
Can't you use setReuseItems(true), that way the populate method will
be called less frequently and thus will generate less validators.
Don't use the removeall in combination with the reuse that will negate
the effect :)
Maurice
On Thu, Jun 5, 2008 at 3:57 PM, Martin Makundi
<[EMAIL PROTECTED]> wr
Hi!
The only workaround I came up with is as follows:
public void validate(Form form) {
if (!form.contains(selectionField, true)) {
return;
}
...
}
It is not elegant and the stack keeps growing. I first tried to remove
the validator if it exists, but that brought up some nasty thr
Hi!
I have a Form whose components are populated using a listView.
Each listView component has a formValidator.
Now each time I refresh the listview it is redrawn and all the new
validators are newly added to the form in addition to the existing
validators (from the previous refresh).
For examp