Agreed. One of Wicket's strengths should be that it is very easy to create custom components. Well, here's a case where it would be perfect to create your own DBImage component. It could extend from WebComponent (it doesn't have a body) and just has to set the src attribute and maybe the size attribs. You could either use AttributeModifiers for that or override onComponentTag.
Eelco On 10/5/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Andrew Berman wrote: > > Ok, I'll give it a shot. Perhaps there should be an > > ExternalImage class. I can't imagine that I'm the > > only one who needs something like this. > > I don't know what that would buy us. There was some recent discussion > on this list about whether Image should have height and width > properties. I wasn't following closely and don't remember the outcome. > If it did, then ExternalImage with the same API but a different manner > of handling SRC attributes makes sense. But as it is, all Wicket is > doing is to set the SRC attribute for your image link, right? I don't > know that we need a separate class for that. > > -- Scott > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
