Yes, you are right. After adding BrowserUpdateTransformer in pipeline, the
<bu:replace> disappear.
I start to understand how ajax in cocoon worka. Actually, I am rendering
cocoon tree to dojo TreeV3, which has its
RpcUrl attribute for update its tree. So it seems has nothing to do with
ajax tech. used in cocoon. Right?

Rice

On 2/28/07, Bart Molenkamp <[EMAIL PROTECTED]> wrote:

Hi Rice,

Does your pipeline that handles the ajax request use the
BrowserUpdateTransformer, and are the partial updates styled with the
cforms XSL stylesheets?

I've been using CForms and Ajax with Cocoon 2.1 and 2.2 without any
problems.

HTH,
Bart.

Rice Yeh wrote:
> By playing around the samples in
> http://cocoon.zones.apache.org/demos/21branch, I observed all samples in
> branch 21 do not have <bu:replace> rendered in the result html and the
> ajax works. But for my case, the <bu:place> is rendered around a tree
> widget when ajax="true". By studying the JXMacrosHelper, <bu:replace>
> should also be rendered when ajax="true". So when is <bu:repalce> be
> rendered in the html. Or just <bu:replace> is outdated?
>
> Rice
>
> On 2/27/07, *Rice Yeh* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
>
>     Hi,
>       There are 2 files (manifest.js and bu.js) not found when i set
>     ajax="true" in cforms with the following portions of information:
>
>     Caused by: org.apache.excalibur.source.SourceNotFoundException:
>     resource://org/a
>     pache/cocoon/bu/resources/manifest.js
>
>     2007-02-27 17:49:29.892::WARN:  /xs/party/resources/bu.js
>     org.apache.cocoon.ResourceNotFoundException: Resource not found.
>
>       On the client side, the browser has the message
>
>     dojo.js (line 764)
>     DEPRECATED: dojo.widget.Manager.getImplementationName Could not
>     locate widget implementation for "replace" in "bu.widget" registered
>     to namespace "bu". Developers must specify correct namespaces for
>     all non-Dojo widgets -- will be removed in version: 0.5dojo.js (line
>     140)
>     dojo.widget.Parse: error: Error: Could not locate widget
>     implementation for "replace" in "bu.widget" registered to namespace
>     "bu"dojo.js (line 140)
>
>     Does anyone have any clue?
>
>     Rice
>
>

Reply via email to