So the casting class is just sort of Bean where I have all my getters and
setters for variables (according to
http://wiki.apache.org/jakarta-tapestry/MoreFrequentlyAskedQuestions that
Shing referenced)?
On 4/13/05, Jamie <[EMAIL PROTECTED]> wrote:
>
> It's another page!
>
> The code says:
>
> get the page called "ToppingsResult";
> set the property "toppings" to toppings;
> go to the page.
>
>
> webtekie wrote:
>
> >In the book there is an example on use of html forms and combo boxes.
> >One piece of code I don't quite understand:
> >
> >public void selectToppings(IRequestCycle cycle)
> >{
> > String toppings = getToppingsList();
> > ToppingsResult page =
> > (ToppingsResult) cycle.getPage("ToppingsResult");
> > page.setToppings(toppings);
> > cycle.activate(page);
> >}
> >
> >What is the purpose of ToppingsResult class, what exectly does it cast?
> >
> >thanks,
> >webtekie
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>