[
https://issues.apache.org/jira/browse/APA-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Woonsan Ko closed APA-29.
-------------------------
Resolution: Won't Fix
I'd like to close this issue because of the following reasons:
a) Even with this servlet support, it still requires additional configuration
in a portlet web application to use portlets which needs javascript downloading.
b) This kind of servlet is too generic for apa-gems; I don't think apa-gems is
a proper location.
c) Somebody could make use of org.springframework.js.resource.ResourceServlet
for the same reason.
By the way, a portlet could be able to generate and serve resource urls for
javascript by itself. (e.g. IFrameGenericPortlet generating the resizing js url
with resource portlet url if portlet 2.0 is available.)
> Resource download servlet for static javascript resource files from within a
> JAR file.
> --------------------------------------------------------------------------------------
>
> Key: APA-29
> URL: https://issues.apache.org/jira/browse/APA-29
> Project: Portals Apps
> Issue Type: Improvement
> Components: apa-gems
> Affects Versions: apa-gems-1.0
> Reporter: Woonsan Ko
> Assignee: Woonsan Ko
> Fix For: apa-gems-1.1
>
>
> A portlet can depend on javascript resource files to contribute header
> elements or its own custom use.
> If a portlet is used as an out-of-box component packaged in a jar, it is
> sometimes difficult for end-users to copy and configure the javascript
> resource file paths in portlet.xml or web.xml. If the out-of-box component
> package is integrated by maven dependency, it would be worse because the
> additional javascript resource files must be manually copied from somewhere
> by the developer.
> So, if a portlet package jar file contains the javascript resource files and
> has a minimized guideline to configure a specific servlet to serve the
> javascript resource files from its own jar file, then it would reduce the
> pains.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.