Tnx Jeroen! That does the trick �
----- Original Message ---- From: Jeroen van der Wal To: users Sent: Vri, 08 Aug 2014 10:46 Subject: Re: display an expanded list in ISIS Hi Johan, Use the @Render(Type.EAGERLY) annotation [1] to eagerly load the collection [1] http://isis.apache.org/reference/recognized-annotations/Render.html Cheers, Jeroen On Fri, Aug 8, 2014 at 10:32 AM, wrote: > Hi, > > > > I am displaying a list that shows default collapsed in the Wicked Viewer. > How can I show it default expanded? > > > > I use the follwing code: > > > > > // {{ Profiles (Collection) > > @Persistent(mappedBy = "owner", dependentElement = "false") > > private SortedSet profiles = new TreeSet(); > > > > @MemberOrder(sequence = "1") > > public SortedSet getProfiles() { > > return profiles; > > } > > > > public void setProfiles(final SortedSet collectionName) { > > this.profiles = collectionName; > > } > > // }} > > > > And the for the list itself: > > > > public class Profiles extends AbstractFactoryAndRepository { > > > > @ActionSemantics(Of.SAFE) > > public List allUsers() { > > return allInstances(Profile.class); > > } > > > > } > > > > > > �
