The following code worked:
Insert b = new Insert();
b.setContainer(this.getPage());
b.setId("Test");
b.setPage(this.getPage());
try {
b.setSpecification(cycle.getEngine().getSpecificationSource().getSpecificati
on("/net/sf/tapestry/components/Insert.jwc"));
} catch (ResourceUnavailableException e) {
return;
}
IBinding sb = new StaticBinding("Hello");
b.setBinding("value", sb);
writer.printRaw("<TABLE BORDER=2><TR><TD>");
b.render(writer, cycle);
writer.printRaw("</TD></TR></TABLE>");
The only real difference being that I used an Insert, which is an
AbstractComponent. So there is something not working with the HTML template
when I do this, which kind of makes it hard to do cool portlets easily. Any
ideas??
-------------------------------------------------------
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