I'm starting with ListView and i like it, but...

code:
                add(new ListView("list", new LinkDAO().allLinks()){
                        @Override
                        protected void populateItem(ListItem arg0) {
                                Link l = (Link)arg0.getModelObject();
                                arg0.add(new Label("link", l.getName()));
                        }
                        
                });

template:
<div wicket:id="list">
<a href="#" wicket:id="link">link</a>
</div>

question:
How to change href="#" with l.getAddress() ?

-- 
Greetings
marioosh

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

Reply via email to