-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 try adding
deferred="false" to the loop - see javadoc for explanations. Am 23.05.2012 15:09, schrieb Nicolas Barrera: > Hi, > > I got the need to show a dynamic number of tree components in a > page, I thought about using a loop around a tree component but I > 've bumped with the problem that I 'll need to set the Tree's model > property with something variable. > > I 've already tried this: > > <t:loop t:source="loopData" t:value="loopValue"> > > <t:tree t:model="getTreeModel(loopValue)" > > and I could render two trees but when I tried to expand one branch > of a tree it executed again the getTreeModel but with a null > parameter so it finally didn't work as I expected. > > can anyone give me a hint on how could this be accomplished? > > cheers and thanks... > > Nicolás.- > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+86aAACgkQbmZsMyUPuXSoTgCg2dKyQja0xmj6MzBqXg6wfcUs qpgAn3SWfoSIlVS1y0W0HPlz02SCfvGM =GG3g -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org