Yes I can and it works perfectly. The point I was trying to make: Assuming I'm a (beginner) user of Wicket it would probably take some time until I figured out how to make it and I would a little bit expect that Wicket already provides a component for such an easy problem. Make life for users easy and problems obvious to solve.
Juergen On Tue, 25 Jan 2005 17:18:36 -0800, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > could you just use a component tag modifier to do this? > > Juergen Donnerstag wrote: > > >I have the need to change the src attribute of an image tag. E.g. <img > >src="subdir/mypic.gif" />. But the src is not relative to a page. It > >is http://.../$servletContext/$myApp/images/new.gif (I need to swap > >the src depending on a condition). As far as I can tell there no Image > >component able to handle it. Class Image does not allow for "/" in the > >path and always resolves the src relative to the current Page. > > > >Am I right? If yes, does have someone such a component ready and would > >contribute it? What would be the best name for such a component: > >ExternalImage (because it would allow for http://... etc. as well)? > > > >Juergen > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > >Tool for open source databases. Create drag-&-drop reports. Save time > >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > >Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >_______________________________________________ > >Wicket-develop mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
