jimb
New Member
Posts: 20
|
Post by jimb on Jan 24, 2015 11:41:08 GMT 1
Hello,
Let's say that I have a root component, for example a VerticalLayout. Under this layout, I have added several components. Then sometimes I decide that I didn't need a VerticalLayout but e.g. a HorizontalLayout.
I tried to drag the new "root" component in different ways but I couldn't replace the existing one.
Any ideas?
Cheers,
jim
|
|
|
Post by Admin on Jan 26, 2015 9:48:07 GMT 1
I also had the same problem, but currently is quite difficult to implement a solution! An possible "hack" is to change the Decorator name directly in Mongo and reload the Prototype, but is of course not a clean solution. Probably the esasiest solution is to do exaclty the same thing programmatically (for the root only); I can show a popup with other possible Containers; take the type and directly change the value in the MongoDB and reload it. I will give a try...
|
|
jimb
New Member
Posts: 20
|
Post by jimb on Jan 26, 2015 11:40:01 GMT 1
Another solution would be to always "force" a root component of your choice. Wouldn't it?
|
|
|
Post by Admin on Jan 26, 2015 15:32:45 GMT 1
I did it! Without hacking the MongoDB as I mentioned, but simply by manipulating the references; I will release it with 2.2.
|
|
jimb
New Member
Posts: 20
|
Post by jimb on Jan 26, 2015 22:05:44 GMT 1
That's great news Alec! Looking forward for the 2.2 version
|
|