tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harish Krishnaswamy <hkrishnasw...@comcast.net>
Subject Re: [PATCH] Update Component Reference Docs
Date Sat, 20 Dec 2003 21:46:56 GMT
Patch applied, thanks.

-Harish

Michael M. Brzycki wrote:

> I'm not sure if I'm jumping the gun on these changes, but...
> 
> Examples for ValidField and Form in the Component Reference 
> documentation refer to use of IRequestCycle.setPage which is deprecated 
> and to be removed in 3.1..  This patch updates those references to 
> IRequestCycle.activate
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: Form.html
> ===================================================================
> RCS file: /home/cvspublic/jakarta-tapestry/doc/src/ComponentReference/Form.html,v
> retrieving revision 1.20
> diff -w -B -u -r1.20 Form.html
> --- Form.html	24 Mar 2003 20:41:43 -0000	1.20
> +++ Form.html	20 Dec 2003 21:26:12 -0000
> @@ -213,7 +213,7 @@
>          Visit visit = (Visit) getVisit();
>  			
>          if (visit.isAuthenticated()) {
> -            cycle.setPage("Home");		
> +            cycle.activate("Home");		
>          } 
>      }
>  }
> Index: ValidField.html
> ===================================================================
> RCS file: /home/cvspublic/jakarta-tapestry/doc/src/ComponentReference/ValidField.html,v
> retrieving revision 1.22
> diff -w -B -u -r1.22 ValidField.html
> --- ValidField.html	18 Oct 2003 15:17:45 -0000	1.22
> +++ ValidField.html	20 Dec 2003 21:26:12 -0000
> @@ -360,12 +360,12 @@
>              ..
>              
>              // Go to the confirmation page.
> -            cycle.setPage("BidConfirmPage");
> +            cycle.activate("BidConfirmPage");
>          }
>      }
>      
>      public void cancelSubmit(IRequestCycle cycle) {
> -        cycle.setPage("AuctionListPage");
> +        cycle.activate("AuctionListPage");
>      }
>  }
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message