Can I create widgets / portlets in GWT that can be dynamically loaded and added to the GWT web application and where GWT widgets can be located in separate military files?
To clarify my question: JSR168 / JSR286 compatible portals allow you to create portlets in individual projects (military files) and dynamically upload them to the portal page. Suppose you want to do something similar in a GWT application. Suppose we have created a portal that uses only GWT for a graphical interface (without JSP or similar), and we want to dynamically add a "portlet" written in pure GWT. Is it possible?
I can imagine that this can be done using an IFrame, but it would be better if such a widget / portlet GWT would be completely part of the GWT host portal application and share its style sheets and other resources.
I would suggest that the "GWT portlet" is nothing more than a widget that you write (and perhaps implement a common interface).
The tough part is to dynamically allow the precompiled gwt application to include another gwt component (the portlet in this case) without compiling with the source code (which this question apparently implies).
, Wave. , , , , Google, api. Google GWT. , api , JSO GWT. , XSS, . , , swf flash. SWF .
I'm still new to GWT, but based on what I read, I can tell you that you should follow the MVP architecture with an application controller that โplugs inโ and โplaysโ dynamically what you want to send using metadata that should come from the model layer ... Something like a meta application