Author: rahul
Date: Tue Oct 31 13:38:24 2006
New Revision: 469664
URL: http://svn.apache.org/viewvc?view=rev&rev=469664
Log:
Move clay resources to the shale-clay module. Adjust relative image src's on
the clay index page.
SHALE-306
Added:
shale/framework/trunk/shale-clay/src/site/resources/
shale/framework/trunk/shale-clay/src/site/resources/images/
shale/framework/trunk/shale-clay/src/site/resources/images/clay-rolodex.gif
- copied unchanged from r469650,
shale/framework/trunk/src/site/resources/images/clay-rolodex.gif
shale/framework/trunk/shale-clay/src/site/resources/images/login-clay-red.jpg
- copied unchanged from r469650,
shale/framework/trunk/src/site/resources/images/login-clay-red.jpg
shale/framework/trunk/shale-clay/src/site/resources/images/login-clay.jpg
- copied unchanged from r469650,
shale/framework/trunk/src/site/resources/images/login-clay.jpg
shale/framework/trunk/shale-clay/src/site/resources/images/login-html-red.jpg
- copied unchanged from r469650,
shale/framework/trunk/src/site/resources/images/login-html-red.jpg
shale/framework/trunk/shale-clay/src/site/resources/images/login-html.jpg
- copied unchanged from r469650,
shale/framework/trunk/src/site/resources/images/login-html.jpg
shale/framework/trunk/shale-clay/src/site/resources/images/login.jpg
- copied unchanged from r469650,
shale/framework/trunk/src/site/resources/images/login.jpg
Removed:
shale/framework/trunk/src/site/resources/images/clay-rolodex.gif
shale/framework/trunk/src/site/resources/images/login-clay-red.jpg
shale/framework/trunk/src/site/resources/images/login-clay.jpg
shale/framework/trunk/src/site/resources/images/login-html-red.jpg
shale/framework/trunk/src/site/resources/images/login-html.jpg
shale/framework/trunk/src/site/resources/images/login.jpg
Modified:
shale/framework/trunk/shale-clay/src/site/xdoc/index.xml
Modified: shale/framework/trunk/shale-clay/src/site/xdoc/index.xml
URL:
http://svn.apache.org/viewvc/shale/framework/trunk/shale-clay/src/site/xdoc/index.xml?view=diff&rev=469664&r1=469663&r2=469664
==============================================================================
--- shale/framework/trunk/shale-clay/src/site/xdoc/index.xml (original)
+++ shale/framework/trunk/shale-clay/src/site/xdoc/index.xml Tue Oct 31
13:38:24 2006
@@ -117,7 +117,7 @@
<p>Here's yet another incarnation of a simple login and
registration application:
(hey, it's better than Hello World!).</p>
- <p><img src="../images/login.jpg" alt="Shale Use Cases - Clay Login
Example"/></p>
+ <p><img src="images/login.jpg" alt="Shale Use Cases - Clay Login
Example"/></p>
<p>This application uses Tiles, so its JSP pages are pretty
well carved up. We're
going to look at the JSP page that implements the login form.
(Don't sweat the
details)</p>
@@ -202,10 +202,10 @@
access the preceeding HTML either directly (as a graphic
designer)
or through Clay (as a developer or end user). Here's what it
looks like when we access the
HTML directly: </p>
- <p><img src="../images/login-html.jpg" alt="Clay Login Example - Login
with HTML"/></p>
+ <p><img src="images/login-html.jpg" alt="Clay Login Example - Login
with HTML"/></p>
<p>And here's what it looks like through Clay:</p>
- <p><img src="../images/login-clay.jpg" alt="Clay Login Example - Login
with Clay"/></p>
+ <p><img src="images/login-clay.jpg" alt="Clay Login Example - Login
with Clay"/></p>
<p>Did you notice the differences? First, the URL in the
address bars: one ends in <code>.html</code>
and the other ends in <code>.faces</code>. Second, the error
messages: mockups for the HTML and
@@ -253,7 +253,7 @@
</p>
<p>You save that file, refresh the browser, and, as expected, you see
this: (check the address bar - that's the HTML file)</p>
- <p><img src="../images/login-clay-red.jpg" alt="Clay Login Example -
Login with Clay"/></p>
+ <p><img src="images/login-clay-red.jpg" alt="Clay Login Example -
Login with Clay"/></p>
<p>Later that day, a developer runs the application through
Clay and
Clay replaces the mockup error message with a real error
message component
@@ -261,7 +261,7 @@
component</i>. So, when an end-user runs the application and
stubbornly refuses to
supply a username, he endures the following shame:</p>
- <p><img src="../images/login-html-red.jpg" alt="Shale Use Cases - Clay
Login Example"/></p>
+ <p><img src="images/login-html-red.jpg" alt="Shale Use Cases - Clay
Login Example"/></p>
<p><i>Hot dog!</i> Our runtime error message is also red.
Clay has transmitted the
<code>style</code> attribute of the mockup HTML for
the username error message to the component that replaces it
at runtime. Now graphic
@@ -469,7 +469,7 @@
</ol>
<p>Each of these options is demonstrated in the Shale Use Cases
example application. The Clay "Rolodex" is shown below:</p>
- <p style="text-align: center"><img src="../images/clay-rolodex.gif"
alt="Shale Use Cases - Clay Rolodex Example"/></p>
+ <p style="text-align: center"><img src="images/clay-rolodex.gif" alt="Shale
Use Cases - Clay Rolodex Example"/></p>
</p>
</subsection>