Hi igor,
Thanks for your help.
But I really can not see wicket-ajax.js in the html source code.
The hierarchy of my ListView is
Border
|---- ItemForm (Form)
|--- TextField, DropDownChoice, submit button
| --- ItemsContainer (WebMarkupContainer)
| --- ListView
On the submit method, I add the ItemsContainer to target.
I tried again, when I remove all of the ItemsContainer from both html and
java code, it works fine.
Otherwise, error happens.
Conglun
On 7/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 7/6/07, Conglun Yao <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I met a problem similar to
WICKET-281<https://issues.apache.org/jira/browse/WICKET-281>.
> It sill happens even after our project moves to wicket 1.2.6.
>
> I can regenerate this error (JavaScript errors "Object expected"), when
this is not the same thing as in WICKET-281 unless when you view source
you do not see wicket-ajax.js in markup, i expect that you would though.
this problem is caused when you try to call outerHTML on tags that do not
support it like tr, tbody,etc
i see this: <tr wicket:id="item">
are you adding item component to ajax target? you cannot repaint a
listview or other repeaters like so. you need to add a container that
attaches to <table> tag to the target instead
-igor
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user