diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.server/templates/configOverview.htmljet')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.examples.server/templates/configOverview.htmljet | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/templates/configOverview.htmljet b/plugins/org.eclipse.emf.cdo.examples.server/templates/configOverview.htmljet index 7180b6efc0..83f8c1cefe 100644 --- a/plugins/org.eclipse.emf.cdo.examples.server/templates/configOverview.htmljet +++ b/plugins/org.eclipse.emf.cdo.examples.server/templates/configOverview.htmljet @@ -3,28 +3,20 @@ package="templates" imports="org.eclipse.emf.cdo.examples.server.*" %> -<% MenuCard menuCard = (MenuCard)argument; %> +<% DemoConfiguration config = (DemoConfiguration)argument; %> +<% String title = "Demo Configuration " + AbstractTemplateServlet.html(config.getName()); %> <html> <header> <title> - <%=GastroServlet.html(menuCard.getTitle())%> + <%=title%> </title> <link media="screen" href="gastro.css" type="text/css" rel="stylesheet"> <header> <body> -<h1><%=GastroServlet.html(menuCard.getTitle())%></h1> +<h1><%=title%></h1> <table border="0" width="400"> -<%for (Section section : menuCard.getSections()) {%> - <tr><td colspan="3"><h2><%=GastroServlet.html(section.getTitle())%></h2></td></tr> - <tr><td colspan="3"><h4><%=GastroServlet.html(section.getText())%></h4></td></tr> - <%for (Offering offering : section.getOfferings()) {%> - <tr><td> </td><td colspan="2"><h3><%=GastroServlet.html(offering.getName())%></h3></td></tr> - <tr><td> </td><td><%=GastroServlet.html(offering.getDescription())%></td> - <td align="right" valign="bottom" width="80"><%=GastroServlet.html(offering.getPrice())%> </td></tr> - <%}%> -<%}%> </table> </body> |