Details
Description
The resource loading strategy for JSP tags could be improved. Currently, if not using Spring MVC resource mapping the developer must manually include the needed CSS, JavaScript and image resources in the application project structure.
The location of the various tag resources also currently lacks a standard structure. For instance, the iscroll.js resource is located under the JSF component resources, and in the ICEmobile Spring MVC demo. It would be better if there were only one location for this resource.
We may also consider a resource loading utility servlet that could be used in straight JSP (non-Spring MVC) environments, so that users are not forced to manually include the resources in their project structure.
It's also a bit odd that the folder name for the skins is 'org.icefaces.component.skins'. We may want to remove the ICEfaces reference here. I think 'skins' would suffice.
The location of the various tag resources also currently lacks a standard structure. For instance, the iscroll.js resource is located under the JSF component resources, and in the ICEmobile Spring MVC demo. It would be better if there were only one location for this resource.
We may also consider a resource loading utility servlet that could be used in straight JSP (non-Spring MVC) environments, so that users are not forced to manually include the resources in their project structure.
It's also a bit odd that the folder name for the skins is 'org.icefaces.component.skins'. We may want to remove the ICEfaces reference here. I think 'skins' would suffice.
Issue Links
- blocks
-
MOBI-260 Identify Improvements in component implementation strategies for multple platforms.
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Steve Maryka [ steve.maryka ] | Philip.breau [ philip.breau ] |
Philip Breau
made changes -
Fix Version/s | 1.2 Beta [ 10344 ] |
Philip Breau
made changes -
Summary | JSP Resource Loading Strategy | JSP Resource Loading and Consolidation Strategy |
Philip Breau
made changes -
Philip Breau
made changes -
Comment |
[ In relation to Currently, we have some duplication and overlap with the CSS resources. Source location ***************** jsp\src\main\resources\META-INF\web-resources\org.icefaces.component.skins jsp\src\main\resources\META-INF\web-resources\icemobile.js resources\themes jsf\components\component\resources\org.icefaces.component.util Built ***** CSS resources: icemobile-jsp.jar\META-INF\web-resources\org.icefaces.component.skins\ icefaces-mobi.jar\META-INF\resources\org.icefaces.component.skins\ JS resources: icefaces-mobi.jar\META-INF\resources\org.icefaces.component.util\ combined.js component.js iscroll.js [context root]\resources\org.icefaces.component.util\ iscroll.js ] |
Philip Breau
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |