Bugs item #1312787, was opened at 2005-10-04 14:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1312787&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.1 Status: Open Resolution: None Priority: 5 Submitted By: Ari Suutari (arisuu) Assigned to: Nobody/Anonymous (nobody) Summary: Image inside border doesn't work Initial Comment: When placing <img> tags inside border components things won't work. Wicket tries to find image resource from border's package, not from the page's package. Example: TestPage.html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <span wicket:id="box"> this is inside box: <input wicket:id="text" type="text"/><br/> <img wicket:id="img" src="test.png"/> </span> </body> </html> TestPage.java: package syncrontech.examples.blastfurnace.wicket; import wicket.markup.html.WebPage; import wicket.markup.html.border.BoxBorder; import wicket.markup.html.form.TextField; import wicket.markup.html.image.Image; public class TestPage extends WebPage { public TestPage() { BoxBorder b = new BoxBorder("box"); add(b); b.add(new TextField("text")); b.add(new Image("img")); } } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1312787&group_id=119783 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
