I tried to do this within the renderComponent of my Portal component:
Funky b = new Funky();
b.setContainer(this);
b.setId("Test");
b.setPage(this.getPage());
try {
b.setSpecification(cycle.getEngine().getSpecificationSource().getSpecificati
on("/com/portal/Funky.jwc"));
} catch (ResourceUnavailableException e) {
return;
}
writer.printRaw("<TABLE BORDER=2><TR><TD>");
b.render(writer, cycle);
writer.printRaw("</TD></TR></TABLE>");
Where Funky is simply a subclass of BaseComponent and there is an HTML
component containing one other component, an insert, which has a static
value ("Hello World"). When I try to render the component, it doesn't work.
I even tried b.renderWrapped, and still nothing. All I get is this:
<TABLE BORDER=2><TR><TD></TD></TR></TABLE>
what am I doing wrong??
-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer