Changeset 16074 in main
- Timestamp:
- 05/01/18 15:58:04 (5 years ago)
- Location:
- trunk
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/db/src/main/scripts/mysql/data-cleanup.sql
r15971 r16074 134 134 135 135 136 /* SYNOPSIS: set the new v3 ip.synopsis column */ 137 update INDICATOR set SYNOPSIS = '[Required]'; 138 update INDICATOR i set SYNOPSIS = (select TITLE from INDICATOR_VIEW iv where iv.NAME = i.DEFAULT_INDICATOR_VIEW_NAME) 139 where exists (select TITLE from INDICATOR_VIEW iv where iv.NAME = i.DEFAULT_INDICATOR_VIEW_NAME); 140 136 /* CONCISE_TITLE: set the new v3 ip.CONCISE_TITLE column */ 137 update INDICATOR i set CONCISE_TITLE = (select substring(TITLE, 1, 100) from INDICATOR_VIEW iv where iv.NAME = i.DEFAULT_INDICATOR_VIEW_NAME); 141 138 142 139 -
trunk/db/src/main/scripts/mysql/tab_c-indicator.sql
r15971 r16074 18 18 NAME varchar (100) not null, 19 19 TITLE varchar (250) not null, /* This is the selection text - NOT to be used in the graphic title creation */ 20 SYNOPSIS varchar (250) not null, /* Summary - like a title - BASE_GRAPHIC_TITLE CORE_GRAPHIC_HEADING Is this the core text for code defined chart and map titles??????? */20 CONCISE_TITLE varchar (100) not null, /* Summary - like a title - BASE_GRAPHIC_TITLE CORE_GRAPHIC_HEADING Is this the core text for code defined chart and map titles??????? */ 21 21 DESCRIPTION varchar (500), 22 22 /* */ … … 39 39 DEFAULT_DENOMINATOR varchar (250) not null, 40 40 DATA_NOTE varchar (1000), /* as per Lois and Paul 8/1/2016: DATA_NOTE: IP, DSETS, MEASURE, ISSUES: DSOURCE and IP */ 41 DATA_ISSUES varchar (2000),42 41 ORG_UNIT_NAME varchar (100), 43 42 OWNER_USER_ID varchar (100), … … 67 66 NAME varchar (200) not null, 68 67 INDICATOR_NAME varchar (100) not null, 69 TITLE varchar (250) not null, /* used for selection - NOT part of the computed SYNOPSIS ???*/68 TITLE varchar (250) not null, /* used for selection - NOT part of the computed SYNOPSIS */ 70 69 DESCRIPTION varchar (500), 71 70 SURROGATE_VIEW_URL varchar (1024), /* Used for those special non data views. Will need it's own IPV XSLT so that we don't loose navigation */ … … 75 74 PERIOD_DIMENSION_NAME varchar (100) not null, /* This is needed for building the title and for determining which IP datasets */ 76 75 DATA_NOTE varchar (1000), /* added back/left in as per COP 9-11-2017. Was as per Lois and Paul 8/1/2016: DATA_NOTE: IP, DSETS, MEASURE, ISSUES: DSOURCE and IP */ 76 DATA_ISSUES varchar (2000), 77 77 /* */ 78 78 CHART_NAME varchar (100) not null, -
trunk/db/src/main/scripts/mysql/update_tabs.sql
r15789 r16074 33 33 alter table INDICATOR_TO_INDICATOR add column SORT_ORDER int default null; 34 34 35 alter table INDICATOR add column SYNOPSIS varchar(250) not null;35 alter table INDICATOR add column CONCISE_TITLE varchar(100) not null; 36 36 alter table INDICATOR add column FOOTNOTE_REFERENCES varchar(4000); 37 37 alter table INDICATOR add column DEMOGRAPHIC_FLAG varchar(1); … … 47 47 alter table INDICATOR_VIEW drop column TITLE; 48 48 alter table INDICATOR_VIEW change column SUB_TITLE TITLE varchar(250); 49 alter table INDICATOR_VIEW add column DATA_ISSUES varchar(2000); 49 50 50 51 alter table INDICATOR_VIEW add column SURROGATE_VIEW_URL varchar (1024); 51 52 alter table INDICATOR_VIEW add column SURROGATE_VIEW_JQUERY_SELECTOR varchar (50); 52 alter table INDICATOR_VIEW add column DATA_ISSUES varchar(2000);53 53 alter table INDICATOR_VIEW add column MAP_NARRATIVE varchar(4000); 54 54 alter table INDICATOR_VIEW add column CHART_TITLE_OVERRIDE varchar (250); -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/authority.xml
r15559 r16074 11 11 > 12 12 13 <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> 14 <bean id="authoritySelectedAuthorityNameSessionName" class="org.ibisph.model.StringHolder"> 15 <constructor-arg value="selectedAuthorityName"/> 16 </bean> 17 18 13 19 <!-- C O N T R O L L E R S --> 14 20 <bean id="authorityEditControllerProperties" abstract="true"> 15 21 <property name="dataBeanClassName" value="org.ibisph.user.databean.Authority"/> 16 <property name="selectedRecordKeyValueSessionName" value="selectedAuthorityName"/> 22 <property name="selectedRecordKeyValueSessionName" value=""/> 23 <property name="selectedRecordKeyValueSessionName" value="#{authoritySelectedAuthorityNameSessionName.string}"/> 17 24 <property name="dataBeanRecordKeyFieldName" value="NAME"/> 18 25 … … 36 43 37 44 45 46 <!-- S A V E C O N T R O L L E R S --> 38 47 <bean id="authoritySaveListController" class="org.ibisph.databean.springmvc.SaveController"> 39 48 <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/> … … 64 73 </map> 65 74 </property> 75 <property name="selectedNameSessionName" value="#{authoritySelectedAuthorityNameSessionName.string}"/> 66 76 </bean> 67 77 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/data_source.xml
r15563 r16074 11 11 > 12 12 13 <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> 14 <bean id="dataSourceSelectedDataSourceNameSessionName" class="org.ibisph.model.StringHolder"> 15 <constructor-arg value="selectedDataSourceName"/> 16 </bean> 17 18 13 19 <!-- C O N T R O L L E R S --> 14 20 <bean id="dataSourceEditControllerProperties" abstract="true"> 15 21 <property name="dataBeanClassName" value="org.ibisph.indicatorprofile.databean.DataSource"/> 16 <property name="selectedRecordKeyValueSessionName" value=" selectedDataSourceName"/>22 <property name="selectedRecordKeyValueSessionName" value="#{dataSourceSelectedDataSourceNameSessionName.string}"/> 17 23 <property name="dataBeanRecordKeyFieldName" value="NAME"/> 18 24 … … 42 48 43 49 44 50 <!-- S A V E C O N T R O L L E R S --> 45 51 <bean id="dataSourceSaveListController" class="org.ibisph.databean.springmvc.SaveController"> 46 52 <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/> … … 72 78 </map> 73 79 </property> 80 <property name="selectedNameSessionName" value="#{dataSourceSelectedDataSourceNameSessionName.string}"/> 74 81 </bean> 75 82 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/indicator.xml
r16027 r16074 205 205 <property name="currentStatusCodeHTTPRequestParameterName" value="nullStatusCode"/> 206 206 <property name="modifiedDescriptionMessage" value="Detail modified"/> 207 <property name="selectedNameSessionName" value="#{indicatorSelectedIndicatorNameSessionName.string}"/> 207 208 </bean> 208 209 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/indicator_dataset.xml
r16027 r16074 14 14 > 15 15 16 <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> 16 17 <bean id="datasetModelName" class="org.ibisph.model.StringHolder"> 17 18 <constructor-arg value="dataset"/> 19 </bean> 20 <bean id="indicatorDatasetSelectedIndicatorDatasetNameSessionName" class="org.ibisph.model.StringHolder"> 21 <constructor-arg value="selectedDatasetName"/> 18 22 </bean> 19 23 … … 27 31 28 32 29 30 33 <!-- E D I T C O N T R O L L E R S --> 31 34 <bean id="indicatorDatasetEditControllerProperties" parent="indicatorEditControllerProperties" abstract="true"> 32 35 <property name="indicatorChildModelName" value="#{datasetModelName.string}"/> 33 36 <property name="childDataBeanClassName" value="org.ibisph.indicatorprofile.databean.Dataset"/> 34 <property name="selectedIndicatorChildNameSessionName" value="selectedDatasetName"/>37 <property name="selectedIndicatorChildNameSessionName" value="#{indicatorDatasetSelectedIndicatorDatasetNameSessionName.string}"/> 35 38 </bean> 36 39 … … 114 117 </property> 115 118 <property name="modifiedDescriptionMessage" value="indicator dataset detail modified"/> 119 <property name="selectedNameSessionName" value="#{indicatorDatasetSelectedIndicatorDatasetNameSessionName.string}"/> 116 120 </bean> 117 121 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/indicator_view.xml
r16027 r16074 136 136 </property> 137 137 <property name="modifiedDescriptionMessage" value="indicator view detail modified"/> 138 <property name="selectedNameSessionName" value="#{indicatorSelectedIndicatorViewNameSessionName.string}"/> 138 139 </bean> 139 140 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/user.xml
r15559 r16074 11 11 > 12 12 13 <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> 14 <bean id="userSelectedUserIDSessionName" class="org.ibisph.model.StringHolder"> 15 <constructor-arg value="selectedUserID"/> 16 </bean> 17 18 13 19 <!-- C O N T R O L L E R S --> 14 20 <bean id="userEditControllerProperties" abstract="true"> 15 21 <property name="dataBeanClassName" value="org.ibisph.user.databean.User"/> 16 <property name="selectedRecordKeyValueSessionName" value=" selectedUserID"/>22 <property name="selectedRecordKeyValueSessionName" value="#{userSelectedUserIDSessionName.string}"/> 17 23 <property name="dataBeanRecordKeyFieldName" value="ID"/> 18 24 … … 54 60 55 61 62 56 63 <!-- S A V E C O N T R O L L E R S --> 64 65 <!-- NOTE: User doesn't have a save list controller - only save detail. --> 66 57 67 <bean id="userSaveDetailController" class="org.ibisph.databean.springmvc.SaveController"> 58 68 <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/> … … 72 82 </map> 73 83 </property> 84 <property name="selectedNameSessionName" value="#{userSelectedUserIDSessionName.string}"/> 74 85 </bean> 75 86 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/value_attribute.xml
r15559 r16074 11 11 > 12 12 13 <!-- M O D E L S / C O N T R O L L E R R E S O R U C E S --> 14 <bean id="valueAttributeSelectedValueAttributeNameSessionName" class="org.ibisph.model.StringHolder"> 15 <constructor-arg value="selectedValueAttributeName"/> 16 </bean> 17 18 13 19 <!-- C O N T R O L L E R S --> 14 20 <bean id="valueAttributeEditControllerProperties" abstract="true"> 15 21 <property name="dataBeanClassName" value="org.ibisph.indicatorprofile.databean.ValueAttribute"/> 16 <property name="selectedRecordKeyValueSessionName" value=" selectedValueAttributeName"/>22 <property name="selectedRecordKeyValueSessionName" value="#{valueAttributeSelectedValueAttributeNameSessionName.string}"/> 17 23 <property name="dataBeanRecordKeyFieldName" value="NAME"/> 18 24 … … 36 42 37 43 44 45 <!-- S A V E C O N T R O L L E R S --> 38 46 <bean id="valueAttributeSaveListController" class="org.ibisph.databean.springmvc.SaveController"> 39 47 <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/> … … 66 74 </map> 67 75 </property> 76 <property name="selectedNameSessionName" value="#{valueAttributeSelectedValueAttributeNameSessionName.string}"/> 68 77 </bean> 69 78 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/authority/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="authority/list" ><a href="javascript:requestPage('edit/authority/list')" title="List of">Authority List</a></li> 4 <li id="authority/detail"><a href="javascript:requestPage('edit/authority/detail')" title="Detail of">Authority Detail</a></li>4 <li id="authority/detail"><a href="javascript:requestPage('edit/authority/detail')" title="Detail of">Authority's Detail</a></li> 5 5 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/chart/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="chart/list" ><a href="javascript:requestPage('edit/chart/list')" title="List of">Chart List</a></li> 4 <li id="chart/detail"><a href="javascript:requestPage('edit/chart/detail')" title="Detail of">Chart Detail</a></li>4 <li id="chart/detail"><a href="javascript:requestPage('edit/chart/detail')" title="Detail of">Chart's Detail</a></li> 5 5 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/data_source/_menu_items.jsp
r15559 r16074 2 2 3 3 <li id="data_source/list" ><a href="javascript:requestPage('edit/data_source/list')" title="List of">Data Source List</a></li> 4 <li id="data_source/detail"><a href="javascript:requestPage('edit/data_source/detail')" title="Detail of">Data Source Detail</a></li>4 <li id="data_source/detail"><a href="javascript:requestPage('edit/data_source/detail')" title="Detail of">Data Source's Detail</a></li> 5 5 <li id="data_source/period"><a href="javascript:requestPage('edit/data_source/period')" title="Add new indicator view period dimension">Add New Year</a></li> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/dimension/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="dimension/list" ><a href="javascript:requestPage('edit/dimension/list')" title="List of">Dimension List</a></li> 4 <li id="dimension/detail"><a href="javascript:requestPage('edit/dimension/detail')" title="Detail of">Dimension Detail</a></li>4 <li id="dimension/detail"><a href="javascript:requestPage('edit/dimension/detail')" title="Detail of">Dimension's Detail</a></li> 5 5 <li id="dimension/values"><a href="javascript:requestPage('edit/dimension/values')" title="List of values">Dimension Values</a></li> 6 6 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/_menu_items.jsp
r15789 r16074 12 12 --%> 13 13 <li id="indicator/list" ><a href="javascript:requestPage('edit/indicator/list', '${selectedIndicatorName}')" title="Show the Main Indicator List page">Indicator List</a></li> 14 <li id="indicator/detail"><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator Main</a></li>14 <li id="indicator/detail"><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator's Detail</a></li> 15 15 <li id="indicator/available_services"><a href="javascript:requestPage('edit/indicator/available_services', '${selectedIndicatorName}')" title="Available services.">Available Services</a></li> 16 16 <li id="indicator/more_resources" ><a href="javascript:requestPage('edit/indicator/more_resources', '${selectedIndicatorName}')" title="Other resources.">More Resources</a></li> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/dataset/_menu_items.jsp
r15789 r16074 3 3 --%> 4 4 <li><a href="javascript:requestPage('edit/indicator/list')" title="Show the Main Indicator List page">Indicator List</a></li> 5 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator Main</a></li>5 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator's Detail</a></li> 6 6 <li class="InlineMenu"> 7 7 <input id ="ExpandableListInputControl.indicatorDatasetMenu" type="checkbox" checked="checked" title="Show/hide datasets nav menu"> … … 9 9 <ul> 10 10 <li id="indicator/dataset/list" ><a href="javascript:requestPage('edit/indicator/dataset/list', '${selectedIndicatorName}')" title="List of all datasets for the current, selected indicator.">Datasets List</a></li> 11 <li id="indicator/dataset/detail"><a href="javascript:requestPage('edit/indicator/dataset/detail', '${selectedDatasetName}')" title="Datasets's definition - textual info.">Dataset Detail</a></li>11 <li id="indicator/dataset/detail"><a href="javascript:requestPage('edit/indicator/dataset/detail', '${selectedDatasetName}')" title="Datasets's definition - textual info.">Dataset's Detail</a></li> 12 12 <li id="indicator/dataset/data_sources" class="MultiLine"> 13 13 <a href="javascript:requestPage('edit/indicator/dataset/data_sources', '${selectedDatasetName}')" -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/dataset/ancillary_values.jsp
r15715 r16074 92 92 <th scope="col" class="Name" title="Internal name of the record (must be unique).">Name</th> 93 93 <th scope="col" class="Description">Title</th> 94 <th scope="col" class="Description">Alternate Data Input Column Label</th>95 94 <th scope="col" class="SortOrder" title="Value used to determine how to order records (must be blank or numeric and can include decimal points).">Sort Order</th> 96 95 </tr> … … 122 121 </td> 123 122 <td class="Description">${ancillaryValue.title}</td> 124 <td class="Description">125 <%--126 <input type="text" name="label" maxlength="100" size="20" value="${dsAV.label}" ${inputControl} ${onChange}/>127 --%>128 </td>129 123 <td class="SortOrder"> 130 124 <input type="number" name="sortOrder" maxlength="10" size="3" value="${dsAV.sortOrder}" ${inputControl} ${onChange}/> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/dataset/detail.jsp
r15801 r16074 193 193 <th scope="row" title="This text is complete relacement for the default numerator text defined with the indicator."> 194 194 <label for="numerator">Numerator Override</label> 195 </th> 196 <td> 197 <textarea name="numerator" id="numerator" rows="3" ${inputControl} ${onChange}>${dataset.numerator}</textarea> 195 <div id="numeratorCounter"></div> 196 </th> 197 <td> 198 <textarea name="numerator" id="numerator" rows="3" maxlength="1000" ${inputControl} ${onChange}>${dataset.numerator}</textarea> 198 199 <div class="Suggestion">(Leave blank to use the indicator's default numerator text.)</div> 199 200 </td> … … 202 203 <th scope="row" title="This text is complete relacement for the default denominator text defined with the indicator."> 203 204 <label for="denominator">Denominator Override</label> 204 </th> 205 <td> 206 <textarea name="denominator" id="denominator" rows="3" ${inputControl} ${onChange}>${dataset.denominator}</textarea> 205 <div id="denominatorCounter"></div> 206 </th> 207 <td> 208 <textarea name="denominator" id="denominator" rows="3" maxlength="1000" ${inputControl} ${onChange}>${dataset.denominator}</textarea> 207 209 <div class="Suggestion">(Leave blank to use the indicator's default denominator text.)</div> 208 </td>209 </tr>210 <tr>211 <th scope="row">212 <label for="dataNote">Data Notes</label>213 </th>214 <td>215 <textarea name="dataNote" id="dataNote" rows="5" ${inputControl} ${onChange}>${dataset.dataNote}</textarea>216 210 </td> 217 211 </tr> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/dataset/list.jsp
r15789 r16074 50 50 <c:set var="navigationMenuContextItems"> 51 51 <li><a href="javascript:requestPage('edit/indicator/list')" title="Show the Main Indicator List page">Indicator List</a></li> 52 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator Main</a></li>52 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator's Detail</a></li> 53 53 <li class="InlineMenu"> 54 54 <input id ="ExpandableListInputControl.indicatorDatasetMenu" type="checkbox" checked="checked" title="Show/hide datasets nav menu"> … … 57 57 <li id="indicator/dataset/list"><a href="javascript:requestPage('edit/indicator/dataset/list/${selectedIndicatorName}.html')" title="List of all datasets for the current, selected indicator.">Datasets List</a></li> 58 58 <c:if test="${0 != fn:length(datasets)}"> 59 <li><a href="javascript:requestPage('edit/indicator/dataset/detail')" title="Datasets's definition - textual info.">Dataset Detail</a></li>59 <li><a href="javascript:requestPage('edit/indicator/dataset/detail')" title="Datasets's definition - textual info.">Dataset's Detail</a></li> 60 60 <li class="MultiLine"> 61 61 <a href="javascript:requestPage('edit/indicator/dataset/data_sources')" -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/detail.jsp
r15801 r16074 17 17 .TabbedContent 18 18 { 19 min-height: 8 50px;19 min-height: 800px; 20 20 } 21 21 </style> … … 45 45 msg = msg + "- The 'Data As Of' field can not be blank.\n"; 46 46 document.form.dataAsOfDate.focus(); 47 }48 if(isBlank(document.form.synopsis.value))49 {50 msg = msg + "- The 'Synopsis' field can not be blank.\n";51 document.form.synopsis.focus();52 47 } 53 48 if(isBlank(document.form.definition.value)) … … 251 246 <label for="title">Title *</label> 252 247 </th> 253 <td class="Title" title="Enter the main title for this indicator .">248 <td class="Title" title="Enter the main title for this indicator that is used for selection."> 254 249 <input type="text" name="title" id="title" 255 250 maxlength="250" … … 261 256 262 257 <tr> 263 <th scope="row" title="Root construct to be used in all indicator chart/map titles."> 264 <label for="synopsis">Synopsis *</label> 265 <div id="synopsisCounter"></div> 258 <th scope="row" title="Optional title override that is used in all indicator chart/map titles."> 259 <label for="conciseTitle">Concise Title</label> 266 260 </th> 267 261 <td class="Title" title="Core text used to generate this indicator's view chart/map titles"> 268 <textarea name="synopsis" id="synopsis" 269 rows="3" maxlength="250" 270 ${inputControl} ${onChange} 271 >${empty indicator.synopsis ? defaultRequiredFieldText : indicator.synopsis}</textarea> 262 <input type="text" name="conciseTitle" id="conciseTitle" 263 maxlength="100" 264 value="${indicator.conciseTitle}" 265 ${inputControl} ${onChange} 266 /> 272 267 </td> 273 268 </tr> … … 449 444 </th> 450 445 <td> 451 <textarea name="howDoing" id="howDoing" rows="1 2" maxlength="4000" ${inputControl} ${onChange}>${indicator.howDoing}</textarea>452 </td> 453 </tr> 454 <tr> 455 <th scope="col"> 456 <label for="howWeCompare">How do we compare nationally</label>446 <textarea name="howDoing" id="howDoing" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.howDoing}</textarea> 447 </td> 448 </tr> 449 <tr> 450 <th scope="col"> 451 <label for="howWeCompare">How do we Compare Nationally</label> 457 452 <div id="howWeCompareCounter"></div> 458 453 </th> 459 454 <td> 460 <textarea name="howWeCompare" id="howWeCompare" rows="1 2" maxlength="4000" ${inputControl} ${onChange}>${indicator.howWeCompare}</textarea>455 <textarea name="howWeCompare" id="howWeCompare" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.howWeCompare}</textarea> 461 456 </td> 462 457 </tr> … … 467 462 </th> 468 463 <td> 469 <textarea name="otherObjective" id="otherObjective" rows="1 2" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherObjective}</textarea>464 <textarea name="otherObjective" id="otherObjective" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherObjective}</textarea> 470 465 </td> 471 466 </tr> … … 486 481 </th> 487 482 <td> 488 <textarea name="whatDoing" id="whatDoing" rows="1 2" maxlength="4000" ${inputControl} ${onChange}>${indicator.whatDoing}</textarea>483 <textarea name="whatDoing" id="whatDoing" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.whatDoing}</textarea> 489 484 </td> 490 485 </tr> … … 495 490 </th> 496 491 <td> 497 <textarea name="evidenceBasedPractices" id="evidenceBasedPractices" rows="1 2" maxlength="4000" ${inputControl} ${onChange}>${indicator.evidenceBasedPractices}</textarea>492 <textarea name="evidenceBasedPractices" id="evidenceBasedPractices" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.evidenceBasedPractices}</textarea> 498 493 </td> 499 494 </tr> … … 504 499 </th> 505 500 <td> 506 <textarea name="otherProgramInformation" id="otherProgramInformation" rows="1 2" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherProgramInformation}</textarea>501 <textarea name="otherProgramInformation" id="otherProgramInformation" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherProgramInformation}</textarea> 507 502 </td> 508 503 </tr> … … 514 509 <div class="Tab"> 515 510 <input type="radio" id="tab-5" name="tab-group-1" class="Control" 516 /><label for="tab-5" title="Specify the View's chart">Data Notes and Issues</label>511 /><label for="tab-5" title="Specify the View's chart">Data Notes and Other</label> 517 512 <div class="Container"> 518 513 <table class="Detail" summary=""> … … 525 520 </th> 526 521 <td> 527 <textarea name="dataNote" id="dataNote" rows="15" maxlength="1000" ${inputControl} ${onChange}>${indicator.dataNote}</textarea> 528 </td> 529 </tr> 530 531 <tr> 532 <th scope="row" title="Interpretation issues specific to this indicator, supplemental to the data source issues."> 533 <label for="dataIssues">Supplemental Data Interpretation Issues</label> 534 <div id="dataIssuesCounter"></div> 535 </th> 536 <td> 537 <textarea name="dataIssues" id="dataIssues" 538 rows="18" maxlength="2000" 539 title="This text will appear along with the text from data source's issues." 540 ${inputControl} ${onChange} 541 >${indicator.dataIssues}</textarea> 542 </td> 543 </tr> 522 <textarea name="dataNote" id="dataNote" rows="10" maxlength="1000" ${inputControl} ${onChange}>${indicator.dataNote}</textarea> 523 </td> 524 </tr> 525 526 <tr><td colspan="2"><hr align="center"/></td></tr> 527 528 <tr> 529 <th scope="row" title="footnote reference that displays at the bottom of the report page."> 530 <label for="footnoteReferences">Bibliographic footnotes</label> 531 <div id="footnoteReferencesCounter"></div> 532 </th> 533 <td> 534 <textarea name="footnoteReferences" id="footnoteReferences" rows="10" maxlength="4000" ${inputControl} ${onChange}>${indicator.footnoteReferences}</textarea> 535 </td> 536 </tr> 537 538 <tr><td colspan="2"><hr align="center"/></td></tr> 539 540 <tr> 541 <th scope="row"> 542 <label for="description">Keywords</label> 543 <div id="descriptionCounter"></div> 544 </th> 545 <td class="Title"> 546 <textarea name="description" id="description" rows="5" maxlength="500" ${inputControl} ${onChange}>${indicator.description}</textarea> 547 </td> 548 </tr> 549 550 <tr><td colspan="2"><hr align="center"/></td></tr> 551 552 <tr> 553 <th scope="row"> 554 <label for="note">Editor Comments</label> 555 <div id="noteCounter"></div> 556 </th> 557 <td> 558 <textarea name="note" id="note" rows="5" maxlength="4000" ${inputControl} ${onChange}>${indicator.note}</textarea> 559 </td> 560 </tr> 561 544 562 </table> 545 563 </div> 546 564 </div> 547 565 548 <div class="Tab">549 <input type="radio" id="tab-6" name="tab-group-1" class="Control"550 /><label for="tab-6" title="Specify the View's chart">Other</label>551 <div class="Container">552 <table class="Detail" summary="">553 <tr>554 <th scope="row">555 <label for="description">Keywords</label>556 <div id="descriptionCounter"></div>557 </th>558 <td class="Title">559 <textarea name="description" id="description" rows="5" maxlength="500" ${inputControl} ${onChange}>${indicator.description}</textarea>560 </td>561 </tr>562 563 <tr>564 <th scope="row" title="footnote reference that displays at the bottom of the report page.">565 <label for="footnoteReferences">Bibliographic footnotes</label>566 <div id="footnoteReferencesCounter"></div>567 </th>568 <td>569 <textarea name="footnoteReferences" id="footnoteReferences" rows="15" maxlength="4000" ${inputControl} ${onChange}>${indicator.footnoteReferences}</textarea>570 </td>571 </tr>572 573 <tr><td colspan="2"><hr align="center"/></td></tr>574 575 <tr>576 <th scope="row">577 <label for="note">Editor Comments</label>578 <div id="noteCounter"></div>579 </th>580 <td>581 <textarea name="note" id="note" rows="15" maxlength="4000" ${inputControl} ${onChange}>${indicator.note}</textarea>582 </td>583 </tr>584 585 </table>586 </div>587 </div>588 589 566 </div> 590 567 <div class="Required">* = Required Input</div> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/list.jsp
r15789 r16074 96 96 <li id="indicator/list"><a href="javascript:requestPage('edit/indicator/list')" title="Show the Main Indicator List page">Indicator List</a></li> 97 97 <c:if test="${(0 < fn:length(indicators)) || userDetails.admin}"> 98 <li><a href="javascript:requestPage('edit/indicator/detail')" title="Title, definition, numerator, denominator, etc.">Indicator Main</a></li>98 <li><a href="javascript:requestPage('edit/indicator/detail')" title="Title, definition, numerator, denominator, etc.">Indicator's Detail</a></li> 99 99 <li><a href="javascript:requestPage('edit/indicator/available_services')" title="Available services.">Available Services</a></li> 100 100 <li><a href="javascript:requestPage('edit/indicator/more_resources')" title="Other resources.">More Resources</a></li> … … 146 146 <h2 class="Header">${pageTitle}</h2><a name="alphaIndex" style="height: 1px"></a> 147 147 148 <c:set var="showAlphaIndex" value="${fn:length(indicators) > 10}"/> 149 <c:if test="${showAlphaIndex}"> 148 150 <div class="JumpTo"> 149 151 Index: 150 <c:set var="prevFirstLetter" value=""/>151 <c:forEach var="indicator" items="${indicators}" varStatus="loopStatus">152 <c:set var="firstLetter" value="${fn:toUpperCase(fn:substring(indicator.title, 0, 1))}"/>153 <c:if test="${(prevFirstLetter < firstLetter) && (firstLetter >= 'A') && (firstLetter <= 'Z')}">154 <a href="#${firstLetter}" title="goto indicator titles that being with '${firstLetter}'">${firstLetter}</a>155 <c:set var="prevFirstLetter" value="${firstLetter}"/>156 </c:if>157 </c:forEach>152 <c:set var="prevFirstLetter" value=""/> 153 <c:forEach var="indicator" items="${indicators}" varStatus="loopStatus"> 154 <c:set var="firstLetter" value="${fn:toUpperCase(fn:substring(indicator.title, 0, 1))}"/> 155 <c:if test="${(prevFirstLetter < firstLetter) && (firstLetter >= 'A') && (firstLetter <= 'Z')}"> 156 <a href="#${firstLetter}" title="goto indicator titles that being with '${firstLetter}'">${firstLetter}</a> 157 <c:set var="prevFirstLetter" value="${firstLetter}"/> 158 </c:if> 159 </c:forEach> 158 160 </div> 161 </c:if> 159 162 160 163 <table class="List" summary="List table - Top row contains the column titles, following rows represent a data record row."> … … 179 182 180 183 <c:set var="firstLetter" value="${fn:toUpperCase(fn:substring(indicator.title, 0, 1))}"/> 181 <c:if test="${ (prevFirstLetter < firstLetter) && (firstLetter >= 'A') && (firstLetter <= 'Z')}">184 <c:if test="${showAlphaIndex && (prevFirstLetter < firstLetter) && (firstLetter >= 'A') && (firstLetter <= 'Z')}"> 182 185 <tr><td colspan="9"> 183 186 <a href="#alphaIndex" class="FloatRight" title="Click here to jump back to the alphabetical index.">To Index</a> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/view/_menu_items.jsp
r15789 r16074 2 2 3 3 <li><a href="javascript:requestPage('edit/indicator/list')" title="Show the Main Indicator List page">Indicator List</a></li> 4 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator Main</a></li>4 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator's Detail</a></li> 5 5 <c:if test="${userDetails.admin}"> 6 6 <li><a href="javascript:requestPage('edit/indicator/dataset/list', '${selectedIndicatorName}')" title="Datasets.">Datasets List</a></li> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/view/detail.jsp
r15802 r16074 263 263 </td> 264 264 </tr> 265 <tr> 266 <th scope="row" title="Interpretation issues specific to this indicator view, primary issues with the data source issues providing supplemental issues."> 267 <label for="dataIssues">Supplemental Data Interpretation Issues</label> 268 <div id="dataIssuesCounter"></div> 269 </th> 270 <td> 271 <textarea name="dataIssues" id="dataIssues" 272 rows="18" maxlength="2000" 273 title="This text will appear along with the text from data source's issues." 274 ${inputControl} ${onChange} 275 >${indicatorView.dataIssues}</textarea> 276 </td> 277 </tr> 265 278 266 279 <tr><td colspan="2"><hr align="center" valign="middle"></td></tr> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/view/list.jsp
r16027 r16074 67 67 <c:set var="navigationMenuContextItems"> 68 68 <li><a href="javascript:requestPage('edit/indicator/list')" title="Show the Main Indicator List page">Indicator List</a></li> 69 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator Main</a></li>69 <li><a href="javascript:requestPage('edit/indicator/detail', '${selectedIndicatorName}')" title="Title, definition, numerator, denominator, etc.">Indicator's Detail</a></li> 70 70 <c:if test="${userDetails.admin}"> 71 71 <li><a href="javascript:requestPage('edit/indicator/dataset/list', '${selectedIndicatorName}')" title="Datasets.">Datasets List</a></li> … … 131 131 <tr> 132 132 <th scope="col" class="Selection" title="Controls which record is selected when editing associated detail.">Selection</th> 133 <th scope="col" class="Selection" title="Shows the default data view for the indicator. This value is set on the Indicator MainPage.">Default Data View</th>133 <th scope="col" class="Selection" title="Shows the default data view for the indicator. This value is set on the Indicator Detail Page.">Default Data View</th> 134 134 <th scope="col" class="Name" title="Internal name of the record (must be unique).">Name</th> 135 135 <th scope="col" class="Title" width="30%">Title</th> … … 156 156 <input type="radio" name="defaultIndicatorViewName" value="${indicatorView.name}" style="cursor:pointer;" 157 157 readonly="readonly" checked="checked" onclick="requestPage('edit/indicator/detail/${indicator.name}.html#defaultViewName');" 158 title="Click here to jump to the Indicator MainPage to Edit this value."158 title="Click here to jump to the Indicator Detail Page to Edit this value." 159 159 /> 160 160 </c:if> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator_set/_menu_items.jsp
r14819 r16074 2 2 3 3 <li id="indicator_set/list" ><a href="javascript:requestPage('edit/indicator_set/list')" title="List of">Indicator Set List</a></li> 4 <li id="indicator_set/detail" ><a href="javascript:requestPage('edit/indicator_set/detail')" title="Detail of">Indicator Set Detail</a></li>4 <li id="indicator_set/detail" ><a href="javascript:requestPage('edit/indicator_set/detail')" title="Detail of">Indicator Set's Detail</a></li> 5 5 <li id="indicator_set/indicators"><a href="javascript:requestPage('edit/indicator_set/indicators')" title="Detail of">Indicator Set Indicators</a></li> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/initiative/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="initiative/list" ><a href="javascript:requestPage('edit/initiative/list')" title="List of">Initiative List</a></li> 4 <li id="initiative/detail"><a href="javascript:requestPage('edit/initiative/detail', '${selectedInitiativeName}')" title="Detail of">Initiative Detail</a></li>4 <li id="initiative/detail"><a href="javascript:requestPage('edit/initiative/detail', '${selectedInitiativeName}')" title="Detail of">Initiative's Detail</a></li> 5 5 <li id="initiative/topic/list" class="MultiLine"> 6 6 <a href="javascript:requestPage('edit/initiative/topic/list', '${selectedInitiativeName}')" -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/map/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="map/list" ><a href="javascript:requestPage('edit/map/list')" title="List of">Map List</a></li> 4 <li id="map/detail"><a href="javascript:requestPage('edit/map/detail')" title="Detail of">Map Detail</a></li>4 <li id="map/detail"><a href="javascript:requestPage('edit/map/detail')" title="Detail of">Map's Detail</a></li> 5 5 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/measure/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="measure/list" ><a href="javascript:requestPage('edit/measure/list')" title="List of">Measure List</a></li> 4 <li id="measure/detail"><a href="javascript:requestPage('edit/measure/detail')" title="Detail of">Measure Detail</a></li>4 <li id="measure/detail"><a href="javascript:requestPage('edit/measure/detail')" title="Detail of">Measure's Detail</a></li> 5 5 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/org_unit/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="org_unit/list" ><a href="javascript:requestPage('edit/org_unit/list')" title="List of">Org Unit List</a></li> 4 <li id="org_unit/detail"><a href="javascript:requestPage('edit/org_unit/detail')" title="Detail of">Org Unit Detail</a></li>4 <li id="org_unit/detail"><a href="javascript:requestPage('edit/org_unit/detail')" title="Detail of">Org Unit's Detail</a></li> 5 5 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/topic/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="topic/list" ><a href="javascript:requestPage('edit/topic/list')" title="List of">Topic List</a></li> 4 <li id="topic/detail"><a href="javascript:requestPage('edit/topic/detail')" title="Detail of">Topic Detail</a></li>4 <li id="topic/detail"><a href="javascript:requestPage('edit/topic/detail')" title="Detail of">Topic's Detail</a></li> 5 5 -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/user/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="user/list" ><a href="javascript:requestPage('edit/user/list')" title="List of">User List</a></li> 4 <li id="user/detail"><a href="javascript:requestPage('edit/user/detail', '${selectedUserID}')" title="Detail of">User Detail</a></li>4 <li id="user/detail"><a href="javascript:requestPage('edit/user/detail', '${selectedUserID}')" title="Detail of">User's Detail</a></li> 5 5 <li id="user/authorities"><a href="javascript:requestPage('edit/user/authorities', '${selectedUserID}')" title="Assign/maintain user authorities">User Authorities</a></li> 6 6 <li id="user/roles"><a href="javascript:requestPage('edit/user/roles', '${selectedUserID}')" title="Assign/maintain user roles">User Roles</a></li> -
trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/value_type/_menu_items.jsp
r13329 r16074 2 2 3 3 <li id="value_type/list" ><a href="javascript:requestPage('edit/value_type/list')" title="List of">Value Type List</a></li> 4 <li id="value_type/detail"><a href="javascript:requestPage('edit/value_type/detail')" title="Detail of">Value Type Detail</a></li>4 <li id="value_type/detail"><a href="javascript:requestPage('edit/value_type/detail')" title="Detail of">Value Type's Detail</a></li> 5 5 -
trunk/ibisph-view/src/main/webapp/WEB-INF/config/spring/publish-remote.xml
r14837 r16074 62 62 </bean> 63 63 64 <!-- This bean when instan is used to verify/create a published indicators65 XML file should it not exist. This is useful for new deployments or if66 the XML is corrupt etc. It is typically used when app wired for67 receiving publishing requests or if want the app to verify the the68 published indicators XML exists and/or to rebuild it upon app startup69 (bean creation). If the admin app is wired to publish directly then70 this service is not needed (which is not the case with remote71 publishing). Summary: Service provides published_indicators.xml file72 management.73 -->74 64 <bean id="publishVerifyPublishedIndicatorsXMLFileService" 75 65 class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" 76 66 > 67 <description> 68 This bean when instan is used to verify/create a published indicators 69 XML file should it not exist. This is useful for new deployments or if 70 the XML is corrupt etc. It is typically used when app wired for 71 receiving publishing requests or if want the app to verify the the 72 published indicators XML exists and/or to rebuild it upon app startup 73 (bean creation). If the admin app is wired to publish directly then 74 this service is not needed (which is not the case with remote 75 publishing). Summary: Service provides published_indicators.xml file 76 management. 77 </description> 77 78 <property name="targetObject" ref="publishPublishedIndicatorsXMLService"/> 78 79 <property name="targetMethod" value="verifyPublishedIndicatorsXMLFile"/> -
trunk/ibisph-view/src/main/webapp/css/Graphic.css
r16027 r16074 76 76 } 77 77 78 .Graphic.Map a 79 { 80 padding: 0; 81 } 82 78 83 .Graphic.Map .GeoLabel 79 84 { … … 270 275 .Graphic.Map .leaflet-control-layers .item-container label 271 276 { 272 padding: 0 .25em 0 1em;277 padding: 0.25em .25em 0 1em; 273 278 } 274 279 .Graphic.Map .leaflet-control-layers .item-container label input … … 276 281 float: left; 277 282 margin-right: 0.5em; 278 margin-top: 0.25em;279 283 } 280 284 .Graphic.Map .leaflet-control-layers .item-container label div … … 286 290 float: right; 287 291 background-image: url("../image/icon/16/download_blue-box.png"); 288 margin-right: 0.5em;289 margin -top: 0.25em;292 background-repeat: no-repeat; 293 margin: 0.25em 0.5em 0 0.5em; 290 294 width: 16px; 291 295 height: 16px; -
trunk/ibisph-view/src/main/webapp/css/SocialMedia.css
r6892 r16074 4 4 .SocialMedia 5 5 { 6 border-bottom: 1px dotted #777777;7 margin: 0 0px 0 0px;8 padding-top: 10px;9 6 } 10 7 .SocialMedia a 11 8 { 12 padding: 8px 6px 0 0px; 13 float: right; 9 margin: 8px 3px 5px 0px; 10 padding: 0px; 11 width: 32px; 12 height: 32px; 13 float: right; 14 14 } 15 15 .SocialMedia a img 16 16 { 17 border: 0px;17 border: 0px; 18 18 } 19 19 /*============================ End of Style Sheet ============================*/ -
trunk/ibisph-view/src/main/webapp/css/_layout.css
r16030 r16074 302 302 { 303 303 position: relative; 304 top: 8px;304 top: 11px; 305 305 height: 35px; 306 306 border: none; … … 376 376 margin-top: 1.3rem; 377 377 } 378 378 379 379 380 … … 568 569 } 569 570 571 572 570 573 #footer .SocialMedia 571 574 { … … 576 579 margin: 0; 577 580 } 581 582 578 583 579 584 #footer .Section -
trunk/ibisph-view/src/main/webapp/css/_responsive-large.css
r16030 r16074 11 11 } 12 12 13 #siteSearchSubmitButton 14 { 15 top: 10px; 16 } 13 17 14 18 #siteNavigation ul.HorizontalMenu.HorizontalTabList -
trunk/ibisph-view/src/main/webapp/css/_responsive-tiny.css
r16027 r16074 177 177 opacity: 1; 178 178 } 179 180 #siteSearchSubmitButton181 {182 top: 10px;183 }184 185 179 186 180 -
trunk/ibisph-view/src/main/webapp/xslt/html/SelectionsList.xslt
r15958 r16074 53 53 [DIV [TITLE]=text, [DESC]=title - if NO href] 54 54 55 [A class= JumpTo[NAME]=name - if NAME - this is a jump to]55 [A class=OffPage [NAME]=name - if NAME - this is a jump to] 56 56 57 57 [H# with SELECTIONS/TITLE - if containerTitleFlag is true and sub selections] … … 74 74 [DIV [TITLE]=text, [DESC]=title - if NO href] 75 75 76 [A class= JumpTo[NAME]=name - if NAME - this is a jump to]76 [A class=OffPage [NAME]=name - if NAME - this is a jump to] 77 77 78 78 [H# with SELECTIONS/TITLE - if containerTitleFlag is true and sub selections] … … 272 272 273 273 <xsl:if test="(string-length(NAME) != 0)"> 274 <a name="{NAME}" class=" JumpTo"/>274 <a name="{NAME}" class="OffPage"/> 275 275 </xsl:if> 276 276 -
trunk/ibisph-view/src/main/webapp/xslt/html/SiteSpecific.xslt
r16030 r16074 307 307 </xsl:when> 308 308 <xsl:when test="count($SiteSpecific.contextNavigationSelections/SELECTIONS) != 0"> 309 <xsl:copy-of select="$SiteSpecific.contextNavigationSelections/SELECTIONS "/>309 <xsl:copy-of select="$SiteSpecific.contextNavigationSelections/SELECTIONS/SELECTION"/> 310 310 </xsl:when> 311 311 </xsl:choose> 312 <SELECTION><TITLE>Share This Page</TITLE></SELECTION> 312 313 </xsl:with-param> 313 314 <xsl:with-param name="containerClass" select="'VerticalMenu'"/> 314 315 <xsl:with-param name="showContainerTitleFlag" select="false()"/> 315 316 </xsl:call-template> 317 318 <div class="SocialMedia"> 319 <a href="#" onclick="window.print();return false;" 320 title="Print this page and share it" 321 rel="nofollow" target="_blank" 322 > 323 <img src="{$ibis.urlPrefix}image/icon/32/printer.gif"/> 324 </a> 325 <a href="javascript:window.open('http://www.facebook.com/sharer.php?url=' + location.href)" 326 title="Share this page on Facebook" 327 rel="nofollow" target="_blank" 328 > 329 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/facebook-blue.png" alt="Facebook logo"/> 330 </a> 331 <a href="javascript:window.open('http://twitter.com/share?url=' + location.href)" 332 title="Share this page on Twitter" 333 rel="nofollow" target="_blank" 334 > 335 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/twitter-blue.png" alt="Twitter logo"/> 336 </a> 337 <a href="javascript:window.open('https://plus.google.com/share?url=' + location.href)" 338 title="Share this page on Google+" 339 rel="nofollow" target="_blank" 340 > 341 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/google_plus-red.png" alt="Google+ logo"/> 342 </a> 343 <a href="javascript:window.open('http://www.linkedin.com/shareArticle?url=' + location.href)" 344 title="Share this page on LinkedIn" 345 rel="nofollow" target="_blank" 346 > 347 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/linkedin-blue.png" alt="LinkedIn logo"/> 348 </a> 349 </div> 316 350 </nav> 317 351 </xsl:template> … … 354 388 <li><a href="http://www.ibisph.org/">IBIS-PH Community of Practice</a></li> 355 389 </ul> 356 357 <div class="SocialMedia">358 <a href="#" onclick="window.print();return false;">359 <img src="{$ibis.urlPrefix}image/icon/32/printer.gif"/>360 </a>361 <a href="javascript:window.open('http://www.facebook.com/sharer.php?url=' + location.href)"362 title="Share this page on Facebook"363 rel="nofollow" target="_blank">364 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/facebook-blue.png"365 alt="Facebook logo"/>366 </a>367 <a href="javascript:window.open('http://twitter.com/share?url=' + location.href)"368 title="Share this page on Twitter"369 rel="nofollow" target="_blank">370 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/twitter-blue.png"371 alt="Twitter logo"/>372 </a>373 <a href="javascript:window.open('https://plus.google.com/share?url=' + location.href)"374 title="Share this page on Google+"375 rel="nofollow" target="_blank">376 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/google_plus-red.png"377 alt="Google+ logo"/>378 </a>379 <a href="javascript:window.open('http://www.linkedin.com/shareArticle?url=' + location.href)"380 title="Share this page on LinkedIn"381 rel="nofollow" target="_blank">382 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/linkedin-blue.png"383 alt="LinkedIn logo"/>384 </a>385 </div>386 390 </div> 387 391 … … 411 415 </xsl:template> 412 416 417 418 <xsl:template name="socialMediaLinks"> 419 <nav class="SocialMedia"> 420 <ul> 421 <li> 422 <a href="javascript:window.open('http://www.facebook.com/sharer.php?url=' + location.href)" 423 class="Facebook" title="Share this page on Facebook" 424 rel="nofollow" target="_blank"> 425 </a> 426 </li> 427 <li> 428 <a href="javascript:window.open('http://twitter.com/share?url=' + location.href)" 429 class="Twitter" title="Share this page on Twitter" 430 rel="nofollow" target="_blank"> 431 </a> 432 </li> 433 </ul> 434 </nav> 435 </xsl:template> 436 <!-- 437 <li><a href="#" class="Youtube" title="YouTube">YouTube</a></li> 438 <li><a href="#" class="Flickr" title="Flickr">Flickr</a></li> 439 <li><a href="http://www.maryland.gov/pages/social_media.aspx" class="All" title="MD Social Media Directory">MD Social Media Directory</a></li> 440 441 <a href="javascript:window.open('http://www.facebook.com/sharer.php?url=' + location.href)" 442 title="Share this page on Facebook" 443 rel="nofollow" target="_blank"> 444 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/facebook-blue.png" 445 alt="Facebook logo"/> 446 </a> 447 <a href="javascript:window.open('http://twitter.com/share?url=' + location.href)" 448 title="Share this page on Twitter" 449 rel="nofollow" target="_blank"> 450 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/twitter-blue.png" 451 alt="Twitter logo"/> 452 </a> 453 <a href="#" onclick="window.print();return false;"> 454 <img src="{$ibis.urlPrefix}image/icon/32/printer.gif"/> 455 </a> 456 457 <a href="javascript:window.open('https://plus.google.com/share?url=' + location.href)" 458 title="Share this page on Google+" 459 rel="nofollow" target="_blank"> 460 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/google_plus-red.png" 461 alt="Google+ logo"/> 462 </a> 463 <a href="javascript:window.open('http://www.linkedin.com/shareArticle?url=' + location.href)" 464 title="Share this page on LinkedIn" 465 rel="nofollow" target="_blank"> 466 <img typeof="foaf:Image" src="{$ibis.urlPrefix}image/icon/32/linkedin-blue.png" 467 alt="LinkedIn logo"/> 468 </a> 469 --> 470 471 413 472 </xsl:stylesheet> 414 473 <!-- ============================= End of File ============================= --> -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt
r16027 r16074 459 459 <xsl:with-param name="measureValueFieldName" select="'MeasureValue'"/> 460 460 <xsl:with-param name="legendTitle" select="$measure/TITLE"/> 461 <xsl:with-param name="geoTypeTitle" select=" distinct-values($indicator//DIMENSIONS/DIMENSION[NAME = $indicatorView/MAP_DIMENSION_NAME]/TITLE)"/>461 <xsl:with-param name="geoTypeTitle" select="ibis:getDimensionTitle($indicator//DIMENSIONS/DIMENSION[NAME = $indicatorView/MAP_DIMENSION_NAME])"/> 462 462 <xsl:with-param name="reverseColors" select="$measure/DESIRABLE_VALUE = 1"/> 463 463 <xsl:with-param name="desirableIndexValue" select="$measure/DESIRABLE_VALUE"/> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/builder/SiteSpecific.xslt
r15958 r16074 35 35 > 36 36 <SELECTION> 37 <TITLE> Dataset Query Builder</TITLE>37 <TITLE>Main Options</TITLE> 38 38 <SELECTIONS> 39 <SHOW/> 39 40 <SELECTION> 40 41 <URL>javascript:<xsl:value-of select="if(exists($Builder.moduleConfiguration/CRITERIA/SUBMIT_JAVASCRIPT_FUNCTION_CALL)) then $Builder.moduleConfiguration/CRITERIA/SUBMIT_JAVASCRIPT_FUNCTION_CALL else 'submitQuery()'"/></URL> … … 60 61 <TITLE>Load Default Query Definition</TITLE> 61 62 </SELECTION> 63 </SELECTIONS> 64 </SELECTION> 62 65 66 <SELECTION> 67 <TITLE>Saved Definition</TITLE> 68 <SELECTIONS> 69 <SHOW/> 63 70 <xsl:if test="$ibis.userProfile/ID"> 64 71 <SELECTION> … … 73 80 <TITLE>My Saved Query Definitions</TITLE> 74 81 </SELECTION> 82 </SELECTIONS> 83 </SELECTION> 75 84 85 <SELECTION> 86 <TITLE>Debugging Options</TITLE> 87 <SELECTIONS> 88 <SHOW/> 76 89 <SELECTION> 77 90 <URL><xsl:value-of select="concat($ibis.urlPrefix, 'query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/result/SiteSpecific.xslt
r15958 r16074 46 46 <TITLE>Query Result Options</TITLE> 47 47 <SELECTIONS> 48 48 <SHOW/> 49 49 <SELECTION> 50 50 <URL><xsl:value-of select="$SiteSpecific.builderURL"/></URL> … … 52 52 <TITLE>Modify Query Definition</TITLE> 53 53 </SELECTION> 54 55 <xsl:if test="not($Result.configuration/CRITERIA/EXCLUDE/CHART_NAMES/ALL_FLAG)">56 <SELECTION>57 <DESCRIPTION>Display Chart</DESCRIPTION>58 <TITLE>Chart Options</TITLE>59 <SELECTIONS>60 <xsl:for-each select="$Page.charts/CHART[61 (NAME != $Result.queryModule/REQUEST/CHART_NAME) and62 not(NAME = $Result.configuration/CRITERIA/EXCLUDE/CHART_NAMES/CHART_NAME)]"63 >64 <xsl:sort select="SORT_ODRER" order="ascending" data-type="number"/>65 66 <SELECTION>67 <URL>?ChartName=<xsl:value-of select="NAME"/></URL>68 <DESCRIPTION>Display the data in a <xsl:value-of select="TITLE"/> chart graph</DESCRIPTION>69 <TITLE><xsl:value-of select="TITLE"/></TITLE>70 </SELECTION>71 </xsl:for-each>72 </SELECTIONS>73 </SELECTION>74 </xsl:if>75 76 <xsl:if test="(count($Page.displayableMeasures) > 1)">77 <SELECTION>78 <DESCRIPTION>Select different data measure</DESCRIPTION>79 <TITLE>Alternate Values</TITLE>80 <SELECTIONS>81 <xsl:for-each select="$Page.displayableMeasures">82 83 <xsl:if test="current()/NAME != /QUERY_MODULE/REQUEST/MEASURE_NAME">84 <SELECTION>85 <URL>?MeasureName=<xsl:value-of select="NAME"/></URL>86 <DESCRIPTION>Display the <xsl:value-of select="TITLE"/> data measure</DESCRIPTION>87 <TITLE><xsl:value-of select="TITLE"/></TITLE>88 </SELECTION>89 </xsl:if>90 </xsl:for-each>91 </SELECTIONS>92 </SELECTION>93 </xsl:if>94 95 54 <SELECTION> 96 55 <URL><xsl:value-of select="concat($ibis.urlPrefix, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL> … … 98 57 <TITLE>Select Different Measure</TITLE> 99 58 </SELECTION> 100 101 59 <SELECTION> 102 60 <URL><xsl:value-of select="concat($ibis.urlPrefix, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL> … … 104 62 <TITLE>Load Default Query Definition</TITLE> 105 63 </SELECTION> 64 </SELECTIONS> 65 </SELECTION> 106 66 67 <xsl:if test="not($Result.configuration/CRITERIA/EXCLUDE/CHART_NAMES/ALL_FLAG)"> 68 <SELECTION> 69 <TITLE>Chart Options</TITLE> 70 <SELECTIONS> 71 <SHOW/> 72 <xsl:for-each select="$Page.charts/CHART[ 73 (NAME != $Result.queryModule/REQUEST/CHART_NAME) and 74 not(NAME = $Result.configuration/CRITERIA/EXCLUDE/CHART_NAMES/CHART_NAME)]" 75 > 76 <xsl:sort select="SORT_ODRER" order="ascending" data-type="number"/> 77 78 <SELECTION> 79 <URL>?ChartName=<xsl:value-of select="NAME"/></URL> 80 <DESCRIPTION>Display the data in a <xsl:value-of select="TITLE"/> chart graph</DESCRIPTION> 81 <TITLE><xsl:value-of select="TITLE"/></TITLE> 82 </SELECTION> 83 </xsl:for-each> 84 </SELECTIONS> 85 </SELECTION> 86 </xsl:if> 87 88 <SELECTION> 89 <TITLE>Save Definition</TITLE> 90 <SELECTIONS> 91 <SHOW/> 107 92 <SELECTION> 108 93 <URL><xsl:value-of select="concat($ibis.urlPrefix, 'query/definition/from/result')"/></URL> … … 115 100 <TITLE>My Saved Query Definitions</TITLE> 116 101 </SELECTION> 102 </SELECTIONS> 103 </SELECTION> 117 104 105 <SELECTION> 106 <TITLE>Data Options</TITLE> 107 <SELECTIONS> 108 <SHOW/> 118 109 <SELECTION> 119 110 <URL> -
trunk/ibisph/src/main/java/org/ibisph/databean/springmvc/SaveController.java
r15559 r16074 31 31 protected String modifiedDescriptionMessage = "Modified"; 32 32 33 protected String selectedNameSessionName = null; 34 33 35 protected String pageRequestParameterName = "requestedPageURL"; 34 36 protected String defaultRedirectPageURL = "#"; … … 44 46 public void setUserDetailsBeanSessionName(String userDetailsSessionName) { 45 47 this.userDetailsSessionName = userDetailsSessionName; 48 } //-------------------------- End of Method ------------------------------ 49 50 /** 51 * Uses the bean's primary key to set the selected session name. This is 52 * useful for "new" records and setting the selected name to the new record. 53 * @param selectedNameSessionName 54 */ 55 public void setSelectedNameSessionName(String selectedNameSessionName) { 56 this.selectedNameSessionName = selectedNameSessionName; 46 57 } //-------------------------- End of Method ------------------------------ 47 58 … … 133 144 134 145 // save the request parameters to the bean fields. 135 this.requestParametersToDataBeanService.save(request, this.requestParameterNameToDataBeanFieldNameMap , dataBean); 146 int i = this.requestParametersToDataBeanService.save(request, this.requestParameterNameToDataBeanFieldNameMap , dataBean); 147 148 // if the record saved and the selected session name exists then 149 if((i > 0) && StrLib.isSomething(this.selectedNameSessionName)) { 150 String[] fieldKeys = dataBean.getFieldKeys(); 151 if(1 == fieldKeys.length) { 152 String selectedName = dataBean.getStringFieldValue(fieldKeys[0]); 153 request.getSession().setAttribute(this.selectedNameSessionName, selectedName); 154 } 155 else 156 throw new Exception("Selected Name Session Name [" + this.selectedNameSessionName 157 + "] specified but data bean [" + dataBean.getClass().getName() 158 + "] has " + fieldKeys.length + " field keys." 159 ); 160 } 136 161 137 162 return( getModelAndView(request) ); -
trunk/ibisph/src/main/java/org/ibisph/indicatorprofile/databean/Indicator.java
r15789 r16074 29 29 addField("NAME", Field.TYPE_STRING, true); 30 30 addField("TITLE", Field.TYPE_STRING, false, true); 31 addField(" SYNOPSIS", Field.TYPE_STRING, false, true);31 addField("CONCISE_TITLE", Field.TYPE_STRING); 32 32 addField("DESCRIPTION", Field.TYPE_STRING); 33 33 … … 48 48 addField("DEFAULT_DENOMINATOR", Field.TYPE_STRING, false, true); 49 49 addField("DATA_NOTE", Field.TYPE_STRING); 50 addField("DATA_ISSUES", Field.TYPE_STRING);51 50 52 51 addField("DEFAULT_INDICATOR_VIEW_NAME", Field.TYPE_STRING); … … 83 82 return(getStringFieldValue("TITLE")); 84 83 } 85 public String get Synopsis() {86 return(getStringFieldValue(" SYNOPSIS"));84 public String getConciseTitle() { 85 return(getStringFieldValue("CONCISE_TITLE")); 87 86 } 88 87 … … 100 99 public String getDataNote() { 101 100 return(getStringFieldValue("DATA_NOTE")); 102 }103 public String getDataIssues() {104 return(getStringFieldValue("DATA_ISSUES"));105 101 } 106 102 -
trunk/ibisph/src/main/java/org/ibisph/indicatorprofile/databean/IndicatorView.java
r15789 r16074 31 31 addField("PERIOD_DIMENSION_NAME", Field.TYPE_STRING, false, true); 32 32 addField("DATA_NOTE", Field.TYPE_STRING); 33 addField("DATA_ISSUES", Field.TYPE_STRING); 33 34 34 35 addField("CHART_NAME", Field.TYPE_STRING, false, true); … … 86 87 public String getDataNote() { 87 88 return(getStringFieldValue("DATA_NOTE")); 89 } 90 public String getDataIssues() { 91 return(getStringFieldValue("DATA_ISSUES")); 88 92 } 89 93
Note: See TracChangeset
for help on using the changeset viewer.