Thanks. Hmm than what should the path be for the formTester.
I know i have to add to the body for the new
navomaticBorder.addToBody("loginBody");
but if the path changes.. how would i get the path for the form tester to
work.
--
View this message in context:
http://apache-wicket.1842946.n4.
Hi iam getting error in my test case.
I have the standard navomaticborder file with
addToBorder("navigationBorder") and addToBorder("bodyBorder");
my test contains:
this.tester.startPage(LoginPage.class);
final FormTester formTester =
this.tester.newFormTester("loginBody:signInPanel:signInFor
Hi can someone explain to me why performance of unit testing is faster using
setUp and destory this way.
@Before
public void setup() {
if (this.authenticatedWebApp == null) {
this.authenticatedWebApp = new AuthenticatedTestApplication();
}
if (this.test
Hi Martin, yesterday that was the domain (persistent object was called User).
The command object was call Account hence AccountCommand.
Anyways I solve my problem by adding a additional parameter.
new DropDownChoice("userChoice", new
CompoundPropertyModel(selectedUser),
final LoadableDetachableModel accountCommand = new
AccountDetachableModel(userId, personId);
final AccountForm form = new AccountForm("accountForm", accountCommand);
My AccountCommand {
private Integer userId;
private Integer accountId;
private String accountName;
private String
Hi I have the following domain object
public class User {
private String email;
private String firstName;
private String lastName;
private Account account;
public String getUserName() {
return this.account.getName();
}
public void setUserName(String username) {
Thanks anyways, i found out my problem has nothing to do with wicket at all
but rather my tomcat class loader and other related stuff.
I had to move slf4j , log4j jar file out of standard webapp during
deployment and put them in tomcat/lib folder.
--
View this message in context:
http://apach
Thanks martin: however all of them unfortuantely is at 1.4.12
wicket-ioc
wicket-spring
wicket
wicket-auth-roles.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-1-4-12-cannot-cast-to-org-apache-wicket-protocol-http-WebApplication-tp2965438p2967100.html
Sent
Hi i have the following in my web.xml
wicket.filter
org.apache.wicket.protocol.http.WicketFilter
applicationFactoryClassName
org.apache.wicket.spring.SpringWebApplicationFactory