Reinhard Poetz wrote:
I have the need for using form macros but my application doesn't use flowscript as controller. AFAICS
line 11: <jx:set var="form" value="${CocoonFormsInstance}"/>
makes it impossible to access the form object as my controller (an action) doesn't set the variable "CocoonFormsInstance". Is there any way to fill this variable from within an action?
Or should I solve the problem differently by patching the macros?
Patching the macros seems a better way to me, and getting the form can be delegated to JXMacrosHelper, falling back to the request attribute used by the FormsAction if there's no flow object.
Sylvain
-- Sylvain Wallez Anyware Technologies http://apache.org/~sylvain http://anyware-tech.com Apache Software Foundation Member Research & Technology Director
