I tried the following statement in the constructor of my WebPage class,

add( new Label( "userName", (IndexApplication.get()).getUserName() ) );

I got the following error,
IndexPage.java:10: cannot find symbol
symbol  : method getUserName()

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-pass-context-param-values-to-different-WebPages-tp2288699p2288744.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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

Reply via email to