-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can Vaadin porlets enable PortletHub support automatically? #30
Comments
Pluto has a page for Portlet 3.0 features which can be used for testing the hub.
If we need to require the users to enable the hub when they want to use IPC features, we should then throw exceptions when they use it without enabling it first. |
Automating loading of PortletHub is possible when the portlet.xml is in portlet 3 mode
and then we can in VaadinPortlet have
Which will then load the portletHub when we are in portlet 3.0 mode. In portlet 2.0 and 1.0 modes it will just not load anything extra. The portlet Id is easiest to get from the response, so in the javascripts the After this we can register the portlet to the hub with for instance
The event listener for and now on a button click we could use the window state chage as
|
Find out, if it is possible to enable Portlet Hub for the Vaadin portlets automatically, so that the developer can leverage the Vaadin wrappers for the hub without a care in the world.
Links, where the portlet hub is activated:
The text was updated successfully, but these errors were encountered: