I need to associate one identifiable thing with the ID of one or more
others obtained from a query submission. Right now I pop up a query, show the results in a table within that pop-up, let the user select an item, and then insert its ID into the main XML instance before I close the pop-up. Can anyone tell me how to use a drag and drop approach for this? My boss is jealous of the sexy JavaScript-library UIs that have this ability and is considering using a pure JavaScript-library approach instead of XForms (especially since our goal is to create a generic, model-driven but user-customizable form--I should probably talk to Erik about whether XForms is really the right answer for this). We have a couple of new people on staff that probably know JavaScript well enough to pull that off. I'm thinking it may be possible to use one of these libraries with XForms to allow drag and drop, but I don't know how to integrate the two. Has anyone done this before? Thanks, -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Jim,
YUI has solid support for DnD. DnD can be integrated in several ways with XForms and we are starting with an xforms:repeat integration. Here is some information about this project on our wiki: http://wiki.orbeon.com/forms/projects/form-builder-drag-and-drop Some of the work has already been done, but it is not quite complete and functional yet. Beside xforms:repeat, in general I can see two ways of integrating this kind of functionality with Orbeon Forms: * Do an ad-hoc integration of DnD by using JavaScript APIs to talk to the XForms engine (APIs we have now plus some new ones if needed). * Evaluate where integration would make the most sense (as in the case of xforms:repeat) and integrate this more natively with XForms. The bottom line is I think that supporting DnD and other fancier features doesn't require giving up on Orbeon Forms. BTW when you say "pop-up", do you mean xxforms:dialog, or is it a heavyweight browser window? -Erik On Oct 3, 2008, at 8:00 PM, Jim Logan wrote: > I need to associate one identifiable thing with the ID of one or > more others obtained from a query submission. Right now I pop up a > query, show the results in a table within that pop-up, let the user > select an item, and then insert its ID into the main XML instance > before I close the pop-up. > > Can anyone tell me how to use a drag and drop approach for this? My > boss is jealous of the sexy JavaScript-library UIs that have this > ability and is considering using a pure JavaScript-library approach > instead of XForms (especially since our goal is to create a generic, > model-driven but user-customizable form--I should probably talk to > Erik about whether XForms is really the right answer for this). We > have a couple of new people on staff that probably know JavaScript > well enough to pull that off. > > I'm thinking it may be possible to use one of these libraries with > XForms to allow drag and drop, but I don't know how to integrate the > two. Has anyone done this before? > > Thanks, > -Jim > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Erik Bruchez wrote:
> > BTW when you say "pop-up", do you mean xxforms:dialog, or is it a > heavyweight browser window? > > -Erik Erik, I mean a dialog. -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Jim Logan-3
Jim,
On Oct 3, 2008, at 8:00 PM, Jim Logan wrote: > I'm thinking it may be possible to use one of these libraries with > XForms to allow drag and drop, but I don't know how to integrate the > two. Has anyone done this before? How do you see the interface working, if DnD was used in your case to select a value? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Alessandro Vernet wrote:
> Jim, > > On Oct 3, 2008, at 8:00 PM, Jim Logan wrote: > >> I'm thinking it may be possible to use one of these libraries with >> XForms to allow drag and drop, but I don't know how to integrate the >> two. Has anyone done this before? > > How do you see the interface working, if DnD was used in your case to > select a value? -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
On Oct 20, 2008, at 9:58 AM, Jim Logan wrote:
> I can imagine having query results in a sidebar and dragging one or > more of the results to a form field. I see. It is fairly unlikely that we will be able support this type of drag & drop soon, unless someone implements it and contributes the implementation to the project, or someone sponsors this feature. We have planned to do some work with drag & drop, but this will be to support drag & drop in <xforms:repeat>. You can read more about this on: http://wiki.orbeon.com/forms/projects/form-builder-drag-and-drop Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |