Hi, the best approach depends on your project. If the your collections of strings is an bean property, you can use PropertyModel, CompoundPropertyModel ex: new PropertyModel<Collection>(beanDayNews, "sportNews");
Depending on your model data heavy, you can use LoadableDetachableModel or Model... http://wicket.apache.org/docs/1.4/org/apache/wicket/model/package-tree.html On Sun, Sep 13, 2009 at 6:57 PM, Fernando Wermus <[email protected]>wrote: > Hi all, > I would like to get a collection of string insted of a string using > ResourceModel. Is this achievable? Or which would be the best aproach? > > I have to publish in the simplest way just 2 or 3 news on the homepage of > the site..... > > thanks in advance > > -- > Fernando Wermus. > > www.linkedin.com/in/fernandowermus >
