i don't understand the problem.... can't you check the resource before link is rendered? You can create a new resource object empty in the case of null bytes....and setVisible(false) or extend link to do this automatically on empty resource...
Luca 2009/10/14 Iain Reddick <iain.redd...@beatsystems.com> > Hi, > > I need to display a resource link conditionally, based on whether a > resource exists, or is null. The resource itself is bytes in a database and > should not be anchored to a component. > > How should I handle this, with regard to the resource being nullable? > > Thanks. > > iainr > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >