I can confirm point 2 inasmuch as div content with padding and margins is concerned.  I haven't exhausted all the possibilities, but it seems that padding and margins cause problems.  You can specify width and height and use position:relative within the divs for positioning img tags and content.  If you try to use the rounded corner effect on a div with padding it gets really weird!

John

On Sep 1, 2006, at 12:47 PM, Jean Pierre Malrieu wrote:

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.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to