Permalink
Browse files

git-svn-id: https://flexapps.svn.sourceforge.net/svnroot/flexapps/cen…

…sus2@621 381d3abc-5231-0410-a0e4-b068e20cbb11
  • Loading branch information...
1 parent fb1147a commit 2ee76a11ee38035ff0fe6c4b16002995ac2dfc73 jlward4 committed Dec 24, 2009
View
12 server/.classpath
@@ -1,13 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.generic.runtimeTarget/JBoss v5.0">
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 5.1 Runtime">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
- <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
- <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-6-sun-1.6.0.15">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.java"/>
+ </attributes>
+ </classpathentry>
<classpathentry kind="output" path="build/classes"/>
</classpath>
View
2 server/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
- <runtime name="JBoss v5.0"/>
+ <runtime name="JBoss 5.1 Runtime"/>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.java" version="6.0"/>
View
BIN server/WebContent/census2.swf
Binary file not shown.
View
BIN server/WebContent/datavisualization_3.5.0.12683.swf
Binary file not shown.
View
BIN server/WebContent/datavisualization_3.5.0.12683.swz
Binary file not shown.
View
BIN server/WebContent/framework_3.3.0.4852.swf
Binary file not shown.
View
BIN server/WebContent/framework_3.3.0.4852.swz
Binary file not shown.
View
BIN server/WebContent/framework_3.5.0.12683.swf
Binary file not shown.
View
BIN server/WebContent/framework_3.5.0.12683.swz
Binary file not shown.
View
38 server/WebContent/main.css
@@ -1,38 +0,0 @@
-html, body {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 11px;
- margin: 0px;
- background-color: #eaeaea;
- overflow: hidden;
-}
-
-td {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- color: #bbbbbb;
- font-size: 11px;
-}
-
-th {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 11px;
-}
-
-h1 {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- color: #bbbbbb;
- font-size: 14px;
-}
-
-h2 {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- color: #bbbbbb;
- font-size: 12px;
-}
-
-#grid {
- position:absolute;
- top:0px;
- left:0px;
- height: 100%;
- width: 100%;
-}
View
13 server/WebContent/readable.css
@@ -276,4 +276,17 @@ TabBar
{
strokeWidth: 1;
strokeColor: #dadada;
+}
+
+StyledAxisRenderer
+{
+ showLine: false;
+ tickStrokeColor: #d4d4d4;
+ tickStrokeWeight: 1;
+}
+
+ChartBackgroundFill
+{
+ borderFillColor: #d4d4d4;
+ fillColor: #e5e5e5;
}
View
BIN server/WebContent/readable.swf
Binary file not shown.
View
BIN server/WebContent/rpc_3.5.0.12683.swf
Binary file not shown.
View
BIN server/WebContent/rpc_3.5.0.12683.swz
Binary file not shown.
View
13 server/WebContent/sexy.css
@@ -276,4 +276,17 @@ TabBar
{
strokeWidth: 1;
strokeColor: #252525;
+}
+
+StyledAxisRenderer
+{
+ showLine: false;
+ tickStrokeColor: #2b2b2b;
+ tickStrokeWeight: 1;
+}
+
+ChartBackgroundFill
+{
+ borderFillColor: #050505;
+ fillColor: #111111;
}
View
BIN server/WebContent/sexy.swf
Binary file not shown.
View
8 server/WebContent/tests.xml
@@ -6,9 +6,9 @@
<description>Flex with AMF3 Remoting</description>
</test>
<test>
- <id>ajax_json</id>
- <name>Ajax JSON</name>
- <url>http://www.jamesward.com/census/ajax_json.html</url>
- <description>Plain Ajax with JSON</description>
+ <id>flex_xml_as</id>
+ <name>Flex XML AS</name>
+ <url>http://localhost:8080/census2-tests/flex_xml_as.html</url>
+ <description>XML to AS Objects</description>
</test>
</tests>
View
17 server/src/com/jamesward/census2/SendCensusResult.java
@@ -23,7 +23,22 @@ public void doGet(HttpServletRequest request, HttpServletResponse response)
String clientId = request.getParameter("clientId");
String testId = request.getParameter("testId");
String resultType = request.getParameter("resultType");
- Integer resultData = Integer.parseInt(request.getParameter("resultData"));
+ Integer resultData;
+
+ String resultDataString = request.getParameter("resultData");
+
+ if (resultDataString.equals("true"))
+ {
+ resultData = 1;
+ }
+ else if (resultDataString.equals("false"))
+ {
+ resultData = 0;
+ }
+ else
+ {
+ resultData = Integer.parseInt(resultDataString);
+ }
if ((clientId == null) || (testId == null) || (resultType == null)
|| (resultData == null) || (clientId.length() <= 0)

0 comments on commit 2ee76a1

Please sign in to comment.