I am experimenting with the simplest of the Wicket examples. I was trying to add an image to the SignIn
example page. My html code looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:wicket="http://wicket.apache.org/";><head><title>Wicket Examples - si
gnin</title>

<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body style="color: rgb(0, 0, 0); background-color: silver;" alink="#000099" lin
k="#000099" vlink="#990099">
<br>
<span wicket:id="feedback"> <br>
</span>
<br>
<img style="width: 96px; height: 42px;" alt="" src="My_logo.gif"> &nbsp; < <<**** New image added... big><big><span style="font-weight: bold; font-style: italic;">Program Title...</
span></big></big><br>
<br>
<form wicket:id="signInForm">
<table>
..... rest of the signin.html code is unchanged...

When I load the war file, the image does not show - there is a box where it should be, followed by the 'Program Title' text. I put the My_logo.gif file in the same directory as the SignIn.java/SignIn.html files.

Questions:
1) Do I need to put something in the SignIn.java file to tell it to load the image?

2) Do I need to add something to a config file somewhere to tell it where to locate the image file? Do the image files have to be in the same src directory as the html/java files or can they be moved somewhere else (like src/images for example)?

Thanks very much,

nbc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to