portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-1003) DOJO-based admin portlet doesn' show the contents correctly.
Date Tue, 12 May 2009 15:25:45 GMT

    [ https://issues.apache.org/jira/browse/JS2-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708463#action_12708463

Woonsan Ko commented on JS2-1003:

I fixed (2) and (3). Here's my explanation on this in the commit message:

Adding some optional dojo.requires to run j2-admin's permissions management portlet and constraints
management portlet.
The main problem is that dojo widgets are available only when the dojo requires are written
during page loading.
If dojo requires statement for a specific widget is added in the loaded page later, then the
widget cannot be accessible by dojo.widget.getId().
In the previous version, head contributions are initially done by a separate lifecycle for
every portlet window.
However, in JS-2.2's desktop mode, head contributions are done for each portlet content after
page loaded and dynamically added into the page.
This is why permissions management portlet and constraints management portlet did not work.

To resolve this problem, we can choose the following possible options:
(a) Add all dojo widget requires statements for j2-admin portlets in the headtag.xml, so every
widget requires lines are to be added by default.
(b) Consider to upgrade dojo toolkit if possible.
(c) If dojo.requires statements are newly added by a portlet window under desktop mode, reload
the page.

For 2.2 release, I'd like to stick to (a) because of the time constraints and reducing risks.

> DOJO-based admin portlet doesn' show the contents correctly.
> ------------------------------------------------------------
>                 Key: JS2-1003
>                 URL: https://issues.apache.org/jira/browse/JS2-1003
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Desktop
>    Affects Versions: 2.2.0
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>             Fix For: 2.2.0
> 1. Dojo-enabled portlet having DOJO Tab makes portal page menus show tabs suddenly under
desktop mode.
> At first, under desktop, the page menu does not show DOJO tab, but if a Dojo-enabled
portlet having DOJO tabs is shown, the portal page menu shows DOJO tabs suddenly.
> 2. j2-admin's Permissions management portlet does not show under desktop mode.
> 3. j2-admin's Constraints management portlet does not show correctly under desktop mode.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message