Is there any chance to build in, drag and drop in a way of items, like appointments etc..?
or is there any plugin, bean or something to achieve something like this.
see an example:
Is there any chance to build in, drag and drop in a way of items, like appointments etc..?
or is there any plugin, bean or something to achieve something like this.
see an example:
Several months ago we discussed the outlines for drag and drop support in Servoy.
The idea is to create onDragStart (method type) property on fields (and maybe other elements) and create onDropComplete on fields elements.
In this senario you could set a global with some data on the start and retrieve the data when complete (and act accordingly)
Let us know your ideas/suggestions.
Jan, I understand the first part of your suggestion. I don’t understand thought where/why that global comes in.
Do you mean that it is not possible to drag/drop to/from a field with a table.field attached as dataprovider?
Jan Blok:
The idea is to create onDragStart (method type) property on fields (and maybe other elements) and create onDropComplete on fields elements.
In this senario you could set a global with some data on the start and retrieve the data when complete (and act accordingly)
long awaited for this feature.. we also should be able to get the name of the dragged element (field or button) like getTriggeredElementName so that we can drop it on the right element based on the conditions
(for eg: if I dragged element A I want to drop it only on the element C not on B)
Normally on drag and drop there is actually an object attached to the cursor and moved, since thats to complicated in Servoy and not needed,
you specify somewhere (for example in a global) about what the cursor is dragging and get this data yourselfs when dropped.
(the only disadvantige of this approach is that you can not start a drag in Servoy and drop outside Servoy)
ahmad:
.. we also should be able to get the name of the dragged element (field or button)
Well you can store the name of the element in a global (in what we propose) and get it out when dropped
Jan if I understood you right,
visually drag and drop of an element (like you can in the upper example)on some kind of timeline, is not possible in Servoy?
How whould you define such a timeline ? buttons?lablels? fields?
maybe a new element: timeline
where you can define, size of the timeline, size of portions, the starttime and endtime and the portions between the sections-lines: like: 0:15 or 0:30 or 1:00
and the possibility to connect them (by a relation) to a date?
I am just thinking
Or maybe you have some other (splendid! ) idea?
I noticed this post and was wondering if there was some news yet about being able to use drag and drop within Servoy
DnD is planned for Servoy 3.0 from which a first beta will be shown on Servoy world
Jan Blok:
DnD is planned for Servoy 3.0 from which a first beta will be shown on Servoy world
That’s great news, Jan! Thanks for the update!
I at one time was working within a development enviroment, where you could use flow charts to design work flow logic within a solution. My brother works for a company that was developing this java based model. They decided to focus their efforts on other markets using different tools though.
It would be an interesting addition to Servoy. http://www.invisiondev.com/
any deeplinks,screenshots?
I believe I still have the content managemant, and workflow servers.There are a total of 5 servers and 2 repositories You will have to have visio and tomcat installed on your machine. Let me talk with him, and see if its ok to send you the development enviorment.
I was just blown away by AJAX possibilities:
http://www.smartclient.com/
Waaw, if this is what we can expect from Servoy 4.0 or 4.5, …
Cool guys, just do it! (hint, hint)
=)
Koen
Over recent weeks/months I have also found myself wishing for d-n-d in Servoy’s Smart Client UI. Just yesterday, I discovered that one is now able to drag-n-drop items in one’s Netflix queue and it all runs on a (huge) javascript.
Would this script work within Smart Client 3.x? 4?
http://www.netflix.com/layout/jscript/q … s?v=135877
More and more I am finding reasons to enable end-users to change the order of things on their screen by dragging them around. Asking them to type in a “new sort order number” and triggering an onFocusLost re-ordering method is just so, well, so '90s.
kazar
in servoy 3.5 you can integrate 3th party javascript libs by using a html text area where you have your javascripts includes (that must then resides on the server)
// javascript libs // custom html using the above js libs.jcompagner:
in servoy 3.5 you can integrate 3th party javascript libs by using a html text area where you have your javascripts includes
most excellent!
kazar
Drag and Drop is now doable between two tables with the new version of the Table-Bean: http://forum.servoy.com/viewtopic.php?t=9364&highlight=