felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1440591 - in /felix/trunk/webconsole/src/main: java/org/apache/felix/webconsole/internal/core/BundlesServlet.java resources/templates/bundles.html
Date Wed, 30 Jan 2013 19:12:31 GMT
Author: cziegeler
Date: Wed Jan 30 19:12:30 2013
New Revision: 1440591

URL: http://svn.apache.org/viewvc?rev=1440591&view=rev
Log:
FELIX-3851 : Allow for refresh after bundle update/install

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
    felix/trunk/webconsole/src/main/resources/templates/bundles.html

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java?rev=1440591&r1=1440590&r2=1440591&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Wed Jan 30 19:12:30 2013
@@ -1566,8 +1566,8 @@ public class BundlesServlet extends Simp
             if ( tmpFile != null )
             {
                 // start, refreshPackages just needs to exist, don't care for value
-                boolean start = startItem != null;
-                boolean refreshPackages = refreshPackagesItem != null;
+                final boolean start = startItem != null;
+                final boolean refreshPackages = refreshPackagesItem != null;
 
                 bundleLocation = "inputstream:" + bundleItem.getName();
                 installBundle( bundleLocation, tmpFile, startLevel, start, refreshPackages
);

Modified: felix/trunk/webconsole/src/main/resources/templates/bundles.html
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/resources/templates/bundles.html?rev=1440591&r1=1440590&r2=1440591&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/resources/templates/bundles.html [UTF-8] (original)
+++ felix/trunk/webconsole/src/main/resources/templates/bundles.html [UTF-8] Wed Jan 30 19:12:30
2013
@@ -133,6 +133,12 @@ var i18n = {
 				<input type="checkbox" name="bundlestart" value="start"/>
 			</td>
 		</tr>
+        <tr>
+            <td style="text-align:right">${bundles.refreshPkg}</td>
+            <td>
+                <input type="checkbox" name="refreshPackages" value="refresh"/>
+            </td>
+        </tr>
 		<tr>
 			<td style="text-align:right">${bundles.upload.level}</td>
 			<td><input type="text" name="bundlestartlevel" id="bundlestartlevel" value="${startLevel}"
size="4"/></td>



Mime
View raw message