So I created a method like:

private Component text(String pId){
Label text = new Label(pId){
@Override
protected void onConfigure() {
                                // TODO Auto-generated method stub
                                super.onConfigure();
                                
                                setDefaultModelObject(getAgreementText);
                        }
}

then in Step2 I made
add(text("user.text"));

and it Worked!
Thank you Andrea Del Bene-2 so much!!!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-wizard-init-tp4446076p4456290.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to