does the log contain a better exception message/stack trace? you are not giving us much to go on.

a common problem on prod servers and image buttons is that vm is started w/out awt support.
try starting the vm like this: java - Djava.awt.headless=true ...

-Igor


On 4/18/06, kurt heston <[EMAIL PROTECTED]> wrote:
The code was working fine on my development machine.  However, when I
moved it to production (a much faster box), the buttons I'm generating
all showed up as broken links.  Just shooting from the hip, I'm guessing
something isn't flushing its buffer.

Here's the HTML:

<img wicket:id="listImg" />

Here's the Java:

add(new Image("listImg", BasePage.getButton("Get List")))

public static Resource getButton(String label) {
    DefaultButtonImageResource r = new DefaultButtonImageResource(label);
    Color c = new Color(60, 179, 113);
    r.setColor(c);

    return r;
}


Here's the problem (what Firefox says):

The image
" http://localhost/feeple/?path=78:toppanel:contractList:contractListImg&interface=IResourceListener"
cannot be displayed, because it contains errors.

Any ideas?


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to