> > Is there a way to do this more efficiently? Looking at > DynamicWebResource, > > it looks like perhaps I could just override IResourceStream > > getResourceStream() instead of the getResourceState() method. Any > > problems/gotchas doing that? Is there a more standard/"wicket" way of > doing > > it that I should be aware of? > > sounds to me like you are starting in the wrong place in the hierarchy. > perhaps you should extend WebResource, or maybe even Resource itself.
I agree, you'd probably best start with extending WebResource and then implement getResourceStream yourself. I'll put an extra note in DynamicWebResource to explain this. Eelco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user