cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <tcol...@neuagency.com>
Subject RE: [BUG] very weird NPE in JXTemplateTransformer
Date Fri, 02 May 2003 03:11:01 GMT
On Fri, 2 May 2003 iasandcb@apache-korea.org wrote:

> I figured out this NPE problem by updating the jars WEB-INF/lib from
> cocoon-2.1-M2 latest build. However, after opening some editing window at
> http://localhost:8080/linotype/private/edit/news/1/, you meet the following
> error message in case of any action i.e. delete, save, or finish.

<snip/>


> Request URI
>
> private/edit/news/1/{$continuation/id}.kont
>
> cause
>
> The continuation ID id} is invalid.
>
> request-uri
>
> /linotype/private/edit/news/1/%7B$continuation/id%7D.kont
>
> Apache Cocoon 2.1-M2-dev
> -----
>


> I found that the action attribute of the form in the edit window was not
> valid like this:
>
> <form enctype="multipart/form-data" method="POST"
> action="{$continuation/id}.kont" name="data"> ...


Try using action="{$continuation.id}.kont".  I ran into this problem and
it ended up being a syntax error in the jxtemplate.


tony


--
Tony Collen
ICQ: 12410567
--
Cocoon: Internet Glue (A Cocoon Weblog)
http://manero.org/weblog/
--


Mime
View raw message