Hello. I copied the example from the primefaces showcase, and the droppable part is not working.
When i drag the cross, in your website the dropable area gains focus, in mine nothing happens, so when i drop the content there the cross returns to the main table.
Is there something missing? Help please.
Using mojarra 2.0.4/2.1.2 and Primefaces 3.0 M1/M2.
Drag And Drop not working. Help
- mtranchant
- Posts: 20
- Joined: 04 Apr 2012, 12:59
- Location: France
- Contact:
Hi guys,
Old post, but I had the same issue until I added the small JS needed somewhere in the JSF :
It is not well explained in the showcase, but the PDF is more explicit.
Regards
Old post, but I had the same issue until I added the small JS needed somewhere in the JSF :
Code: Select all
<script type="text/javascript">
function handleDrop(event, ui) {
var droppedCar = ui.draggable;
droppedCar.fadeOut('fast');
}
</script>
Regards
JBossAS 7.1.1.Final - Mojarra 2.1.7 (Mojarra 2.1.7-jbossorg-1 (20120227-1401)) - PrimeFaces 3.3.1 (with theme bluesky 1.0.6) - PrimeFaces Extension 0.5.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 61 guests