Migration of Cache Maintenance Page from JSPs to Screen Widget
-------------------------------------------------------------- Key: OFBIZ-418 URL: http://issues.apache.org/jira/browse/OFBIZ-418 Project: OFBiz (The Open for Business Project) Issue Type: Improvement Components: framework Affects Versions: SVN trunk Reporter: Marco Risaliti Priority: Minor This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. It contains also a lot of new labels translation Italian/English. Here the steps to follow to migrate this part of the Webtools application. 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, findUtilCacheElements.bsh 3- add into the folder framework/webtools/widget the file CacheScreens.xml 4- apply the utilcache.patch 5- one that everything is ok you can remove the following files: framework/webtools/webapp/webtools/cache/editUtilCache.jsp framework/webtools/webapp/webtools/cache/findUtilCache.jsp framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp Thanks in advance Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=all ]
Marco Risaliti updated OFBIZ-418: --------------------------------- Attachment: editUtilCache.ftl findUtilCache.ftl findUtilCacheElements.ftl > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Priority: Minor > Attachments: editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=all ]
Marco Risaliti updated OFBIZ-418: --------------------------------- Attachment: editUtilCache.bsh findUtilCache.bsh findUtilCacheElements.bsh > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Priority: Minor > Attachments: editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=all ]
Marco Risaliti updated OFBIZ-418: --------------------------------- Attachment: CacheScreens.xml utilCache.patch > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=comments#action_12446148 ]
David E. Jones commented on OFBIZ-418: -------------------------------------- Wanna see something cool? Try doing an "svn add" for all of the new files, and then do the "svn diff" to create a patch with both the new and changed files. You can do an svn add even if you can't commit as it is just a local change, and then the added files will be included in future diffs covering the files/directories/etc. > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=all ]
Jacopo Cappellato reassigned OFBIZ-418: --------------------------------------- Assignee: Jacopo Cappellato > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacopo Cappellato > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=comments#action_12446171 ]
Jacopo Cappellato commented on OFBIZ-418: ----------------------------------------- Marco, your patches and files are in svn with revisions: 469808, 469809 and 469812. I did some formatting changes (there were several tabs) and also the paths in the patch files were not relative and so I had to manually fix them. The mods look really good and it is great to get this kind of contributions. Thanks > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacopo Cappellato > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=comments#action_12446173 ]
Jacopo Cappellato commented on OFBIZ-418: ----------------------------------------- Before Marco spends too much time in the conversion, I'm wondering if there are some pages that we can simply disable or that are already disabled and we can remove (or not convert) Here is the list of the pages that still need to be converted: <view-map name="entityref" page="/entity/entityref.jsp"/> <view-map name="entityref_list" page="/entity/entityref_list.jsp"/> <view-map name="entityref_main" page="/entity/entityref_main.jsp"/> <view-map name="entitymaint" type="region"/> <view-map name="FindGeneric" type="region"/> <view-map name="ViewGeneric" type="region"/> <view-map name="ViewRelations" type="region"/> <!-- these are NOT regions because they generate text output that should never be decorated --> <view-map name="tablesMySql" page="/entity/tablesMySql.jsp"/> <view-map name="droptablesMySql" page="/entity/droptablesMySql.jsp"/> <view-map name="droptablesplain" page="/entity/droptablesplain.jsp"/> <view-map name="dataMySql" page="/entity/dataMySql.jsp"/> <view-map name="ModelWriter" page="/entity/ModelWriter.jsp"/> <view-map name="ModelGroupWriter" page="/entity/ModelGroupWriter.jsp"/> <view-map name="ModelInduceFromDb" page="/entity/ModelInduceFromDb.jsp"/> <view-map name="EditEntity" type="region"/> <view-map name="checkdb" type="region"/> <view-map name="xmldsdump" type="region"/> <view-map name="xmldsrawdump" page="/entity/xmldsrawdump.jsp"/> <view-map name="viewdatafile" type="region"/> <view-map name="readxpdl" type="region"/> <view-map name="workflowMonitor" type="region"/> <view-map name="StatsSinceStart" type="region"/> <view-map name="StatBinsHistory" type="region"/> <view-map name="EntityPerformanceTest" type="region"/> <view-map name="EditCustomTimePeriod" type="region"/> Are there any of them that we can remove or at least just comment out? For example, are the EditEntity, *MySql, droptablesplain still needed? And what about the EditCustomTimePeriod? And the Model* pages? (maybe these are good pages, just my ignorance). > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacopo Cappellato > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=all ]
Jacopo Cappellato resolved OFBIZ-418. ------------------------------------- Resolution: Fixed > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacopo Cappellato > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=comments#action_12446502 ]
Marco Risaliti commented on OFBIZ-418: -------------------------------------- Hi Jacopo, I'm sorry that I have provided a patch with all the formatting/tab spaces issue and with a wrong path on it. This wasn't my intention, it's caused because I'm moving from Windows XP to Mac Os and in the new OS I haven't the same tools I had in Windows. I'm trying to use SMARTSVN instead of TortoiseSVN and in the same moment I'm trying SubEclipse from Eclipse. So I hope now I have done the correct changes to avoid those problems. Did you know if there is some tool to see if a patch contains tab instead of blank spaces ? I will also use the suggestion by David about add new file to my local build of ofbiz so that when I made a patch it will be included automatically into the patch. I'm starting to convert Entity Maintenance and I have seen also a patch from Ashish and I will include it also into the new Screens widget. Thanks Marco > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacopo Cappellato > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-418?page=all ]
Jacopo Cappellato closed OFBIZ-418. ----------------------------------- > Migration of Cache Maintenance Page from JSPs to Screen Widget > -------------------------------------------------------------- > > Key: OFBIZ-418 > URL: http://issues.apache.org/jira/browse/OFBIZ-418 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Marco Risaliti > Assigned To: Jacopo Cappellato > Priority: Minor > Attachments: CacheScreens.xml, editUtilCache.bsh, editUtilCache.ftl, findUtilCache.bsh, findUtilCache.ftl, findUtilCacheElements.bsh, findUtilCacheElements.ftl, utilCache.patch > > > This is a patch for migrate the Cache Maintenance Page from JSPs to Screen Widget. > It contains also a lot of new labels translation Italian/English. > Here the steps to follow to migrate this part of the Webtools application. > 1- add into the folder framework/webtools/webapp/webtools/cache the files editUtilCache.ftl, findUtilCache.ftl, findUtilCacheElements.ftl > 2- add into the folder framework/webtools/webapp/webtools/WEB-INF/actions/cache the files editUtilCache.bsh, findUtilCache.bsh, > findUtilCacheElements.bsh > 3- add into the folder framework/webtools/widget the file CacheScreens.xml > 4- apply the utilcache.patch > 5- one that everything is ok you can remove the following files: > framework/webtools/webapp/webtools/cache/editUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCache.jsp > framework/webtools/webapp/webtools/cache/findUtilCacheElements.jsp > Thanks in advance > Marco -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |