• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Draggable And Droppable Error in IE when the Droppable list count is < 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Draggable And Droppable Error in IE when the Droppable list count is < 2


  • Subject: Draggable And Droppable Error in IE when the Droppable list count is < 2
  • From: Pavan Kumar Jayam <email@hidden>
  • Date: Thu, 17 May 2012 13:13:08 +0530

Hi List,

I am using Project Wonder for Ajax actions in my project with WO 5.4.3.

When I implement Draggable and Droppable in my application it works fine with safari and Chrome browsers.

But when I verified the same functionality in IE 7 or 8 it is not working only when the droppable list is less than 2 or empty. It is working when the Droppable list contains two or more items.

The code follows like:

-------------------HTML Code-------------

<table cellpadding=4 cellspacing=0 width="100%" height="30%" id="AnswerOptionsTable">
<tr><td>
<webobject name = LeftDropBlock>
<Table>
<WEBOBJECT NAME=LeftItemRepetition>
<tr>
<TD><webobject name = "DragItem"><webobject name = "DragItemTitle"></webobject></webobject>&nbsp;&nbsp;&nbsp; </TD>
</TR>
</WEBOBJECT>
</Table>
</WEBOBJECT>
</td>
<td>
<webobject name = "RightDropBlock">
<Table>
<WEBOBJECT NAME=RightItemRepetition>
<tr>
<TD><webobject name = "DragItem"><webobject name = "DragItemTitle"></webobject></webobject>&nbsp;&nbsp;&nbsp; </TD>
</TR>
</WEBOBJECT>
</Table>
</WEBOBJECT>
</td></tr>


</TABLE>



-------------WOD Code---------------

DragItem : AjaxDraggable {
class = "draggableItem";
revert = false;
draggableObject = repetitionDragItem;
}

DragItemTitle : WOString {
value = repetitionDragItem.text;
escapeHTML = repetitionDragItem.escapeHTML;
}

LeftDropBlock : AjaxDroppable {
id = "leftDropBlock";
updateContainerID = "Container1";
action = droppedOnLeft;
droppedObject = droppedLeftObject;
onComplete = "function(request) { new Effect.Highlight('leftDropBlock'); new Effect.Highlight('rightDropBlock'); }";
}

RightDropBlock : AjaxDroppable {
id = "rightDropBlock";
updateContainerID = "MyContainer";
action = droppedOnRight;
droppedObject = droppedRightObject;
onComplete = "function(request) { new Effect.Highlight('leftDropBlock'); new Effect.Highlight('rightDropBlock');}";
}

LeftItemRepetition : WORepetition {
id="leftList";
list = leftList;
item = repetitionDragItem;
}

RightItemRepetition : WORepetition {
id = "rightList";
list = rightList;
item = repetitionDragItem;
}
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: AjaxUpdateContainer Empty Reponse
  • Next by Date: Re: Multiple foreign keys pointing to the same table
  • Previous by thread: Re: AjaxUpdateContainer Empty Reponse
  • Next by thread: maven deploy
  • Index(es):
    • Date
    • Thread