Hi all,
I have spent hours with the following issue:
I tried to create an Ajax represent of ListEditor (
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/
), but the add button didn't work at all, saying:
ERROR: Wicket.Ajax.Call.failure: Error while parsing response:
After solving the Ajax problem, it looks like, this is still don't want
to work...
It looks like, that because of setMultiPart(true), the new input Datas
aren't storing into models, thats why the form sends invalid content.
The code that I'm using:
http://users.hszk.bme.hu/~mp695/quickstart.zip
Haha, Its not me doing the proxy work. Don't know why they consider it
a problem, but they would really like absolute urls.
/Steen
2009/8/21 Igor Vaynberg igor.vaynb...@gmail.com:
thats funny, we worked really had to make all urls relative because it
would make it a lot easier to work with
Peter,
Have a look into the quickstart project that is attached to my post. It's a
simple list editor based on ListView.
http://www.nabble.com/file/p25096254/ListEditor.zip ListEditor.zip . Hope it
helps.
cheers,
Marcin
--
View this message in context:
I've always wondered about that
Anyways, you can make all URLs absolute by following the hints in
https://issues.apache.org/jira/browse/WICKET-1974.
You'll need to patch Wicket as the issue is not yet solved. (I really
should make the patch, its soo easy, just have to find time.)
Thanks, Marcin,
but I had problems with ListView and element removing ( see:
http://mail-archives.apache.org/mod_mbox/wicket-users/200908.mbox/%3c4a894c62.8070...@sch.bme.hu%3e
)
I tried to do this with RepeatingView, now I had tried to solve the
problem with RefreshingView (based on this:
Peter,
I modified my example to allow removing items. I also modified it to use a
RefreshingView instead of a ListView.
I think you should read a bit about wicket models. Any component update
should go the following way - first update a model that is bound to a
component and then repaint the
Marcin,
I modified my example to allow removing items. I also modified it to use a
RefreshingView instead of a ListView.
Thanks
I think you should read a bit about wicket models. Any component update
should go the following way - first update a model that is bound to a
component and then
Hi,
In a nutshell, I have a table that starts off empty and rows are
added to it dynamically. So I have a DataTable inside of a
WebMarkupContainer where setOutputMarkupId(true) and in the ajax
callback I do a target.addComponent(markupContainer). So far so good and
the table does update
In a nutshell, I have a table that starts off empty and rows are
added to it dynamically.
Perhaps if you take your table out of the nutshell, it would work?
I find that things don't work so well if I put them in a nutshell.
Just a thought. ;-)
10 matches
Mail list logo