How can I add a component (submitLink) multiple times?

like this:

List<String> categories = Arrays.asList("English", "Japanese", );  

for (String str : language) 
{
     form.add(new SubmitLink("Name",str)
    { 
                @Override
                public void onSubmit() { ...}
   }
}

and HTML:

#   

Any ideas?

Thanks!


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/add-a-component-submitLink-multiple-times-tp4649936.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to