brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [37/50] [abbrv] brooklyn-ui git commit: modify config template so it doesn't cause errors in eclipse
Date Mon, 01 Feb 2016 17:52:21 GMT
modify config template so it doesn't cause errors in eclipse


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/eec99fcd
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/eec99fcd
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/eec99fcd

Branch: refs/heads/0.6.0
Commit: eec99fcd031c9f12452015b66ae469de9c4e37ef
Parents: bef0f7b
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Thu Sep 26 12:28:45 2013 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Thu Sep 26 12:57:20 2013 +0100

----------------------------------------------------------------------
 .../assets/tpl/app-add-wizard/required-config-entry.html  | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/eec99fcd/usage/jsgui/src/main/webapp/assets/tpl/app-add-wizard/required-config-entry.html
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/tpl/app-add-wizard/required-config-entry.html
b/usage/jsgui/src/main/webapp/assets/tpl/app-add-wizard/required-config-entry.html
index 87facf3..f2b0bd4 100644
--- a/usage/jsgui/src/main/webapp/assets/tpl/app-add-wizard/required-config-entry.html
+++ b/usage/jsgui/src/main/webapp/assets/tpl/app-add-wizard/required-config-entry.html
@@ -5,11 +5,13 @@
     </td>
     <td> 
     <% if (data.type==="java.lang.Boolean" || data.type==="boolean") { %>
-      <input id="checkboxValue" type="checkbox" class="input-medium" name="checkboxValue"

-        <% if (data.defaultValue===true) { %> checked="checked" <% } %> >
+      <input id="checkboxValue" type="checkbox" class="input-medium" name="checkboxValue<%
+        if (data.defaultValue===true) { %>" checked="true<% } 
+        %>">
     <% } else { %>
-	  <input id="value" type="text" class="input-medium" name="value" value="<% 
-        if (typeof data.defaultValue !== "undefined") { %><%= data.defaultValue %><%
} %>" style="width: 250px">
+     <input id="value" type="text" class="input-medium" name="value" value="<% 
+        if (typeof data.defaultValue !== "undefined") { %><%= data.defaultValue %><%
} 
+        %>" style="width: 250px">
     <% } %>
     </td>
     <td></td>


Mime
View raw message