Hi, I am trying to figure out how to create a plugin framework with GWT, let me explain....
I have created an application that has a menu on the left side and a form on the right site of the screen. The menu is a tree and the form is a vertical panel (think of the example mail application). I have created a new class called CustomTreeItem that extends TreeItem. My custom class contains a member variable which is a vertical panel. When a user click on a instance of CustomTreeItem in the menu the vertical panel is displayed on the right site of the screen. I would like to extend this by allowing developers to produce custom forms. i.e allow developers to add in there own CustomTreeItems, without having to recompile with my code. My inital plan was to have a directory in the classpath, so at runtime a class loader on the server side would look for any classes that were derived from my CustomTreeItem in that folder and load them. The client would make an RPC request for the tree items, so it could build up the Tree. I quickly discovered that VerticalPanel couldn't be serialized (I assume because this is translated to javascript), so this wouldn't work. Is it possible for developers to create a vertical panel, and then translate it to js (storing it somewhere on the server) Then within my application if I know the name of the js/verticalpanel instance, load in and construct the panel? Any info/ideas/suggestions would be appreciated Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---