Skip to content
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

API to set WindowState programmatically #37

Closed
caalador opened this issue Oct 9, 2019 · 0 comments · Fixed by #48
Closed

API to set WindowState programmatically #37

caalador opened this issue Oct 9, 2019 · 0 comments · Fixed by #48
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@caalador
Copy link
Contributor

caalador commented Oct 9, 2019

There should be API for setting the portlet WindowState from the server.
The API should be easy to use from the portlet view component.

If portlet is in 3.0 mode the window state should be set through the PortletHub,
for 2.0 portlets we should have a fallback to use ActionURL or RenderURL with window state information.

For both 2.0 and 3.0 mode the server should probably implement and handle public void processAction(ActionRequest request, ActionResponse response)

Acceptance criteria

  • There is an api to set the current WindowState (suggestion setWindowState(WindowState))
@pleku pleku mentioned this issue Oct 9, 2019
2 tasks
@caalador caalador self-assigned this Oct 15, 2019
caalador added a commit that referenced this issue Oct 15, 2019
Add methods to programmatically change
WindowState and PortletMode.

Added fallback for 2.0 using action

Fixes #37
Fixes #47
@ujoni ujoni added the enhancement New feature or request label Oct 15, 2019
caalador added a commit that referenced this issue Oct 17, 2019
Add methods to programmatically change
WindowState and PortletMode.

Added fallback for 2.0 using action

Fixes #37
Fixes #47
@caalador caalador added this to the 1.0.0.alpha1 milestone Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants