what wicket version are you using?

-igor


On 3/28/07, Jason Roelofs <[EMAIL PROTECTED]> wrote:

Hmm, thanks, that does help, but the resulting output does not get
processed by Wicket's rendering engine like other <img> tags.

This means that while the image tags I manually write out end up saying

<img src="/app/images/green-check.png"/>

the output from StaticImage ends up being

<img src="images/green-check.png"/>

What can I call or do to fix this (find the app context path, for
example?).

Jason

On 3/28/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> search the list for StaticImage
>
> -igor
>
>
> On 3/28/07, Jason Roelofs < [EMAIL PROTECTED]> wrote:
>
> > How do I go about setting what image to use? I have:
> >
> > /images/green-check.png
> > /images/yellow-alert.png
> >
> > And I want to choose which one of these to display on page creation
> > time. I though it could be something simple like:
> >
> > add(new Image("image", "images/green-check.png"));
> >
> > <img wicket:id="image"/>
> >
> > but that did really nasty things to my page. How is one supposed to do
> > this?
> >
> > Jason
> >
> >
> >
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to