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]

Reply via email to