You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/01/04 14:38:48 UTC
svn commit: r731259 - in /incubator/click/trunk/click: build/ documentation/
documentation/docs/ documentation/docs/servlet-api/
documentation/docs/velocity/
Author: sabob
Date: Sun Jan 4 05:38:48 2009
New Revision: 731259
URL: http://svn.apache.org/viewvc?rev=731259&view=rev
Log:
Removed servlet-api docs. Updated links to online servlet api.
Removed:
incubator/click/trunk/click/documentation/docs/servlet-api/
Modified:
incubator/click/trunk/click/build/build.xml
incubator/click/trunk/click/documentation/docs/best-practices.html
incubator/click/trunk/click/documentation/docs/configuration.html
incubator/click/trunk/click/documentation/docs/pages.html
incubator/click/trunk/click/documentation/docs/velocity/velocity.html
incubator/click/trunk/click/documentation/toc.html
Modified: incubator/click/trunk/click/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/build/build.xml?rev=731259&r1=731258&r2=731259&view=diff
==============================================================================
--- incubator/click/trunk/click/build/build.xml (original)
+++ incubator/click/trunk/click/build/build.xml Sun Jan 4 05:38:48 2009
@@ -655,9 +655,6 @@
<copy file="documentation/docs/javadoc-stylesheet.css"
overwrite="true"
tofile="documentation/docs/mock-api/stylesheet.css"/>
- <copy file="documentation/docs/javadoc-stylesheet.css"
- overwrite="true"
- tofile="documentation/docs/servlet-api/stylesheet.css"/>
</target>
Modified: incubator/click/trunk/click/documentation/docs/best-practices.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/best-practices.html?rev=731259&r1=731258&r2=731259&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/best-practices.html (original)
+++ incubator/click/trunk/click/documentation/docs/best-practices.html Sun Jan 4 05:38:48 2009
@@ -620,7 +620,7 @@
</pages> </pre>
Generally application handle transactional errors using service layer code or via a
-servlet <a href="servlet-api/javax/servlet/Filter.html">Filter</a> and would not
+servlet <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/Filter.html">Filter</a> and would not
need to include error handling logic in an error page.
<p/>
Potential uses for a custom error page include custom logging.
Modified: incubator/click/trunk/click/documentation/docs/configuration.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/configuration.html?rev=731259&r1=731258&r2=731259&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/configuration.html (original)
+++ incubator/click/trunk/click/documentation/docs/configuration.html Sun Jan 4 05:38:48 2009
@@ -272,7 +272,7 @@
<p/>
When the Click application starts up it will check all the page definitions. If there
is a critical configuration error the ClickSerlvet will log an <tt>ERROR</tt> message and throw an
-<a target="topic" href="servlet-api/javax/servlet/UnavailableException.html">UnavailableException</a>.
+<a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/UnavailableException.html">UnavailableException</a>.
If this occurs the click application will be permanently unavailable until the error is fixed
and the web app is restarted.
@@ -456,7 +456,7 @@
The <tt><span class="red">header</span></tt> element defines header name and value
pairs which are applied to the
-<a target="topic" href="servlet-api/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>.
+<a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>.
<pre class="codeDtd">
<!ELEMENT <span class="red">header</span> (#PCDATA)>
Modified: incubator/click/trunk/click/documentation/docs/pages.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/pages.html?rev=731259&r1=731258&r2=731259&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/pages.html (original)
+++ incubator/click/trunk/click/documentation/docs/pages.html Sun Jan 4 05:38:48 2009
@@ -188,16 +188,16 @@
of the page template to render
</li>
<li>request -
- the pages <a href="servlet-api/javax/servlet/http/HttpServletRequest.html">HttpServletRequest</a>
+ the pages <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html">HttpServletRequest</a>
object
</li>
<li>response -
- the pages <a href="servlet-api/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>
+ the pages <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>
object
</li>
<li>session -
the <a href="click-api/net/sf/click/util/SessionMap.html">SessionMap</a> adaptor
- for the users <a href="servlet-api/javax/servlet/http/HttpSession.html">HttpSession</a>
+ for the users <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html">HttpSession</a>
</li>
</ul>
@@ -398,7 +398,7 @@
*/</span>
<span class="kw">public boolean</span> onSecurityCheck() {
- <span class="kw">if</span> (getContext().getRequest().<a target="topic" href="servlet-api/javax/servlet/http/HttpServletRequest.html#getRemoteUser()">getRemoteUser</a>() != <span class="kw">null</span>) {
+ <span class="kw">if</span> (getContext().getRequest().<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#getRemoteUser()">getRemoteUser</a>() != <span class="kw">null</span>) {
<span class="kw">return true</span>;
} <span class="kw">else</span> {
@@ -423,7 +423,7 @@
*/</span>
<span class="kw">public boolean</span> onSecurityCheck() {
- <span class="kw">if</span> (getContext().getRequest().<a target="topic" href="servlet-api/javax/servlet/http/HttpServletRequest.html#isUserInRole(java.lang.String)">isUserInRole</a>(<span class="st">"admin"</span>)) {
+ <span class="kw">if</span> (getContext().getRequest().<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#isUserInRole(java.lang.String)">isUserInRole</a>(<span class="st">"admin"</span>)) {
<span class="kw">return true</span>;
} <span class="kw">else</span> {
@@ -445,7 +445,7 @@
* @see Page#onInit()
*/</span>
<span class="kw">public void</span> onInit() {
- getContext().getSession().<a target="topic" href="servlet-api/javax/servlet/http/HttpSession.html#invalidate()">invalidate</a>();
+ getContext().getSession().<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html#invalidate()">invalidate</a>();
}
}
</pre>
@@ -459,7 +459,7 @@
<a name="page-foward" class="heading"></a><h3>5.1 Forward</h3>
To forward to another page using the servlet
-<a target="topic" href="servlet-api/javax/servlet/RequestDispatcher.html">RequestDispatcher</a>,
+<a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/RequestDispatcher.html">RequestDispatcher</a>,
set the Page's forward property. For example to forward to a page with a path
<span class="html">index.htm</span>:
@@ -605,7 +605,7 @@
<a name="page-redirect" class="heading"></a><h3>5.3 Redirect</h3>
Redirects are another very useful way to navigate between pages. See
-HttpServletResponse.<a target="topic" href="servlet-api/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String)">sendRedirect</a>(location)
+HttpServletResponse.<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String)">sendRedirect</a>(location)
for details.
<p/>
The great thing about redirects are that they provide a clean URL in the users browser
@@ -660,7 +660,7 @@
You can pass information between redirected pages using URL request parameters.
The ClickServlet will encode the URL for you using
-HttpServletResponse.<a target="topic" href="servlet-api/javax/servlet/http/HttpServletResponse.html#encodeRedirectURL(java.lang.String)">encodeRedirectURL</a>(url).
+HttpServletResponse.<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html#encodeRedirectURL(java.lang.String)">encodeRedirectURL</a>(url).
<p/>
In the example below a user will click on an OK button to confirm a payment. The
<tt>onOkClick()</tt> button handler processes the payment, gets the payment transaction id, and then
@@ -925,7 +925,7 @@
</pre>
Stateful page instances are stored in the user's
-<a target="topic" href="servlet-api/javax/servlet/http/HttpSession.html">HttpSession</a>
+<a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html">HttpSession</a>
using the pages class name as the key. In the example above the page would be stored in
the users session using the class name: <tt>com.mycorp.page.SearchPage</tt>
Modified: incubator/click/trunk/click/documentation/docs/velocity/velocity.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/velocity/velocity.html?rev=731259&r1=731258&r2=731259&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/velocity/velocity.html (original)
+++ incubator/click/trunk/click/documentation/docs/velocity/velocity.html Sun Jan 4 05:38:48 2009
@@ -80,16 +80,16 @@
of the page template to render.
</li>
<li><span class="st">request</span> -
- the pages <a href="../servlet-api/javax/servlet/http/HttpServletRequest.html">HttpServletRequest</a>
+ the pages <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html">HttpServletRequest</a>
object.
</li>
<li><span class="st">response</span> -
- the pages <a href="../servlet-api/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>
+ the pages <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>
object.
</li>
<li><span class="st">session</span> -
the <a target="topic" href="../click-api/net/sf/click/util/SessionMap.html">SessionMap</a> adaptor
- for the users <a href="../servlet-api/javax/servlet/http/HttpSession.html">HttpSession</a>.
+ for the users <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html">HttpSession</a>.
</li>
</ul>
Modified: incubator/click/trunk/click/documentation/toc.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/toc.html?rev=731259&r1=731258&r2=731259&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/toc.html (original)
+++ incubator/click/trunk/click/documentation/toc.html Sun Jan 4 05:38:48 2009
@@ -199,8 +199,9 @@
</td></tr>
<tr><td>
-<a target='topic' class='navLinkTopic' href='docs/servlet-api/overview-summary.html' title=' Servlet 2.3 Javadoc API'>
+<a target="_blank" class='navLinkTopic' href='http://java.sun.com/products/servlet/2.3/javadoc/overview-summary.html' title=' Servlet 2.3 Javadoc API'>
Servlet 2.3 API</a>
+<img src='images/external.png' align='baseline' border='0'/>
</td></tr>
<tr height="100%">