-Igor
On 8/23/06, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
I'm trying to create an Image component with a PackageResourceReference to an actual image in my application. I have something like this:
public class Icons
{
private static Log log = LogFactory.getLog(Icons.class);
public static ResourceReference HOUSE_ICON = new PackageResourceReference( MyStreetPage.class, "images/house_icon.jpg" );
static
{
HOUSE_ICON.bind( Application.get() );
}
}
My question is, why is it necessary to call bind().. couldn't this be incorporated in the lazy fetch of the resource?
Aaron
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user