Hi Shai, I try to explain. In attach you can see the structure that I am realizing, for example, the application starts with the method called "Login" of "app.controller.UserController", in this method I set the layout that should be used (app.view.layout .LoginLayout). The controller method I instantiate the corresponding view (app.view.user.Login) that will present to me the classic form of authentication.
When authentic me the controller redirects me to the "Profile" method which uses the "app.view.layout.Default” layout, this layout I have also created the "Sidebar" where I wanted to use dynamic call other controllers. I hope I explained it clearly. > On May 27, 2016, at 7:11 AM, Shai Almog <[email protected]> wrote: > > > Hi, > can you be more clear about what specifically you are trying to accomplish? > > Using class.forName() won't give you an advantage of abstraction as you can't > link code dynamically anyway. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5D386F21-6993-4F82-8EAD-AD116AFB48FD%40gmail.com. For more options, visit https://groups.google.com/d/optout.
