I did this for a project. It had a "target" portlet and a "source" portlet. I used JavaScript to pick up a row from the source and drop it on the target. The javascript was part of the target portlet. I used xml files to configure both the source and target portlets as to what the "key" was in the source, what to 'drag', and what 'key' the target would except and what the action was when the source was dropped on the target.
Is is very possible and pretty easy. I can't share the code because it was developed for the gov't on a project that doesn't allow it. Look up "Drag and Drop" on google. Find an example of javascript that drags a table entry around on the screen. A little work and viola! ----- Original Message ----- From: "Guanling Chen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 10:21 AM Subject: drag and drop > I know this is a wild shot for the Web interface, but > I really want this feature and I wondering whether > portlet will make it possible. What I'd like to do is > to drag a link from one portlet into another portlet, > causing different actions on server depends on which > portlet receives the link. For instance, the receiving > portlet can send the link via email, or print the > page. If portlet cannot do it, is there any other > techniques? > > Please laugh if the idea doesn't make sense ;-) > > Cheers, > Guanling > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
