cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: authentication framework and continuations
Date Sat, 16 Oct 2004 13:50:05 GMT
<snip/>

> 
> <map:match pattern="arrayAdmin">
>   <map:call function="arrayAdmin">
>   <map:parameter name="bindingURI"
> value="arrayadmin_bind.xml"/> 
>   </map:call>
> </map:match>
> 
> function arrayAdmin() {

<snipped/>

>      function arrayAdmin() {
      ........
>     // Let Cocoon Forms handle the form
>    if(form.submitId == "save") {
>    	form.save(bean);
>         dao.setObject(bean);
> 	form.showForm("arrayAdmin"); //this same function
>    }

showForm("arrayAdmin") calls a pipeline that matches "arrayAdmin", but 
in that pipeline you call the function "arrayAdmin" again. Are you sure 
this is how it's supposed to work? I think that is the source of your 
infinite loop.

Regards
Jorg


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


Mime
View raw message