dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21008
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9838: added cacheManifest for (anonymous) caseentry
------------------------------------------------------------
revno: 9838
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-02-19 16:57:46 +0700
message:
added cacheManifest for (anonymous) caseentry
added:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm
dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml
dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2013-02-19 08:33:46 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2013-02-19 09:57:46 +0000
@@ -109,6 +109,10 @@
<param name="requiredAuthorities">F_PATIENT_DATAVALUE_ADD,F_PATIENT_DATAVALUE_UPDATE,F_PATIENT_DATAVALUE_DELETE</param>
</action>
+ <action name="cacheManifest" class="org.hisp.dhis.commons.action.NoAction">
+ <result name="success" type="velocity-cache-manifest">/dhis-web-caseentry/cacheManifest.vm</result>
+ </action>
+
<action name="getProgramMetaData" class="org.hisp.dhis.caseentry.action.GetProgramMetaDataAction">
<result name="success" type="velocity-json">/dhis-web-caseentry/jsonProgramMetaData.vm</result>
</action>
@@ -119,6 +123,7 @@
<result name="success" type="velocity">/main.vm</result>
<param name="page">/dhis-web-caseentry/anonymousRegistration.vm</param>
<param name="menu">/dhis-web-caseentry/dataEntryMenu.vm</param>
+ <param name="manifest">../dhis-web-caseentry/cacheManifest.action</param>
<param name="javascripts">../dhis-web-commons/ouwt/ouwt.js
,javascript/commons.js
,javascript/anonymousRegistration.js
=== added file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm 1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm 2013-02-19 09:57:46 +0000
@@ -0,0 +1,87 @@
+CACHE MANIFEST
+# 2.11-SNAPSHOT V3
+NETWORK:
+*
+CACHE:
+../dhis-web-commons/css/light_blue/light_blue.css
+../dhis-web-commons/css/light_blue/logo_background.png
+../dhis-web-commons/css/light_blue/logo_banner.png
+../dhis-web-commons/css/light_blue/logo_separator.png
+../dhis-web-commons/css/widgets.css
+../dhis-web-commons/css/print.css
+../favicon.ico
+../dhis-web-commons/javascripts/jQuery/jquery.min.js
+../dhis-web-commons/javascripts/jQuery/jquery.metadata.js
+../dhis-web-commons/javascripts/jQuery/jquery.glob.js
+../dhis-web-commons/javascripts/jQuery/jquery.date.js
+../dhis-web-commons/javascripts/jQuery/jquery.tmpl.js
+../dhis-web-commons/i18nJavaScript.action
+../dhis-web-commons/javascripts/commons.js
+../dhis-web-commons/javascripts/lists.js
+../dhis-web-commons/javascripts/periodType.js
+../dhis-web-commons/javascripts/date.js
+../dhis-web-commons/javascripts/dhis2/dhis2.util.js
+../dhis-web-commons/javascripts/dhis2/dhis2.array.js
+../dhis-web-commons/javascripts/dhis2/dhis2.select.js
+../dhis-web-commons/javascripts/dhis2/dhis2.comparator.js
+../dhis-web-commons/javascripts/dhis2/dhis2.availability.js
+../dhis-web-commons/javascripts/dhis2/dhis2.storage.js
+../dhis-web-commons/javascripts/dhis2/dhis2.storage.dom.js
+../dhis-web-commons/javascripts/dhis2/dhis2.storage.idb.js
+../dhis-web-commons/javascripts/jQuery/jquery.cookie.js
+../main.js
+../dhis-web-commons/ouwt/ouwt.js
+../dhis-web-commons/fonts/LiberationSans-Regular-webfont.eot
+../dhis-web-commons/fonts/LiberationSans-Regular-webfont.woff
+../dhis-web-commons/fonts/LiberationSans-Regular-webfont.ttf
+../dhis-web-commons/fonts/LiberationSans-Regular-webfont.svg
+../dhis-web-commons/fonts/LiberationSans-Bold-webfont.eot
+../dhis-web-commons/fonts/LiberationSans-Bold-webfont.woff
+../dhis-web-commons/fonts/LiberationSans-Bold-webfont.ttf
+../dhis-web-commons/fonts/LiberationSans-Bold-webfont.svg
+../images/treeview-gray-line.gif
+../images/show_menu.png
+../images/hide_menu.png
+../images/home_small.png
+../images/search.png
+../images/calendar.png
+../images/colapse.png
+../images/expand.png
+../images/transparent.gif
+../images/help.png
+../images/hide.png
+../images/ajax-loader-circle.gif
+../images/ajax-loader-bar.gif
+
+# jquery-ui 1.9.1
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/jquery-ui-1.9.1.custom.css
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_2e83ff_256x240.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_6da8d5_256x240.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_217bc0_256x240.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_469bdd_256x240.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_cd0a0a_256x240.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_d8e7f3_256x240.png
+../dhis-web-commons/javascripts/jQuery/ui/css/redmond/images/ui-icons_f9bd01_256x240.png
+
+# case-entry
+javascript/commons.js
+javascript/anonymousRegistration.js
+javascript/entry.js
+images/ajax-loader-circle.gif
+images/close.gif
+images/comments.png
+images/data_entry.png
+images/flag-blue.png
+images/open.gif
+images/representative.png
+images/rightarrow.png
+images/sms.png
+style/style.css
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm 2013-02-11 11:34:30 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/cacheManifest.vm 2013-02-19 09:57:46 +0000
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# 2.11-SNAPSHOT V6
+# 2.11-SNAPSHOT V8
NETWORK:
*
CACHE:
@@ -26,6 +26,9 @@
javascripts/dhis2/dhis2.select.js
javascripts/dhis2/dhis2.comparator.js
javascripts/dhis2/dhis2.availability.js
+javascripts/dhis2/dhis2.storage.js
+javascripts/dhis2/dhis2.storage.dom.js
+javascripts/dhis2/dhis2.storage.idb.js
javascripts/jQuery/jquery.cookie.js
../main.js
ouwt/ouwt.js
@@ -50,4 +53,3 @@
../images/ajax-loader-bar.gif
../dhis-web-dataentry/javascript/form.js
../dhis-web-dataentry/javascript/entry.js
-../dhis-web-dataentry/javascript/history.js
\ No newline at end of file
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm 2013-02-14 14:39:57 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm 2013-02-19 09:57:46 +0000
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html#if( $offline && $offline == "true" ) manifest="../dhis-web-commons/cacheManifest.action"#end>
+<html#if( $manifest ) manifest="$manifest"#end>
<head>
<title>$encoder.htmlEncode( $applicationTitle )</title>
<link type="text/css" rel="stylesheet" media="screen" href="../dhis-web-commons/javascripts/jQuery/ui/css/redmond/jquery-ui-1.9.1.custom.css" />
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml 2012-12-14 13:46:47 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml 2013-02-19 09:57:46 +0000
@@ -49,7 +49,7 @@
<value>page</value>
<value>menu</value>
<value>hideMenu</value>
- <value>offline</value>
+ <value>manifest</value>
</set>
</property>
<property name="commaSeparatedParams">
=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml 2012-11-15 14:35:19 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/struts.xml 2013-02-19 09:57:46 +0000
@@ -15,7 +15,7 @@
<param name="menu">/dhis-web-dataentry/menu.vm</param>
<param name="javascripts">../dhis-web-commons/ouwt/ouwt.js,javascript/form.js,javascript/entry.js,javascript/history.js</param>
<param name="stylesheets">style/dhis-web-dataentry.css</param>
- <param name="offline">true</param>
+ <param name="manifest">../dhis-web-commons/cacheManifest.action</param>
</action>
<action name="getMetaData" class="org.hisp.dhis.de.action.GetMetaDataAction">