Johan Compagner <jcompagner <at> gmail.com> writes: > > > ok you do write in the webapplication directory.. > You do have always complete control over it where youre webapp will be > installed on? And what kind of application server is used? > Because you do know that writeable access isn't guarenteed? Or that it is even a directory at all? > Application servers could just use the war directly without extracting it. Hi Johan,
Thank you for the reply ;-) Sorry, that I didn't reply you the 1st time. Yes, I have complete control over the server. I am using Tomcat as the application server. > If you can do that then i would just have the <img tag> directly in the html > With a wicket id and then you use a label componet which only has a attribute modifier to set the src attribute. > That looks to me as the cleanest method. Not sure if you mean the following. I have tried just outputting the image filename by using the tag below <td width="200"><img src='<span wicket:id="file_img"/>'/></td> But it gives the following result: <td width="200">'/></td> Then I rewrote it to the following: <td width="200"><img src='<span wicket:id="file_img"></span>'/></td> But it generates this error message: Tag '<td width="200">' (line 37, column 10) has a mismatched close tag at '</span>'(line 37, column 63) ...... In the end, I used the label component to generate the whole img tag. -James ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
