Foren

Drag and drop within a portlet

Jason Hirata, geändert vor 12 Jahren.

Drag and drop within a portlet

New Member Beiträge: 3 Beitrittsdatum: 13.05.11 Neueste Beiträge
I'm trying to enable HTML5 Drag and Drop in a portlet I'm writing. I know the javascript code is correct, because it works when used on it's own webpage, but when I add it to the view.jsp of my portlet, the code doesn't work. Not really sure why and could use some help.

thanks
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: Drag and drop within a portlet

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Have you tried using firebug to see if your javascript is being used?
Jason Hirata, geändert vor 12 Jahren.

RE: Drag and drop within a portlet

New Member Beiträge: 3 Beitrittsdatum: 13.05.11 Neueste Beiträge
Drag and drop seems to work fine in Firefox, but often seems to misfire in chrome.
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: Drag and drop within a portlet

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Drag and drop seems to work fine in Firefox, but often seems to misfire in chrome. ...


Must be using 6.0.6. emoticon
Jason Hirata, geändert vor 12 Jahren.

RE: Drag and drop within a portlet

New Member Beiträge: 3 Beitrittsdatum: 13.05.11 Neueste Beiträge
I believe that is the version of liferay I am using, but I'm not sure how that affects things............

Could you expand on that comment? I'd really like to get drag and drop in my portlet but if it is a major issue, this may become a show stopper.

Thanks