Changeset 16074 in main


Ignore:
Timestamp:
05/01/18 15:58:04 (5 years ago)
Author:
Garth Braithwaite
Message:

db and admin - IP synopsis to CONCISE_TITLE. Moved DATA_ISSUES from IP to IPV. Added sessionname for admin controllers that have "new" request. Changed IP nav selection from IP Main to IP Detail to be consist with all other nav titles. Added "'s" to the nav menu detail request. Added code to not show alpha jumps to the IP list page if number IPs < 10. Added view left nav grouping. Moved footer social media links on left nav.

Location:
trunk
Files:
49 edited

Legend:

Unmodified
Added
Removed
  • trunk/db/src/main/scripts/mysql/data-cleanup.sql

    r15971 r16074  
    134134
    135135
    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 */
     137update INDICATOR i set CONCISE_TITLE = (select substring(TITLE, 1, 100) from INDICATOR_VIEW iv where iv.NAME = i.DEFAULT_INDICATOR_VIEW_NAME);
    141138
    142139
  • trunk/db/src/main/scripts/mysql/tab_c-indicator.sql

    r15971 r16074  
    1818  NAME                            varchar  (100)  not null,
    1919  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???????  */
    2121  DESCRIPTION                     varchar  (500),
    2222  /* */
     
    3939  DEFAULT_DENOMINATOR             varchar  (250)  not null,
    4040  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),
    4241  ORG_UNIT_NAME                   varchar  (100),
    4342  OWNER_USER_ID                   varchar  (100),
     
    6766  NAME                            varchar  (200)  not null,
    6867  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 */
    7069  DESCRIPTION                     varchar  (500),
    7170  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 */
     
    7574  PERIOD_DIMENSION_NAME           varchar  (100)  not null,             /* This is needed for building the title and for determining which IP datasets */
    7675  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),
    7777  /* */
    7878  CHART_NAME                      varchar  (100)  not null,
  • trunk/db/src/main/scripts/mysql/update_tabs.sql

    r15789 r16074  
    3333alter table INDICATOR_TO_INDICATOR add column SORT_ORDER int default null;
    3434
    35 alter table INDICATOR add column SYNOPSIS            varchar(250) not null;
     35alter table INDICATOR add column CONCISE_TITLE       varchar(100) not null;
    3636alter table INDICATOR add column FOOTNOTE_REFERENCES varchar(4000);
    3737alter table INDICATOR add column DEMOGRAPHIC_FLAG    varchar(1);
     
    4747alter table INDICATOR_VIEW drop column TITLE;
    4848alter table INDICATOR_VIEW change column SUB_TITLE TITLE varchar(250);
     49alter table INDICATOR_VIEW add column DATA_ISSUES        varchar(2000);
    4950
    5051alter table INDICATOR_VIEW add column SURROGATE_VIEW_URL varchar (1024);
    5152alter table INDICATOR_VIEW add column SURROGATE_VIEW_JQUERY_SELECTOR varchar (50);
    52 alter table INDICATOR_VIEW add column DATA_ISSUES  varchar(2000);
    5353alter table INDICATOR_VIEW add column MAP_NARRATIVE          varchar(4000);
    5454alter table INDICATOR_VIEW add column CHART_TITLE_OVERRIDE varchar (250);
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/authority.xml

    r15559 r16074  
    1111>
    1212
     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
    1319        <!--  C O N T R O L L E R S  -->
    1420        <bean id="authorityEditControllerProperties" abstract="true">
    1521                <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}"/>
    1724                <property name="dataBeanRecordKeyFieldName"        value="NAME"/>
    1825
     
    3643
    3744
     45
     46        <!--  S A V E   C O N T R O L L E R S  -->
    3847        <bean id="authoritySaveListController" class="org.ibisph.databean.springmvc.SaveController">
    3948        <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/>
     
    6473                        </map>
    6574                </property>
     75                <property name="selectedNameSessionName" value="#{authoritySelectedAuthorityNameSessionName.string}"/>
    6676        </bean>
    6777
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/data_source.xml

    r15563 r16074  
    1111>
    1212
     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
    1319        <!--  C O N T R O L L E R S  -->
    1420        <bean id="dataSourceEditControllerProperties" abstract="true">
    1521                <property name="dataBeanClassName"                 value="org.ibisph.indicatorprofile.databean.DataSource"/>
    16                 <property name="selectedRecordKeyValueSessionName" value="selectedDataSourceName"/>
     22                <property name="selectedRecordKeyValueSessionName" value="#{dataSourceSelectedDataSourceNameSessionName.string}"/>
    1723                <property name="dataBeanRecordKeyFieldName"        value="NAME"/>
    1824
     
    4248
    4349
    44 
     50        <!--  S A V E   C O N T R O L L E R S  -->
    4551        <bean id="dataSourceSaveListController" class="org.ibisph.databean.springmvc.SaveController">
    4652        <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/>
     
    7278                        </map>
    7379                </property>
     80                <property name="selectedNameSessionName" value="#{dataSourceSelectedDataSourceNameSessionName.string}"/>
    7481        </bean>
    7582
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/indicator.xml

    r16027 r16074  
    205205                <property name="currentStatusCodeHTTPRequestParameterName" value="nullStatusCode"/>
    206206                <property name="modifiedDescriptionMessage" value="Detail modified"/>
     207                <property name="selectedNameSessionName"    value="#{indicatorSelectedIndicatorNameSessionName.string}"/>
    207208        </bean>
    208209
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/indicator_dataset.xml

    r16027 r16074  
    1414>
    1515
     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 -->
    1617        <bean id="datasetModelName" class="org.ibisph.model.StringHolder">
    1718                <constructor-arg value="dataset"/>
     19        </bean>
     20        <bean id="indicatorDatasetSelectedIndicatorDatasetNameSessionName" class="org.ibisph.model.StringHolder">
     21                <constructor-arg value="selectedDatasetName"/>
    1822        </bean>
    1923
     
    2731
    2832
    29 
    3033        <!--  E D I T   C O N T R O L L E R S  -->
    3134        <bean id="indicatorDatasetEditControllerProperties" parent="indicatorEditControllerProperties" abstract="true">
    3235                <property name="indicatorChildModelName" value="#{datasetModelName.string}"/>
    3336                <property name="childDataBeanClassName"  value="org.ibisph.indicatorprofile.databean.Dataset"/>
    34                 <property name="selectedIndicatorChildNameSessionName"  value="selectedDatasetName"/>
     37                <property name="selectedIndicatorChildNameSessionName" value="#{indicatorDatasetSelectedIndicatorDatasetNameSessionName.string}"/>
    3538        </bean>
    3639
     
    114117                </property>
    115118                <property name="modifiedDescriptionMessage" value="indicator dataset detail modified"/>
     119                <property name="selectedNameSessionName"    value="#{indicatorDatasetSelectedIndicatorDatasetNameSessionName.string}"/>
    116120        </bean>
    117121
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/indicator_view.xml

    r16027 r16074  
    136136                </property>
    137137                <property name="modifiedDescriptionMessage" value="indicator view detail modified"/>
     138                <property name="selectedNameSessionName"    value="#{indicatorSelectedIndicatorViewNameSessionName.string}"/>
    138139        </bean>
    139140
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/user.xml

    r15559 r16074  
    1111>
    1212
     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
    1319        <!--  C O N T R O L L E R S  -->
    1420        <bean id="userEditControllerProperties" abstract="true">
    1521                <property name="dataBeanClassName"                 value="org.ibisph.user.databean.User"/>
    16                 <property name="selectedRecordKeyValueSessionName" value="selectedUserID"/>
     22                <property name="selectedRecordKeyValueSessionName" value="#{userSelectedUserIDSessionName.string}"/>
    1723                <property name="dataBeanRecordKeyFieldName"        value="ID"/>
    1824
     
    5460
    5561
     62
    5663        <!--  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
    5767        <bean id="userSaveDetailController" class="org.ibisph.databean.springmvc.SaveController">
    5868        <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/>
     
    7282                        </map>
    7383                </property>
     84                <property name="selectedNameSessionName" value="#{userSelectedUserIDSessionName.string}"/>
    7485        </bean>
    7586
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/config/spring/value_attribute.xml

    r15559 r16074  
    1111>
    1212
     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
    1319        <!--  C O N T R O L L E R S  -->
    1420        <bean id="valueAttributeEditControllerProperties" abstract="true">
    1521                <property name="dataBeanClassName"                 value="org.ibisph.indicatorprofile.databean.ValueAttribute"/>
    16                 <property name="selectedRecordKeyValueSessionName" value="selectedValueAttributeName"/>
     22                <property name="selectedRecordKeyValueSessionName" value="#{valueAttributeSelectedValueAttributeNameSessionName.string}"/>
    1723                <property name="dataBeanRecordKeyFieldName"        value="NAME"/>
    1824
     
    3642
    3743
     44
     45        <!--  S A V E   C O N T R O L L E R S  -->
    3846        <bean id="valueAttributeSaveListController" class="org.ibisph.databean.springmvc.SaveController">
    3947        <property name="HTTPRequestParametersToDataBeanService" ref="commonHTTPRequestParametersToDataBeanService"/>
     
    6674                        </map>
    6775                </property>
     76                <property name="selectedNameSessionName" value="#{valueAttributeSelectedValueAttributeNameSessionName.string}"/>
    6877        </bean>
    6978
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/authority/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/chart/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/data_source/_menu_items.jsp

    r15559 r16074  
    22
    33<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>
    55<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  
    22
    33<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>
    55<li id="dimension/values"><a href="javascript:requestPage('edit/dimension/values')" title="List of values">Dimension Values</a></li>
    66
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/_menu_items.jsp

    r15789 r16074  
    1212--%>
    1313        <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>
    1515        <li id="indicator/available_services"><a href="javascript:requestPage('edit/indicator/available_services', '${selectedIndicatorName}')" title="Available services.">Available Services</a></li>
    1616        <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  
    33--%>
    44        <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>
    66        <li class="InlineMenu">
    77                <input id ="ExpandableListInputControl.indicatorDatasetMenu" type="checkbox" checked="checked" title="Show/hide datasets nav menu">
     
    99                <ul>
    1010                        <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>
    1212                        <li id="indicator/dataset/data_sources" class="MultiLine">
    1313                                <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  
    9292                                                <th scope="col" class="Name" title="Internal name of the record (must be unique).">Name</th>
    9393                                                <th scope="col" class="Description">Title</th>
    94                                                 <th scope="col" class="Description">Alternate Data Input Column Label</th>
    9594                                                <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>
    9695                                        </tr>
     
    122121                                                </td>
    123122                                                <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>
    129123                                                <td class="SortOrder">
    130124                                                        <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  
    193193                                                <th scope="row" title="This text is complete relacement for the default numerator text defined with the indicator.">
    194194                                                        <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>
    198199                                                        <div class="Suggestion">(Leave blank to use the indicator's default numerator text.)</div>
    199200                                                </td>
     
    202203                                                <th scope="row" title="This text is complete relacement for the default denominator text defined with the indicator.">
    203204                                                        <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>
    207209                                                        <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>
    216210                                                </td>
    217211                                        </tr>
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/dataset/list.jsp

    r15789 r16074  
    5050<c:set var="navigationMenuContextItems">
    5151        <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>
    5353        <li class="InlineMenu">
    5454                <input id ="ExpandableListInputControl.indicatorDatasetMenu" type="checkbox" checked="checked" title="Show/hide datasets nav menu">
     
    5757                        <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>
    5858        <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>
    6060                        <li class="MultiLine">
    6161                                <a href="javascript:requestPage('edit/indicator/dataset/data_sources')"
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/detail.jsp

    r15801 r16074  
    1717                .TabbedContent
    1818                {
    19                         min-height:     850px;
     19                        min-height:     800px;
    2020                }
    2121        </style>
     
    4545                                msg = msg + "- The 'Data As Of' field can not be blank.\n";
    4646                                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();
    5247                        }
    5348                        if(isBlank(document.form.definition.value))
     
    251246                                                                                <label for="title">Title *</label>
    252247                                                                        </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.">
    254249                                                                                <input type="text" name="title" id="title"
    255250                                                                                        maxlength="250"
     
    261256
    262257                                                                <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>
    266260                                                                        </th>
    267261                                                                        <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                                                                                />
    272267                                                                        </td>
    273268                                                                </tr>
     
    449444                                                                        </th>
    450445                                                                        <td>
    451                                                                                 <textarea name="howDoing" id="howDoing" rows="12" 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>
    457452                                                                                <div id="howWeCompareCounter"></div>
    458453                                                                        </th>
    459454                                                                        <td>
    460                                                                                 <textarea name="howWeCompare" id="howWeCompare" rows="12" maxlength="4000" ${inputControl} ${onChange}>${indicator.howWeCompare}</textarea>
     455                                                                                <textarea name="howWeCompare" id="howWeCompare" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.howWeCompare}</textarea>
    461456                                                                        </td>
    462457                                                                </tr>
     
    467462                                                                        </th>
    468463                                                                        <td>
    469                                                                                 <textarea name="otherObjective" id="otherObjective" rows="12" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherObjective}</textarea>
     464                                                                                <textarea name="otherObjective" id="otherObjective" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherObjective}</textarea>
    470465                                                                        </td>
    471466                                                                </tr>
     
    486481                                                                        </th>
    487482                                                                        <td>
    488                                                                                 <textarea name="whatDoing" id="whatDoing" rows="12" maxlength="4000" ${inputControl} ${onChange}>${indicator.whatDoing}</textarea>
     483                                                                                <textarea name="whatDoing" id="whatDoing" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.whatDoing}</textarea>
    489484                                                                        </td>
    490485                                                                </tr>
     
    495490                                                                        </th>
    496491                                                                        <td>
    497                                                                                 <textarea name="evidenceBasedPractices" id="evidenceBasedPractices" rows="12" maxlength="4000" ${inputControl} ${onChange}>${indicator.evidenceBasedPractices}</textarea>
     492                                                                                <textarea name="evidenceBasedPractices" id="evidenceBasedPractices" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.evidenceBasedPractices}</textarea>
    498493                                                                        </td>
    499494                                                                </tr>
     
    504499                                                                        </th>
    505500                                                                        <td>
    506                                                                                 <textarea name="otherProgramInformation" id="otherProgramInformation" rows="12" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherProgramInformation}</textarea>
     501                                                                                <textarea name="otherProgramInformation" id="otherProgramInformation" rows="11" maxlength="4000" ${inputControl} ${onChange}>${indicator.otherProgramInformation}</textarea>
    507502                                                                        </td>
    508503                                                                </tr>
     
    514509                                        <div class="Tab">
    515510                                                <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>
    517512                                                <div class="Container">
    518513                                                        <table class="Detail" summary="">
     
    525520                                                                        </th>
    526521                                                                        <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
    544562                                                        </table>
    545563                                                </div>
    546564                                        </div>
    547565
    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 
    589566                                </div>
    590567                                <div class="Required">* = Required Input</div>
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator/list.jsp

    r15789 r16074  
    9696        <li id="indicator/list"><a href="javascript:requestPage('edit/indicator/list')"   title="Show the Main Indicator List page">Indicator List</a></li>
    9797        <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>
    9999        <li><a href="javascript:requestPage('edit/indicator/available_services')" title="Available services.">Available Services</a></li>
    100100        <li><a href="javascript:requestPage('edit/indicator/more_resources')"     title="Other resources.">More Resources</a></li>
     
    146146                                <h2 class="Header">${pageTitle}</h2><a name="alphaIndex" style="height: 1px"></a>
    147147
     148<c:set var="showAlphaIndex" value="${fn:length(indicators) > 10}"/>
     149<c:if test="${showAlphaIndex}">
    148150                                <div class="JumpTo">
    149151                                        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>
    158160                                </div>
     161</c:if>
    159162
    160163                                <table class="List" summary="List table - Top row contains the column titles, following rows represent a data record row.">
     
    179182
    180183        <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')}">
    182185                                                <tr><td colspan="9">
    183186                                                        <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  
    22
    33        <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>
    55<c:if test="${userDetails.admin}">
    66        <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  
    263263                                                                        </td>
    264264                                                                </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>
    265278
    266279                                                                <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  
    6767<c:set var="navigationMenuContextItems">
    6868        <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>
    7070        <c:if test="${userDetails.admin}">
    7171        <li><a href="javascript:requestPage('edit/indicator/dataset/list', '${selectedIndicatorName}')" title="Datasets.">Datasets List</a></li>
     
    131131                                        <tr>
    132132                                                <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 Main Page.">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>
    134134                                                <th scope="col" class="Name" title="Internal name of the record (must be unique).">Name</th>
    135135                                                <th scope="col" class="Title" width="30%">Title</th>
     
    156156                                                        <input type="radio" name="defaultIndicatorViewName" value="${indicatorView.name}" style="cursor:pointer;"
    157157                                                                readonly="readonly" checked="checked" onclick="requestPage('edit/indicator/detail/${indicator.name}.html#defaultViewName');"
    158                                                                 title="Click here to jump to the Indicator Main Page to Edit this value."
     158                                                                title="Click here to jump to the Indicator Detail Page to Edit this value."
    159159                                                        />
    160160</c:if>
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/indicator_set/_menu_items.jsp

    r14819 r16074  
    22
    33<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>
    55<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  
    22
    33<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>
    55<li id="initiative/topic/list" class="MultiLine">
    66        <a href="javascript:requestPage('edit/initiative/topic/list', '${selectedInitiativeName}')"
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/map/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/measure/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/org_unit/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/topic/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55
  • trunk/ibisph-admin/src/main/webapp/WEB-INF/jsp/user/_menu_items.jsp

    r13329 r16074  
    22
    33<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>
    55<li id="user/authorities"><a href="javascript:requestPage('edit/user/authorities', '${selectedUserID}')" title="Assign/maintain user authorities">User Authorities</a></li>
    66<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  
    22
    33<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>
    55
  • trunk/ibisph-view/src/main/webapp/WEB-INF/config/spring/publish-remote.xml

    r14837 r16074  
    6262        </bean>
    6363
    64         <!-- This bean when instan is used to verify/create a published indicators
    65                 XML file should it not exist.  This is useful for new deployments or if
    66                 the XML is corrupt etc.  It is typically used when app wired for
    67                 receiving publishing requests or if want the app to verify the the
    68                 published indicators XML exists and/or to rebuild it upon app startup
    69                 (bean creation).  If the admin app is wired to publish directly then
    70                 this service is not needed (which is not the case with remote
    71                 publishing).   Summary: Service provides published_indicators.xml file
    72                 management.
    73         -->
    7464        <bean id="publishVerifyPublishedIndicatorsXMLFileService"
    7565                class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"
    7666        >
     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>
    7778                <property name="targetObject" ref="publishPublishedIndicatorsXMLService"/>
    7879                <property name="targetMethod" value="verifyPublishedIndicatorsXMLFile"/>
  • trunk/ibisph-view/src/main/webapp/css/Graphic.css

    r16027 r16074  
    7676}
    7777
     78.Graphic.Map a
     79{
     80        padding:                        0;
     81}
     82       
    7883.Graphic.Map .GeoLabel
    7984{
     
    270275.Graphic.Map .leaflet-control-layers .item-container label
    271276{
    272         padding:                        0 .25em 0 1em;
     277        padding:                        0.25em .25em 0 1em;
    273278}
    274279.Graphic.Map .leaflet-control-layers .item-container label input
     
    276281        float:                          left;
    277282        margin-right:           0.5em;
    278         margin-top:             0.25em;
    279283}
    280284.Graphic.Map .leaflet-control-layers .item-container label div
     
    286290        float:                          right;
    287291        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;
    290294        width:                          16px;
    291295        height:                         16px;
  • trunk/ibisph-view/src/main/webapp/css/SocialMedia.css

    r6892 r16074  
    44.SocialMedia
    55{
    6         border-bottom: 1px dotted #777777;
    7         margin: 0 0px 0 0px;
    8         padding-top: 10px;
    96}
    107.SocialMedia a
    118{
    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;
    1414}
    1515.SocialMedia a img
    1616{
    17         border:0px;
     17        border:         0px;
    1818}
    1919/*============================ End of Style Sheet ============================*/
  • trunk/ibisph-view/src/main/webapp/css/_layout.css

    r16030 r16074  
    302302{
    303303        position:                       relative;
    304         top:                            8px;
     304        top:                            11px;
    305305        height:                         35px;
    306306        border:                         none;
     
    376376        margin-top:                     1.3rem;
    377377}
     378
    378379
    379380
     
    568569}
    569570
     571
     572
    570573#footer .SocialMedia
    571574{
     
    576579        margin:                         0;
    577580}
     581
     582
    578583
    579584#footer .Section
  • trunk/ibisph-view/src/main/webapp/css/_responsive-large.css

    r16030 r16074  
    1111}
    1212
     13#siteSearchSubmitButton
     14{
     15        top:                                    10px;
     16}
    1317
    1418#siteNavigation ul.HorizontalMenu.HorizontalTabList
  • trunk/ibisph-view/src/main/webapp/css/_responsive-tiny.css

    r16027 r16074  
    177177    opacity: 1;
    178178}
    179 
    180 #siteSearchSubmitButton
    181 {
    182         top:                                    10px;
    183 }
    184 
    185179
    186180
  • trunk/ibisph-view/src/main/webapp/xslt/html/SelectionsList.xslt

    r15958 r16074  
    5353                                        [DIV [TITLE]=text, [DESC]=title - if NO href]
    5454
    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]
    5656
    5757                                        [H# with SELECTIONS/TITLE - if containerTitleFlag is true and sub selections]
     
    7474                                        [DIV [TITLE]=text, [DESC]=title - if NO href]
    7575
    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]
    7777
    7878                                        [H# with SELECTIONS/TITLE - if containerTitleFlag is true and sub selections]
     
    272272
    273273                                        <xsl:if test="(string-length(NAME) != 0)">
    274                                                 <a name="{NAME}" class="JumpTo"/>
     274                                                <a name="{NAME}" class="OffPage"/>
    275275                                        </xsl:if>
    276276
  • trunk/ibisph-view/src/main/webapp/xslt/html/SiteSpecific.xslt

    r16030 r16074  
    307307                                                </xsl:when>
    308308                                                <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"/>
    310310                                                </xsl:when>
    311311                                        </xsl:choose>
     312                                        <SELECTION><TITLE>Share This Page</TITLE></SELECTION>
    312313                                </xsl:with-param>
    313314                                <xsl:with-param name="containerClass" select="'VerticalMenu'"/>
    314315                                <xsl:with-param name="showContainerTitleFlag" select="false()"/>
    315316                        </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>
    316350                </nav>
    317351        </xsl:template>
     
    354388                                        <li><a href="http://www.ibisph.org/">IBIS-PH Community of Practice</a></li>
    355389                                </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>
    386390                        </div>
    387391
     
    411415        </xsl:template>
    412416
     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
    413472</xsl:stylesheet>
    414473<!-- ============================= End of File ============================= -->
  • trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt

    r16027 r16074  
    459459        <xsl:with-param name="measureValueFieldName" select="'MeasureValue'"/>
    460460        <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])"/>
    462462        <xsl:with-param name="reverseColors" select="$measure/DESIRABLE_VALUE = 1"/>
    463463        <xsl:with-param name="desirableIndexValue" select="$measure/DESIRABLE_VALUE"/>
  • trunk/ibisph-view/src/main/webapp/xslt/html/query/module/builder/SiteSpecific.xslt

    r15958 r16074  
    3535        >
    3636                <SELECTION>
    37                         <TITLE>Dataset Query Builder</TITLE>
     37                        <TITLE>Main Options</TITLE>
    3838                        <SELECTIONS>
     39                                <SHOW/>
    3940                                <SELECTION>
    4041                                        <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>
     
    6061                                        <TITLE>Load Default Query Definition</TITLE>
    6162                                </SELECTION>
     63                        </SELECTIONS>
     64                </SELECTION>
    6265
     66                <SELECTION>
     67                        <TITLE>Saved Definition</TITLE>
     68                        <SELECTIONS>
     69                                <SHOW/>
    6370                                <xsl:if test="$ibis.userProfile/ID">
    6471                                <SELECTION>
     
    7380                                        <TITLE>My Saved Query Definitions</TITLE>
    7481                                </SELECTION>
     82                        </SELECTIONS>
     83                </SELECTION>
    7584
     85                <SELECTION>
     86                        <TITLE>Debugging Options</TITLE>
     87                        <SELECTIONS>
     88                                <SHOW/>
    7689                                <SELECTION>
    7790                                        <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  
    4646                        <TITLE>Query Result Options</TITLE>
    4747                        <SELECTIONS>
    48 
     48                                <SHOW/>
    4949                                <SELECTION>
    5050                                        <URL><xsl:value-of select="$SiteSpecific.builderURL"/></URL>
     
    5252                                        <TITLE>Modify Query Definition</TITLE>
    5353                                </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) and
    62                                                         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) &gt; 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 
    9554                                <SELECTION>
    9655                                        <URL><xsl:value-of select="concat($ibis.urlPrefix, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL>
     
    9857                                        <TITLE>Select Different Measure</TITLE>
    9958                                </SELECTION>
    100 
    10159                                <SELECTION>
    10260                                        <URL><xsl:value-of select="concat($ibis.urlPrefix, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL>
     
    10462                                        <TITLE>Load Default Query Definition</TITLE>
    10563                                </SELECTION>
     64                        </SELECTIONS>
     65                </SELECTION>
    10666
     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/>
    10792                                <SELECTION>
    10893                                        <URL><xsl:value-of select="concat($ibis.urlPrefix, 'query/definition/from/result')"/></URL>
     
    115100                                        <TITLE>My Saved Query Definitions</TITLE>
    116101                                </SELECTION>
     102                        </SELECTIONS>
     103                </SELECTION>
    117104
     105                <SELECTION>
     106                        <TITLE>Data Options</TITLE>
     107                        <SELECTIONS>
     108                                <SHOW/>
    118109                                <SELECTION>
    119110                                        <URL>
  • trunk/ibisph/src/main/java/org/ibisph/databean/springmvc/SaveController.java

    r15559 r16074  
    3131  protected String modifiedDescriptionMessage   = "Modified";
    3232
     33  protected String selectedNameSessionName = null;
     34
    3335  protected String pageRequestParameterName = "requestedPageURL";
    3436  protected String defaultRedirectPageURL   = "#";
     
    4446  public void setUserDetailsBeanSessionName(String userDetailsSessionName) {
    4547    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;
    4657  } //-------------------------- End of Method ------------------------------
    4758
     
    133144
    134145    // 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    }
    136161
    137162    return( getModelAndView(request) );
  • trunk/ibisph/src/main/java/org/ibisph/indicatorprofile/databean/Indicator.java

    r15789 r16074  
    2929    addField("NAME",           Field.TYPE_STRING, true);
    3030    addField("TITLE",          Field.TYPE_STRING, false, true);
    31     addField("SYNOPSIS",       Field.TYPE_STRING, false, true);
     31    addField("CONCISE_TITLE",  Field.TYPE_STRING);
    3232    addField("DESCRIPTION",    Field.TYPE_STRING);
    3333
     
    4848    addField("DEFAULT_DENOMINATOR", Field.TYPE_STRING, false, true);
    4949    addField("DATA_NOTE",           Field.TYPE_STRING);
    50     addField("DATA_ISSUES",         Field.TYPE_STRING);
    5150
    5251    addField("DEFAULT_INDICATOR_VIEW_NAME", Field.TYPE_STRING);
     
    8382    return(getStringFieldValue("TITLE"));
    8483  }
    85   public String getSynopsis() {
    86     return(getStringFieldValue("SYNOPSIS"));
     84  public String getConciseTitle() {
     85    return(getStringFieldValue("CONCISE_TITLE"));
    8786  }
    8887
     
    10099  public String getDataNote() {
    101100    return(getStringFieldValue("DATA_NOTE"));
    102   }
    103   public String getDataIssues() {
    104     return(getStringFieldValue("DATA_ISSUES"));
    105101  }
    106102
  • trunk/ibisph/src/main/java/org/ibisph/indicatorprofile/databean/IndicatorView.java

    r15789 r16074  
    3131    addField("PERIOD_DIMENSION_NAME",    Field.TYPE_STRING, false, true);
    3232    addField("DATA_NOTE",                Field.TYPE_STRING);
     33    addField("DATA_ISSUES",              Field.TYPE_STRING);
    3334
    3435    addField("CHART_NAME",               Field.TYPE_STRING, false, true);
     
    8687  public String getDataNote() {
    8788    return(getStringFieldValue("DATA_NOTE"));
     89  }
     90  public String getDataIssues() {
     91    return(getStringFieldValue("DATA_ISSUES"));
    8892  }
    8993
Note: See TracChangeset for help on using the changeset viewer.