hi,
i'm using wickettester with wicket 1.5.5 and i need to submit wizard
and get response with next step (panel with form)
but i can't get it working.

Example:
1.        FormTester firstWizardForm = tester.newFormTester("wizard:form");
2.        firstWizardForm.select("view:items:type", 1);
3.        
tester.executeAjaxEvent(tester.getComponentFromLastRenderedPage("wizard:form:view:items:type"),
 "onchange");
                
4.        firstWizardForm.setValue("view:items:amount", "1");
5.        
tester.executeAjaxEvent(tester.getComponentFromLastRenderedPage("wizard:form:view:items:amount"),
 "onchange");
                
6.        WizardButton nextButton = (WizardButton) 
tester.getComponentFromLastRenderedPage("wizard:form:buttons:next");
7.        nextButton.onSubmit();

8.        tester.getLastResponseAsString();

Everythink works fine but in the last command i didn't get expected html markup.
Instead of expected, last response is the same as after line 5.

Thanks a lot.
_____________________________________________________________________

Hladate spisovny vyraz? http://www.jazykovaporadna.sk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to