1391 |
15 Sep 11 |
nicklas |
1 |
<%-- |
1391 |
15 Sep 11 |
nicklas |
Copyright (C) 2011 Nicklas Nordborg |
1391 |
15 Sep 11 |
nicklas |
3 |
|
1391 |
15 Sep 11 |
nicklas |
This file is part of the Example Code Package for BASE. |
1391 |
15 Sep 11 |
nicklas |
Available at http://baseplugins.thep.lu.se/ |
1391 |
15 Sep 11 |
nicklas |
BASE main site: http://base.thep.lu.se/ |
1391 |
15 Sep 11 |
nicklas |
7 |
|
1391 |
15 Sep 11 |
nicklas |
This is free software; you can redistribute it and/or |
1391 |
15 Sep 11 |
nicklas |
modify it under the terms of the GNU General Public License |
1391 |
15 Sep 11 |
nicklas |
as published by the Free Software Foundation; either version 3 |
1391 |
15 Sep 11 |
nicklas |
of the License, or (at your option) any later version. |
1391 |
15 Sep 11 |
nicklas |
12 |
|
1391 |
15 Sep 11 |
nicklas |
The software is distributed in the hope that it will be useful, |
1391 |
15 Sep 11 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1391 |
15 Sep 11 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1391 |
15 Sep 11 |
nicklas |
GNU General Public License for more details. |
1391 |
15 Sep 11 |
nicklas |
17 |
|
1391 |
15 Sep 11 |
nicklas |
You should have received a copy of the GNU General Public License |
1391 |
15 Sep 11 |
nicklas |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
1391 |
15 Sep 11 |
nicklas |
20 |
--%> |
1027 |
07 Apr 09 |
nicklas |
<%@ page |
1027 |
07 Apr 09 |
nicklas |
pageEncoding="UTF-8" |
1027 |
07 Apr 09 |
nicklas |
session="false" |
661 |
15 Apr 08 |
nicklas |
import="net.sf.basedb.core.User" |
661 |
15 Apr 08 |
nicklas |
import="net.sf.basedb.clients.web.util.HTML" |
1150 |
31 Aug 09 |
nicklas |
import="net.sf.basedb.examples.extensions.xjsp.HelloXJspWorld" |
661 |
15 Apr 08 |
nicklas |
27 |
%> |
661 |
15 Apr 08 |
nicklas |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
661 |
15 Apr 08 |
nicklas |
29 |
<% |
661 |
15 Apr 08 |
nicklas |
final HelloXJspWorld hello = new HelloXJspWorld(pageContext); |
661 |
15 Apr 08 |
nicklas |
final String ID = hello.getSessionId(); |
661 |
15 Apr 08 |
nicklas |
final User current = hello.getLoggedInUser(); |
661 |
15 Apr 08 |
nicklas |
33 |
%> |
2205 |
29 Jan 14 |
nicklas |
<base:page type="popup" title="Hello X-JSP world" id="hello-xjsp-world"> |
2205 |
29 Jan 14 |
nicklas |
<base:head scripts="~scripts/common.js" /> |
661 |
15 Apr 08 |
nicklas |
<base:body> |
1537 |
16 Feb 12 |
nicklas |
<h1>Hello <%=HTML.encodeTags(current.getName())%></h1> |
1537 |
16 Feb 12 |
nicklas |
<div class="content bottomborder"> |
1537 |
16 Feb 12 |
nicklas |
<table class="fullform"> |
661 |
15 Apr 08 |
nicklas |
<tr> |
1537 |
16 Feb 12 |
nicklas |
<th>Session ID</th> |
661 |
15 Apr 08 |
nicklas |
<td><%=ID%></td> |
661 |
15 Apr 08 |
nicklas |
</tr> |
661 |
15 Apr 08 |
nicklas |
<tr> |
1537 |
16 Feb 12 |
nicklas |
<th>Login</th> |
661 |
15 Apr 08 |
nicklas |
<td><%=HTML.encodeTags(current.getLogin())%></td> |
661 |
15 Apr 08 |
nicklas |
</tr> |
661 |
15 Apr 08 |
nicklas |
<tr> |
1537 |
16 Feb 12 |
nicklas |
<th>Email</th> |
661 |
15 Apr 08 |
nicklas |
<td><%=HTML.niceFormat(current.getEmail())%></td> |
661 |
15 Apr 08 |
nicklas |
</tr> |
1537 |
16 Feb 12 |
nicklas |
<tr class="dynamic"> |
1537 |
16 Feb 12 |
nicklas |
<th></th> |
1537 |
16 Feb 12 |
nicklas |
<td> |
1537 |
16 Feb 12 |
nicklas |
<div class="messagecontainer note"> |
1537 |
16 Feb 12 |
nicklas |
Produced with the XJSP compiler. |
1537 |
16 Feb 12 |
nicklas |
</div> |
1537 |
16 Feb 12 |
nicklas |
</td> |
1537 |
16 Feb 12 |
nicklas |
</tr> |
661 |
15 Apr 08 |
nicklas |
</table> |
661 |
15 Apr 08 |
nicklas |
</div> |
1537 |
16 Feb 12 |
nicklas |
62 |
|
1537 |
16 Feb 12 |
nicklas |
<base:buttongroup subclass="dialogbuttons"> |
2205 |
29 Jan 14 |
nicklas |
<base:button id="close" title="Close" /> |
1537 |
16 Feb 12 |
nicklas |
</base:buttongroup> |
661 |
15 Apr 08 |
nicklas |
</base:body> |
661 |
15 Apr 08 |
nicklas |
</base:page> |
661 |
15 Apr 08 |
nicklas |
68 |
|