wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "oliver.stef" <ova...@gmail.com>
Subject Re: add a component (submitLink) multiple times?
Date Wed, 13 Jun 2012 17:23:43 GMT
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? 


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

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


Mime
View raw message