Using 1.3beta2.
I'm new, so maybe I shouldn't be trying to work with the Wizard stuff 
from wicket-extentions this early, but...

I just don't see how to get at my model in between steps, or rather, at 
the end of a step. My wizard constructor looks like:
public class RequestWizard extends Wizard
{
    public RequestWizard(String id)
    {
        super(id);
        ConsultRequestBackingBean backingBean = new 
ConsultRequestBackingBean();
        setModel(new CompoundPropertyModel(backingBean));
        WizardModel model = new WizardModel();
        model.add(new RegNumberStep());
        model.add(new RequestTypeStep());
        init(model);
 }
...

In my RegNumberStep class, when the "Next" button is pressed, I 
understand that the applyState() method is called. In that method I 
would like to get a hold of my ConsultRequestBackingBean. But if I call 
getModelObject() I get an exception

No get method defined for class: class 
edu.umich.med.wcp.wicket.model.ConsultRequestBackingBean expression: view

I'm afraid I don't understand why Wicket is attempting to call getView() 
on my ConsultRequestBackingBean.

Thanks for any help,
Will

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to