Thanks a lot to the guys at Project Wonder who provided us with the Ajax Framework. It makes it really easy to improve our web interfaces. I feel much better now that I know I can stay web-based and avoid the whole rich client-web services nightmare!
I have two questions about the AjaxSortableList component.
1/ Is it normal, intended behaviour that if a AjaxSortableList is within a form, and a submit button is below the AjaxSortableList, then the submit button invokes an action on AjaxComponent? (AjaxComponent.invokeAction()) —Note that this does not happen when the submit button is above the AjaxSortableList in the page—.
This behaviour leads to exceptions like this one:
java.lang.IllegalArgumentException: Unknown list item ID array null at er.ajax.AjaxSortableList.handleRequest(AjaxSortableList.java:117) at er.ajax.AjaxComponent.invokeAction(AjaxComponent.java:55)
when the list ID, or the elements IDs in the list depend on a "repetitionItem" which is unbound when I hit the submit button
Actually, I face the same problem with AjaxDraggable and AjaxDroppable, so this is not specific to AjaxSortableList.
2/ Is AjaxSortableList usable with something other than plain text lists? I have tried using divs with complex content instead of "ul" and "li" elements, and this does not seem to work. I have tried using "ul" and "li" elements with complex content and this does not seem to work either. Could someone confirm this?
Thanks again.
|