[wsas-java-dev] svn commit r70 - in
wsas/java/trunk/modules/samples/Chad/xdocs: . images
svn at wso2.com
svn at wso2.com
Fri Dec 1 08:04:20 PST 2006
Author: chatra
Date: Fri Dec 1 08:04:15 2006
New Revision: 70
Added:
wsas/java/trunk/modules/samples/Chad/xdocs/images/main.jpg (contents, props changed)
Modified:
wsas/java/trunk/modules/samples/Chad/xdocs/chadguide.html
Log:
completed guide
Modified: wsas/java/trunk/modules/samples/Chad/xdocs/chadguide.html
==============================================================================
--- wsas/java/trunk/modules/samples/Chad/xdocs/chadguide.html (original)
+++ wsas/java/trunk/modules/samples/Chad/xdocs/chadguide.html Fri Dec 1 08:04:15 2006
@@ -35,9 +35,13 @@
<li>Create accounts for new administrators</li>
</ul>
-<p>Only one vote per poll is allowed for a particular IP address, and the
-poll results can be compared using the bar graphs and the relevant
-percentages of votes each choice has received.</p>
+<p>Only <strong>one vote per poll is allowed for a particular IP
+address</strong>, and the poll results can be compared using the bar graphs
+and the relevant percentages of votes each choice has received. If you try
+voting again using the same IP you will be directed to the poll results page,
+also including the line, "We have already received a vote for this poll from
+your IP address. Hence you are not eligible for voting" below the results
+graph.</p>
<h2>DEFINITIONS</h2>
<ul>
@@ -71,25 +75,47 @@
<p>Now you will have the Chad service deployed on WSO2 WSAS. You can check
this by going to the <a href="../../../docs/administratorguide.html">AJAX
-based Management Console</a> and clicking on the "Manage Services" link on the left
-menu. Click on "Chad" service link and you will go to a "Service Management" page of Chad. You should be able to see a sub menu titled "Application GUI" here. This
-sub menu will take you to the Web based UI of the Chad application.</p>
+based Management Console</a> and clicking on the "Manage Services" link on
+the left menu. If you see the Chad service listed here, then you know for
+sure that Chad is active/deployed.</p>
<h2>RUNNING THE WEB BASED CHAD CLIENT</h2>
-<p>You can run the client using a Web browser interface:</p>
+<p>You can run the client using a Web browser interface.</p>
<ul>
<li>Run the WSO2 WSAS Server (See <a
- href="../docs/installationguide.html">Installation Guide</a> for
+ href="../../../docs/installationguide.html">Installation Guide</a> for
instructions on installation)</li>
<li>Go to CHAD_URL (e.g. http://127.0.0.1:9762/wservices/Chad for the
standalone edition and http://127.0.0.1:9762/wso2wsas/wservices/Chad for
- the servlet distribution)</li>
- <li>Log into the Chad system with the given default username and
- password.</li>
- <li>Now you be presented with a screen with a left menu which gives you the
- following options
+ the servlet distribution)
+ <p>or</p>
+ <p>You can got to the WSO2 WSAS for Java Management Console, sign in,
+ then click on "Manage Services" link on the left menu. As Chad service is
+ already deployed you will see the service listed on the page. Click on
+ "Chad" service link and you will go to a "Service Management" page of
+ Chad. You should be able to see a sub menu titled "Application GUI" here.
+ This sub menu will take you to the Web based UI of the Chad application.
+ (See <a href="../../../docs/administratorguide.html">Administrator
+ Guide</a> for details for details)</p>
+ <p>Now you will see the user view of the Chad system as shown below. If
+ there are no Active polls, then the page will read as "There are no
+ active polls". An active poll is a poll open for voting. A normal user
+ can <a href="#vote">vote</a> using the "Vote" action. He can also see <a
+ href="#results">poll results</a> by clicking on the particular poll
+ title</p>
+ <p><img alt="Figure 1: User View-before logging in" src="images/main.jpg"
+ /></p>
+ </li>
+ <li>Do an Administrator Login with the given default username and password
+ to have access to administrator privileges to the Chad system. Once
+ logged in as Admin you will have access to the following features
<ul>
+ <a id="active_polls"></a>
+ <li>Active polls- lists polls that are open for voting. Here you have
+ the option of either <strong>stopping</strong> the poll or
+ <strong>voting</strong>. If you click on the name of the poll it will
+ list the <a href="#results">poll results</a></li>
<li>Create a poll</li>
<p><img alt="Figure 1: Create Poll" src="images/create.jpg" /></p>
<a></a>
@@ -100,6 +126,7 @@
Voting is open until explicitly closed using <a>stop option</a></p>
<li>All Polls - lists all polls created</li>
<p><img alt="Figure 2: All Polls" src="images/list_poll.jpg" /></p>
+ <a id="results"></a>
<p>To see <strong>Poll results</strong> click on the particular poll
listed on any of the Polls lists pages. You will get a page as shown
below.</p>
@@ -109,16 +136,18 @@
<strong>Start</strong> link will appear under 'Actions' column
replacing both Stop and Vote action links.</p>
<p><strong>Start</strong> action reopens a poll for voting.</p>
+ <a id="vote"></a>
<p><strong>Vote</strong> action will take you to a page as shown below
from which one can vote for his/her preferred choice. This can happen
- for either a <a href="#type">single type vote</a> or a <a
- href="#type">multiple type vote</a>.</p>
+ for either a <a href="#single">single type vote</a> or a <a
+ href="#multiple">multiple type vote</a>.</p>
+ <a id="single"></a>
<p>For single type vote:</p>
<p><img alt="Figure 4: Single Vote" src="images/chad_vote.jpg" /></p>
+ <a id="multiple"></a>
<p>For multiple type vote:</p>
<p><img alt="Figure 5: Multiple Vote" src="images/multiple_vote.jpg"
/></p>
- <li>Active polls- lists polls that are open for voting</li>
<li>Stopped polls- lists polls that have been closed for voting (polls
that one cannot vote for).</li>
<li>Administrators - allows the user to add new administrators</li>
Added: wsas/java/trunk/modules/samples/Chad/xdocs/images/main.jpg
==============================================================================
Binary file. No diff available.
More information about the Wsas-java-dev
mailing list