portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gonzalo Aguilar (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-1120) Portlet icon to be shown on toolbox should be loaded from application context
Date Wed, 24 Mar 2010 17:35:27 GMT

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

Gonzalo Aguilar commented on JS2-1120:

Hi Woonsan, 

While this is a good solution. It would be better to autodetect the portlet icon location.
So user has not to put any "extra" configuration. 

But I found that it's not trivial to check for a file. Maybe because I'm not an expert.

The question is...

Is there any way to get absolute path to both contexts (portal and app)?

This way I can check File(path).exists() before setting the path in the service bean...

> Portlet icon to be shown on toolbox should be loaded from application context
> -----------------------------------------------------------------------------
>                 Key: JS2-1120
>                 URL: https://issues.apache.org/jira/browse/JS2-1120
>             Project: Jetspeed 2
>          Issue Type: Improvement
>    Affects Versions: 2.2.1
>            Reporter: Gonzalo Aguilar
>            Assignee: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.2.2
>         Attachments: Prepatch-j2-admin-JS2-1120-20100307.patch, Prepatch-jetspeed2-JS2-1120-20100307.patch
> Portlet icons are currently loaded from Portal context. 
> It makes difficult to update individual Portlet icons because they must be deployed to
the Portal Application. 
> Proposed change is to make Portal to lookup the resource on Portlet context if the icon
is not found in the main Portal location.
> This will help developers update Portlet icons with application.

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