I've looked into this issue once more and it seems I solved it by.. doing
what Decebal said.
In the update() method of the SortableUpdateCallback, after the changes are
saved to the XML data source, I call ListView.detach() directly. So the
ListView gets a fresh, up-to-date version of the model.
hi,
On Thu, Nov 1, 2012 at 5:27 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
I've looked into this issue once more and it seems I solved it by.. doing
what Decebal said.
In the update() method of the SortableUpdateCallback, after the changes are
saved to the XML data source, I
I'm getting a little tired of working with the models, seems I have some
serious understanding problems.
The view is NOT up to date by just having jQuery move some elements back
and forth. The element IDs of the ListItems stay the same, so when I resort
the same (n-th) element twice, there are
Just create a quickstart and put it somewhere so that others could have a
look at it;-)
On Wed, Oct 31, 2012 at 3:20 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
I'm getting a little tired of working with the models, seems I have some
serious understanding problems.
The view
I have no maven installed, so I can't create a quickstart. Instead, I
zipped my project directory (an eclipse project) and uploaded it here:
http://uploaded.net/file/d2zahfva
Don't worry about the file size, all dependent libraries are in the
WEB-INF/lib directory. The project itself is actually
We're sorry but all of our available download slots are busy currently,
please try again within a few minutes.
Can you e-mail it to me directly?
On Wed, Oct 31, 2012 at 4:17 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
I have no maven installed, so I can't create a quickstart.
-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653434.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
@Decebal: Thank you. I realized the problem lies somewhere around the
model..
Changes in the sort order do get saved to the underlying .xml-file, but
those changes won't get rendered by just doing an AJAX update.
When I press F5 to make a browser refresh, the page gets rendered properly.
The
, the model object is
in cache and detach method is call automatically by wicket at the end of
request.
Best regards,
Decebal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653448.html
Sent from the Users
Well, that was the cause for all that trouble. Such a pity I didn't think
of it myself :P
Sure, the view is already up-to-date after resorting it via jQuery.
Everything's working now.
Thanks a lot, Decebal
/wicket-dashboard/blob/master/core/src/main/java/ro/fortsoft/wicket/dashboard/web/StopSortableAjaxBehavior.java
.Best regards,Decebal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653396.html
Sent from
Hi Decebal, thank you for your reply.
I had a look at your project and I can see that you collect the sort order
with a custom js function onStopWidgetMove(), but I'm not able to actually
track down where this information is received or the stopEvent is handled.
Could you please point me out how
Hey guys,
I'm having a hard time to get a jQuery-ui-sortable example with connected
lists (see [1]) working. Since the WiQuery API changed completely with
the last major release of Wicket and there are no up-to-date examples i can
find, i don't know what to do next. We're currently investigating
Hi Benedikt,
On Thu, Oct 25, 2012 at 6:30 PM, Benedikt Schlegel
codecab.dri...@googlemail.com wrote:
And i'm having an issue where the drop event isn't fired, when an item is
dropped at the first position of another sortable. Is anyone else
experiencing something similar or am I doing it
14 matches
Mail list logo