Hi All,
I am working on a tag cloud component and looking for a solution how
to append simple property models to a label and display them:
So far my current code is:
CloudLabel cl = new CloudLabel(); // Simple Object with two Strings
cl.setName("Name");
cl.setWeight("10");
labels.add(new Label("label",new CompoundPropertyModel(cl)));
If I try to display the properties within html I get an error:
<span wicket:id="label.name">
Can anyone give me a hint if it is simply possible to just read
a property this way?
Thanks,
Maciek
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user