On Wed, Feb 05, 2003 at 12:49:02PM +0100, Joel Cordonnier wrote: > > Hi > In the process of porting an IBM WPS application to Webwork, i have the followin >question: > Webwork views are not tied to Actions. Great. But If i want some action to retrieve >some XML stream when the "execute" is returning true, what's the best solution ?
Execute normally returns "success" on success or "error" in case of error. > To define in the view.properties: myaction.success=XMLAction and define a new >XMLAction with a new method "getXML()" to retrieve the XML stream. Is that the >process you call "chaining action" ? Define a XSLT stylesheet that does an identity transform, e.g. identity.xslt and set the view of the action to it: foo.action=Foo foo.success=identity.xslt -billy. -- Meisterbohne Söflinger Straße 100 Tel: +49-731-399 499-0 eLösungen 89077 Ulm Fax: +49-731-399 499-9
msg01620/pgp00000.pgp
Description: PGP signature