Skip to content

Commit aa12d12

Browse files
author
David Holt
committed
Initial commit
Signed-off-by: David Holt <dholt@cscw.ca>
0 parents  commit aa12d12

68 files changed

Lines changed: 2556 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin

README

Whitespace-only changes.

SimpleBlog/.classpath

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="Sources"/>
4+
<classpathentry kind="con" path="WOFramework/ERExtensions"/>
5+
<classpathentry kind="con" path="WOFramework/ERJars"/>
6+
<classpathentry kind="con" path="WOFramework/ERPrototypes"/>
7+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
8+
<classpathentry kind="con" path="WOFramework/ERModernLook"/>
9+
<classpathentry kind="con" path="WOFramework/ERCoolComponents"/>
10+
<classpathentry kind="con" path="WOFramework/JavaDTWGeneration"/>
11+
<classpathentry kind="con" path="WOFramework/ERModernDefaultSkin"/>
12+
<classpathentry kind="con" path="WOFramework/JavaDirectToWeb"/>
13+
<classpathentry kind="con" path="WOFramework/ERModernDirectToWeb"/>
14+
<classpathentry kind="con" path="WOFramework/ERDirectToWeb"/>
15+
<classpathentry kind="con" path="WOFramework/JavaFoundation"/>
16+
<classpathentry kind="con" path="WOFramework/JavaXML"/>
17+
<classpathentry kind="con" path="WOFramework/JavaWebObjects"/>
18+
<classpathentry kind="con" path="WOFramework/JavaWOExtensions"/>
19+
<classpathentry kind="con" path="WOFramework/JavaEOAccess"/>
20+
<classpathentry kind="con" path="WOFramework/JavaEOControl"/>
21+
<classpathentry kind="con" path="WOFramework/JavaJDBCAdaptor"/>
22+
<classpathentry kind="con" path="WOFramework/JavaEOProject"/>
23+
<classpathentry kind="con" path="WOFramework/Ajax"/>
24+
<classpathentry kind="con" path="WOFramework/WOLips"/>
25+
<classpathentry kind="con" path="WOFramework/SimpleBlogLogic"/>
26+
<classpathentry kind="output" path="bin"/>
27+
</classpath>

SimpleBlog/.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>SimpleBlog</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.objectstyle.wolips.incrementalbuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.objectstyle.wolips.incrementalapplicationnature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding//Components=UTF-8

SimpleBlog/Components/Main.api

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<wodefinitions>
3+
<wo wocomponentcontent="false" class="Main.java">
4+
</wo>
5+
</wodefinitions>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<html>
3+
<head>
4+
<title>SimpleBlog Login</title>
5+
<webobject name = "Stylesheet"></webobject>
6+
</head>
7+
<body onload="document.getElementById('username').focus()">
8+
<div class = "MenuHeaderWrapper">
9+
<div class = "Heading MenuHeaderHeading">
10+
<h1>SimpleBlog Login</h1>
11+
</div>
12+
</div>
13+
<webobject name = "HasErrorMessage">
14+
<div class = "ErrBlock"><webobject name = "ErrorMessage"></webobject></div>
15+
</webobject>
16+
<div id="LoginForm">
17+
<webobject name = "LoginForm">
18+
<webobject name = "DefaultSubmit"/>
19+
<h2>Login</h2>
20+
<p><label for="username">Username:</label><webobject name = "UsernameField"/></p>
21+
<p><label for="password">Password:</label><webobject name = "PasswordField"/></p>
22+
<p class="button_bar"><a href="javascript:void();" onclick="document.forms['LoginForm'].submit()" class="Button PageButton LoginPageButton"><span>Login</span></a></p>
23+
</webobject>
24+
</div>
25+
</body>
26+
</html>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
LoginForm : WOForm {
2+
multipleSubmit = false;
3+
directActionName = "login";
4+
actionClass = "DirectAction";
5+
name="LoginForm";
6+
}
7+
8+
UsernameField : WOTextField {
9+
value = username;
10+
name = "username";
11+
id = "username";
12+
}
13+
14+
PasswordField : WOPasswordField {
15+
value = password;
16+
name = "password";
17+
}
18+
19+
Stylesheet : ERXStyleSheet {
20+
filename = "login_page.css";
21+
framework = "app";
22+
}
23+
24+
HasErrorMessage : WOConditional {
25+
condition = errorMessage;
26+
}
27+
28+
ErrorMessage : WOString {
29+
value = errorMessage;
30+
}
31+
32+
DefaultSubmit : WOImageButton {
33+
filename = "s.gif";
34+
framework = "ERExtensions";
35+
directActionName = "login";
36+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"WebObjects Release" = "WebObjects 5.0";
3+
encoding = "UTF-8";
4+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<webobject name = "HasValidSession">
2+
<div class = "MenuHeaderWrapper">
3+
<div class = "Heading MenuHeaderHeading">
4+
<h1>SimpleBlog</h1>
5+
</div>
6+
<div class = "Menu UserMenu">
7+
<ul class = "MenuOptions UserMenuOptions">
8+
<li class="first"><a href = "#">Logged In User</a></li>
9+
<li><webobject name = "HomeLink">Homepage</webobject></li>
10+
<li><webobject name = "LoginLink">Log Out</webobject></li>
11+
</ul>
12+
</div>
13+
</div>
14+
<webobject name = "ERXNavigationMenu"/>
15+
</webobject>

0 commit comments

Comments
 (0)