Hi, I have a component : public class ImgDlg2 { @Parameter(required=true) private String _path; boolean beginRender(MarkupWriter writer) { if (_path != null) writer.element("a", "href", _path); else writer.element("a", "href", "#"); writer.end(); return true; } }
template: <t:imgDlg2 path="currentImage.Photo.thumbnail_m2" >< img src="test"/> </t:imgDlg2> I was hoping it will generate < a href="tm_3098.jpg">< img src="test" />< /a> but turned out: < a href="tm_3098.jpg">< /a>< img src="test"> anything wrong with my component? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-component-expansion-unexpected-tf4738354.html#a13550437 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]