<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Using a drag handle for drag n drop"]]></title>
		<link>http://www.icefaces.org/JForum/posts/list/15.page</link>
		<description><![CDATA[Latest messages posted in the topic "Using a drag handle for drag n drop"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Using a drag handle for drag n drop</title>
				<description><![CDATA[ Hello,

I am porting an existing app into Seam / icefaces.  I would like to be able to have draggable elements that use a drag handle rather then have the entire object draggable.  Specifically I want to use it inside a tree, where the leaf icon is draggable (and drags the icon + the label) and the label is clickable for a different action.  How can I accomplish this in Icefaces?

thanks much,
Dustin
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3475.page#16152</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3475.page#16152</link>
				<pubDate><![CDATA[Fri, 19 Jan 2007 19:05:51]]> GMT</pubDate>
				<author><![CDATA[ dustismo]]></author>
			</item>
			<item>
				<title>Re:Using a drag handle for drag n drop</title>
				<description><![CDATA[ Hi Dustin,

If I understand we you need to do, you just need to create a panelGroup around the leaf icon and label and make that draggable. You can set the dragValue of the draggable panelGroup to any id you'd like. When the tree receives the drop event it can look up the object by id. Is this what you were thinking of?

Thanks,
Philip]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3475.page#16153</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3475.page#16153</link>
				<pubDate><![CDATA[Fri, 19 Jan 2007 20:51:02]]> GMT</pubDate>
				<author><![CDATA[ philip.breau]]></author>
			</item>
			<item>
				<title>Re:Using a drag handle for drag n drop</title>
				<description><![CDATA[ Philip,

Thanks for the quick response.  That isn't exactly what I am talking about.  I have drag and drop working fine in my tree (can drag from folder to folder).  What I actually want is to have a 'drag handle'.  This is supported by sriptaculous (is the backing for the icefaces drag and drop, correct?)

So this is what it would look like in scriptaculous:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
&lt;div id="draggable"&gt;
&lt;span id=drag_handle"&gt;&lt;img src="someimg.png"&gt;&lt;/span&gt;
&lt;span id="content"&gt;
  &lt;!-- Extended content that does not respond to mouse dragging --&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;script&gt;
new Draggable&#40;'draggable', {scroll:window,
                       handle:'drag_handle',
			revert:true,
			ghost:true}&#41;;
&lt;/script&gt;
</pre>
		</div>

I'm guessing from the documentation, that this is not supported in Icefaces, but I thought I would ask :)

thanks,
Dustin]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3475.page#16225</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3475.page#16225</link>
				<pubDate><![CDATA[Mon, 22 Jan 2007 11:56:04]]> GMT</pubDate>
				<author><![CDATA[ dustismo]]></author>
			</item>
			<item>
				<title>Aw:Using a drag handle for drag n drop</title>
				<description><![CDATA[ did you find a solution to this? i would need exactly the same thing ...]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3475.page#27943</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3475.page#27943</link>
				<pubDate><![CDATA[Thu, 22 Nov 2007 08:17:33]]> GMT</pubDate>
				<author><![CDATA[ Timbo]]></author>
			</item>
			<item>
				<title>Re:Using a drag handle for drag n drop</title>
				<description><![CDATA[ I ended up dropping Icefaces altogether and doing all custom javascript/ajax using ext.js..

best,
Dustin]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3475.page#27981</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3475.page#27981</link>
				<pubDate><![CDATA[Thu, 22 Nov 2007 13:59:39]]> GMT</pubDate>
				<author><![CDATA[ dustismo]]></author>
			</item>
	</channel>
</rss>
