You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Wilfred Springer <Wi...@Sun.COM> on 2005/09/22 07:15:25 UTC

[shale] ViewController JavaDoc

I'm not exactly sure where to take these kind of comments, but I noticed
that there is a funny line in the ViewController JavaDoc. (Stating that
the preprocess() operation would be called for the ViewController whose
view would be rendered.) Here's the patch.

Cheers,

Wilfred

Index: core-library/src/java/org/apache/shale/view/ViewController.java
===================================================================
---
core-library/src/java/org/apache/shale/view/ViewController.java	(revision 290844)
+++
core-library/src/java/org/apache/shale/view/ViewController.java	(working
copy)
@@ -140,7 +140,7 @@
  *     view will have been instantiated, and its <code>init()</code>
method
  *     will have been called, as described above.</li>
  * <li>For the <code>ViewController</code> whose view will be rendered,
the
- *     <code>preprocess()</code> method will be called.  If your
+ *     <code>prerender()</code> method will be called.  If your
  *     <code>ViewController</code> performed navigation to a different
view,
  *     this method will <strong>NOT</strong> be called on the original
view;
  *     however, it will be called on the <code>ViewController</code>
instance

-- 
_________________________________________________________________
Wilfred Springer                Phone  : +31 (0)3 3451 5736
Software Architect              Mobile : +31 (0)6 2295 7321
Client Solutions                Fax    : +31 (0)3 3451 5734
Enterprise Web Services         Mail   : wilfred.springer@sun.com
Sun Microsystems Netherlands    AIM    : wilfred springer
http://blogs.sun.com/wilfred/


NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.

Re: [shale] ViewController JavaDoc

Posted by Craig McClanahan <cr...@apache.org>.
On 9/21/05, Wilfred Springer <Wi...@sun.com> wrote:
>
> I'm not exactly sure where to take these kind of comments, but I noticed
> that there is a funny line in the ViewController JavaDoc. (Stating that
> the preprocess() operation would be called for the ViewController whose
> view would be rendered.) Here's the patch.


Good catch! Fixed in nightly build 20050922.

Cheers,
>
> Wilfred


Craig