Please don't re-post messages to the list. We all saw the first 2-3 messages you posted already. If someone wants to reply they will but doing things like this is considered very poor "mailing list" manners.
On 12/1/06, Tapestry User List <[EMAIL PROTECTED]> wrote:
IComponentSpecification spec = new ComponentSpecification(); spec.setComponentClassName(CommonPage.class.getName()); Resource componentResource = ??? how to instanciate a resource and fill it with a String retrieved from a database ??? spec.setSpecificationLocation(componentResource); AssetSpecification template = new AssetSpecification(); ??? how to fill the asset with a String retrieved from a database ??? template.setLocation(new DescribedLocation(spec.getSpecificationLocation(), "")); spec.addAsset("$template", template); Any idea ? D. 2006/12/1, Tapestry User List <[EMAIL PROTECTED]>: > > Hi, > > I would like retrieve a tapestry specification definition (.page) and the > template (.html) from a database. > > For doing that, I create a class that implements > ISpecificationResolverDelegate . > > The method findPageSpecification must return a IComponentSpecification. So > I instanciate a ComponentSpecification object. > > The problem is: how can I fill my componentSpecification object with the > .page content (xml) and .html content retrieved from a database ? > > Thank you very much, > > D.
-- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]