Yep, created two custom components, one called ExternalImage and one called ExternalImageButton. Both very easy to create.
Thanks for your help, Andrew --- Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yes, I can see it is a usefull component, but I also > think having too > many components will make it more difficult to grasp > the framework > too. > > Creating such a custom component is pretty easy to > do. If you have > problems implementing it, please let us know. > > Eelco > > > On 10/5/05, Andrew Berman <[EMAIL PROTECTED]> > wrote: > > It is necessary because the image src and alt are > both > > dynamic. The src can come from the db or from an > i18n > > resource file and the alt can come from a i18n > > resource file. Width and height are not necessary > > because they can be hard-coded in the img tag > itself > > in the HTML if necessary. In my case, the images > do > > not exist in the path of the component; the images > > exist in an Apache directory and are served solely > by > > Apache. > > > > --- 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 > > > > > ------------------------------------------------------- > 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
