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 <[email protected]> Authored: Thu Sep 26 12:28:45 2013 +0100 Committer: Alex Heneveld <[email protected]> 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>
