You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by hed <he...@interia.pl> on 2003/11/24 22:15:55 UTC

dynamic descriptor for action

hello
I have a small problem with formvalidatoraction and my descriptor. there's a
snippet :

<map:act type="formval">
    <map:parameter name="descriptor" value="cocoon:/registration-desc"/>
   ...
</map:act>
...
<map:match pattern="**-desc">
    <map:generate type="file" src="forms/registration-desc.xml"/>
    <map:transform type="xinclude"/>
    <map:serialize type="xml"/>
</map:match>

xinclude adds to xml file result of sql query (to validate is login value
already exist in database).
it works, but only one time. all next requests use cache, and cocoon doesn't
execute queries (to be specific,
cocoon doesn't even process this match)
I think it is a bug in AbstractComplementaryConfigurableAction, because I've
tried everything - non cacheable pipelines, some parameters with xinclude
and cinclude (like purge, expire) and many others. Is there any other
possibility to make dynamic, noncacheable descriptor ?

regards
hed




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org