Met00
06-25-2008, 05:08 PM
Most people use the tree menus for menus. I need something better than that.
In this application a user will be defining a flow or path for an application. I want to allow them to build the various level components and then use multiple trees to move the components from one tree to another.
As an example we will use a school application where the user will create a training system which the application will walk them through. The system will consist of the following levels.
1) Topic area
2) Lessons
3) Examples
First the user will add examples to the system. Then they will create the lessons page. Finally they will create the topics pages.
Now I need a way to allow the user to associate the examples and the order that they want them presented to the user to the lessons. And then a way to associate the lessons to the topics.
A great visual method would be to have two trees at each level. They would enter the example-to-lesson page and select the lesson from the left tree and then select examples from the right tree and then either drag-and-drop the example UNDER the lesson or use a "move button" to move the example from it's tree to the lesson tree. It would also be nice if the user had the ability to move the example from one location to another within the left hand side of the tree.
When the user moves the item from the right hand tree to the left hand tree it sends the new parent id back to the server along with the items sequence number under that parent. If an item is moved in the left hand tree the server is updated with each move and re-indexed.
This tree-builder application will then be used again at the lesson-to-topic level to create the path from topics to lessons.
A final tree may look like:
topic1
- lesson1
-- example1
-- example2
-- example3
- lesson2
-- example4
-- example5
-- example6
-- example7
-- example8
-- example9
- lesson3
-- example10
-- example11
-- example12
- lesson4
-- example13
-- example14
topic2
- lesson5
-- example15
-- example16
-- example17
- lesson6
-- example18
-- example19
-- example20
-- example21
-- example22
-- example23
- lesson7
-- example24
-- example25
Thus when a user comes into the system they would start at topic1-Lesson1-Example1 and continue to transverse the tree until they get to topic2-lesson7-example25.
I have found any number of ajax trees that allow for you to dynamically build a user side menu from a tree structure stored in a database, but have yet to find anyone who has created a component that allows you to take a series of flat structures and dynamically build a tree from those components.
Any help locating a component that would be able to perform this type of action would be appreciated.
In this application a user will be defining a flow or path for an application. I want to allow them to build the various level components and then use multiple trees to move the components from one tree to another.
As an example we will use a school application where the user will create a training system which the application will walk them through. The system will consist of the following levels.
1) Topic area
2) Lessons
3) Examples
First the user will add examples to the system. Then they will create the lessons page. Finally they will create the topics pages.
Now I need a way to allow the user to associate the examples and the order that they want them presented to the user to the lessons. And then a way to associate the lessons to the topics.
A great visual method would be to have two trees at each level. They would enter the example-to-lesson page and select the lesson from the left tree and then select examples from the right tree and then either drag-and-drop the example UNDER the lesson or use a "move button" to move the example from it's tree to the lesson tree. It would also be nice if the user had the ability to move the example from one location to another within the left hand side of the tree.
When the user moves the item from the right hand tree to the left hand tree it sends the new parent id back to the server along with the items sequence number under that parent. If an item is moved in the left hand tree the server is updated with each move and re-indexed.
This tree-builder application will then be used again at the lesson-to-topic level to create the path from topics to lessons.
A final tree may look like:
topic1
- lesson1
-- example1
-- example2
-- example3
- lesson2
-- example4
-- example5
-- example6
-- example7
-- example8
-- example9
- lesson3
-- example10
-- example11
-- example12
- lesson4
-- example13
-- example14
topic2
- lesson5
-- example15
-- example16
-- example17
- lesson6
-- example18
-- example19
-- example20
-- example21
-- example22
-- example23
- lesson7
-- example24
-- example25
Thus when a user comes into the system they would start at topic1-Lesson1-Example1 and continue to transverse the tree until they get to topic2-lesson7-example25.
I have found any number of ajax trees that allow for you to dynamically build a user side menu from a tree structure stored in a database, but have yet to find anyone who has created a component that allows you to take a series of flat structures and dynamically build a tree from those components.
Any help locating a component that would be able to perform this type of action would be appreciated.