On Tue, 2004-02-10 at 03:17, Mark Lundquist wrote: <snip/> > > Then flow came along, and the WoodyTemplateTransformer was > madeflow-friendly: first and foremost, it knows about the continuation > ID! But the WoodyGenerator fell behind the curve, probably because it > wasa second-class citizen already. It is not flow-happy! (Compare > thesource for the generator and transformer to see). > > This is where I got stuck — I could create and display a form > usingflow and display it using the generator (and my stylesheet), but > thenfor flow you have to encode that continuation ID into the > <formaction="..."> somehow, and there's no way to do it!
I don't have time to read this whole thread, but my eyes jus fell on this. You can provide the continuation ID to your XSL using a parameter in the sitemap. There's an inputmodule with which you can get it (though it's only in CVS and still in scratchpad). I don't think it's the role of the WoodyGenerator to supply you with the continuation ID. <snip/> > With WoodyGenerator, you're kinda roughing it a little bit because > itonly supports the (c) way, and it's undocumented how to do it > fromflow (and arguably, that's OK for now, since WoodyGenerator can't > makea form that you can handle with flow!). There have been updates to the WoodyGenerator, with latest CVS the lookup of the form works similary as with the template transformer (IIUC). (won't help you for the case with the multiple forms on one page though) As far as the whole template vs generator debate is concerned, just use what fits your case best. If your forms are pretty generic and always follow the same layout, you're probably better of with the generator. The idea behind the templatetransformer is that in most cases this isn't the case (i.e. you want to have full control over how you position things), and that maintaining an XSLT is more work and requires more expertise than the simple template file. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
