Well if its a CPM and you error is: Caused by: java.lang.RuntimeException: An error occurred while getting the model object for Component: [AccountInfoPanel [Component id = accountInfoPanel, page = com.trifork.pengeplan.web.app.secure.transactions.AddTransactionPage, path = 2:entityEdit:accountInfoPanel.AccountInfoPanel, isVisible = true, isVersioned = true], children = [Component id = ownedAccountType]
Your path seems to be: entityEdit:accountInfoPanel.AccountInfoPanel I take it entityEdit is your form, then your CPM should have an object with a getAccountInfoPanel.AccountInfoPabel() In other words if you're using CPM then make sure the POJO that backs it up has fields matching your wicket IDs nested through getters and setters. However, Wicket's idiom is to nest models. On your panel inside the form for each form field use new PropertyModel("myClassFieldName", getModel()) This should have the PropertyModel use the parent's CPM and look up for the property you really need. ~ Thank you, Paul C Bors On Jul 4, 2013, at 10:03, Tommy Sadiq Hinrichsen <tommy.ly...@gmail.com> wrote: > Caused by: java.lang.RuntimeException: An error occurred while getting the > model object for Component: [AccountInfoPanel [Component id = > accountInfoPanel, page = > com.trifork.pengeplan.web.app.secure.transactions.AddTransactionPage, path > = 2:entityEdit:accountInfoPanel.AccountInfoPanel, isVisible = true, > isVersioned = true], children = [Component id = ownedAccountType] --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org