continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r955134 - in /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp: admin/editBuildAgentGroup.jsp admin/editBuildDefinitionTemplate.jsp editSchedule.jsp
Date Wed, 16 Jun 2010 06:00:13 GMT
Author: ctan
Date: Wed Jun 16 06:00:13 2010
New Revision: 955134

URL: http://svn.apache.org/viewvc?rev=955134&view=rev
Log:
[CONTINUUM-2169] auto select items in s:optiontransferselect

Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildAgentGroup.jsp
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildDefinitionTemplate.jsp
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildAgentGroup.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildAgentGroup.jsp?rev=955134&r1=955133&r2=955134&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildAgentGroup.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildAgentGroup.jsp
Wed Jun 16 06:00:13 2010
@@ -74,7 +74,12 @@
                         doubleHeaderValue="%{getText('buildAgentGroup.available.buildAgents.used')}"

                         doubleMultiple="true" 
                         doubleEmptyOption="false"
-                        formName="buildAgentGroup" />
+                        formName="buildAgentGroup"
+                        addAllToRightOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildAgentGroup_selectedBuildAgentIds'),
'key', '-1');"
+                        addToRightOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildAgentGroup_buildAgentIds'),
'key', '-1');selectAllOptionsExceptSome(document.getElementById('saveBuildAgentGroup_selectedBuildAgentIds'),
'key', '-1');"
+                        addAllToLeftOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildAgentGroup_buildAgentIds'),
'key', '-1');"
+                        addToLeftOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildAgentGroup_buildAgentIds'),
'key', '-1');selectAllOptionsExceptSome(document.getElementById('saveBuildAgentGroup_selectedBuildAgentIds'),
'key', '-1');"
+                        />
                 </table>
               </c:when>
               <c:otherwise>

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildDefinitionTemplate.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildDefinitionTemplate.jsp?rev=955134&r1=955133&r2=955134&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildDefinitionTemplate.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editBuildDefinitionTemplate.jsp
Wed Jun 16 06:00:13 2010
@@ -64,7 +64,12 @@
                         doubleHeaderValue="%{getText('buildDefinitionTemplate.available.builddefinitions.used')}"

                         doubleMultiple="true" 
                         doubleEmptyOption="false"
-                        formName="buildDefinitionTemplate" />                    
+                        formName="buildDefinitionTemplate"
+                        addAllToRightOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildDefinitionTemplate_selectedBuildDefinitionIds'),
'key', '-1');"
+                        addToRightOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildDefinitionTemplate_buildDefinitionIds'),
'key', '-1');selectAllOptionsExceptSome(document.getElementById('saveBuildDefinitionTemplate_selectedBuildDefinitionIds'),
'key', '-1');"
+                        addAllToLeftOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildDefinitionTemplate_buildDefinitionIds'),
'key', '-1');"
+                        addToLeftOnclick="selectAllOptionsExceptSome(document.getElementById('saveBuildDefinitionTemplate_buildDefinitionIds'),
'key', '-1');selectAllOptionsExceptSome(document.getElementById('saveBuildDefinitionTemplate_selectedBuildDefinitionIds'),
'key', '-1');"
+                        />
                   </tbody>
                 </table>
                 <div class="functnbar3">

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp?rev=955134&r1=955133&r2=955134&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp Wed Jun
16 06:00:13 2010
@@ -95,7 +95,11 @@
                 doubleEmptyOption="false"
                 doubleHeaderValue="%{getText('schedule.available.buildqueues.used')}"
                 formName="scheduleForm"
-                  />
+                addAllToRightOnclick="selectAllOptionsExceptSome(document.getElementById('saveSchedule_selectedBuildQueuesIds'),
'key', '-1');"
+                addToRightOnclick="selectAllOptionsExceptSome(document.getElementById('saveSchedule_availableBuildQueuesIds'),
'key', '-1');selectAllOptionsExceptSome(document.getElementById('saveSchedule_selectedBuildQueuesIds'),
'key', '-1');"
+                addAllToLeftOnclick="selectAllOptionsExceptSome(document.getElementById('saveSchedule_availableBuildQueuesIds'),
'key', '-1');"
+                addToLeftOnclick="selectAllOptionsExceptSome(document.getElementById('saveSchedule_availableBuildQueuesIds'),
'key', '-1');selectAllOptionsExceptSome(document.getElementById('saveSchedule_selectedBuildQueuesIds'),
'key', '-1');"
+                />
              </c1:ifBuildTypeEnabled>   
                                        
             <s:checkbox label="%{getText('schedule.enabled.label')}" name="active" value="active"
fieldValue="true">



Mime
View raw message