Hi, ok, now is working
thanks igor.vaynberg wrote: > > wicket 1.4.3 is jdk5+ > > -igor > > On Fri, Dec 4, 2009 at 10:46 PM, Johan den Boer > <[email protected]> wrote: >> >> No is not working. >> >> the error message is >> >> The method add(Component[]) in the type MarkupContainer is not applicable >> for the arguments (Label) >> >> I am using eclipse 3.5 and maven. In my pom file >> >> <dependencies> >> <dependency> >> <groupId>org.apache.wicket</groupId> >> <artifactId>wicket</artifactId> >> <version>1.4.3</version> >> </dependency> >> </dependencies> >> >> here is my java class >> >> import org.apache.wicket.markup.html.WebPage; >> import org.apache.wicket.markup.html.basic.Label; >> >> public class Index extends WebPage { >> >> public Index() { >> add(new Label("message", "Hello Wicket")); >> } >> } >> >> the add method >> >> >> >> >> >> igor.vaynberg wrote: >>> >>> im pretty sure its still there >>> >>> -igor >>> >>> On Fri, Dec 4, 2009 at 10:12 PM, Johan den Boer >>> <[email protected]> wrote: >>>> Hi >>>> >>>> I am new to wicket so this question may already been answered. In my >>>> java >>>> class which is extended from WebPage I can not add a Label. >>>> >>>> add(new Label("message", "Hello World")) >>>> >>>> does not work. Is this method been replaced in 1.4.3 >>>> >>>> can you point me to the url so i can read about it or can you give me >>>> an >>>> answer >>>> >>>> thanks a lot >>>> >>>> >>>> Johan >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Add-method-in-wicket-1.4.3-tp26653262p26653357.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] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Add-method-in-wicket-1.4.3-tp26653262p26653404.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]
