source: extensions/net.sf.basedb.reggie/trunk/resources/index.jsp @ 1282

Last change on this file since 1282 was 1282, checked in by Nicklas Nordborg, 12 years ago

Initial checkin of main structure for Reggie. This compiles an extension package that installs a "Reggie" menu item in the "Extensions" menu.

File size: 954 bytes
Line 
1<%@ page
2  pageEncoding="UTF-8"
3  session="false"
4  import="net.sf.basedb.core.Application"
5  import="net.sf.basedb.core.User"
6  import="net.sf.basedb.core.DbControl"
7  import="net.sf.basedb.core.SessionControl"
8  import="net.sf.basedb.clients.web.Base"
9  import="net.sf.basedb.clients.web.util.HTML"
10  import="net.sf.basedb.util.Values"
11%>
12<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
13<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %>
14<%
15final SessionControl sc = Base.getExistingSessionControl(request, true);
16final String ID = sc.getId();
17final float scale = Base.getScale(sc);
18DbControl dc = null;
19try
20{
21  dc = sc.newDbControl();
22  final User user = User.getById(dc, sc.getLoggedInUserId());
23%>
24<base:page type="default" >
25<base:head styles="path.css">
26</base:head>
27<base:body>
28
29    <p:path>
30      <p:pathelement title="Reggie" />
31    </p:path>
32
33
34</base:body>
35</base:page>
36<%
37}
38finally
39{
40  if (dc != null) dc.close();
41}
42%>
Note: See TracBrowser for help on using the repository browser.