cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: AJAX in CForms... not that simple?!
Date Wed, 15 Oct 2008 09:17:57 GMT

Thanks, but this does not seem to make any difference.

Any chance you have a simple/test application, where the
resources are explicitly "broken out" in the way I have done?

Alternately, are there any hints you can give me on how to
make an AJAX form that does not make of use the default form
stylesheets that are buried in the .jar cocoon blocks?


>>> On 2008/10/15 at 10:03, in message
<>, "DAVIGNON Andre - CETE
NP/DIODé/PANDOC" <> wrote:
Hi Derek,

> I have been working with Cocoon + CForms for a while now, 
> but now have to deal with some more complex processing 
> requirements.  I had thought this would be a simple matter, 
> but alas not...
> Issue 1.  I have heavily customized stylesheets that I use for 
> form display.  Going back to the default stylesheets is problematic.
> Issue 2.  Locating the resources?  This message:
> (and others) refer to the WEB-INF/classes/org/..../forms/resources
> This I simply cannot find.  I have
> but no resources directory in sight.
> I have tried to copy & use the various files directly from the
> installation files... but to no avail.
> In the end, I have tried to create a small test app, based on the car

> selector sample, with details as shown below.
> Although the form displays just fine, it does not exhibit any of the

> dynamic behavior of the original sample.  Comparison of the source
> of the two web pages shows them to be the same!
> What (probably obvious) element/s am I missing?

I'm afraid i have to say the same thing about migrating "regular"
to Ajax CForms. I've had a hard time and had to rewrite some stuff like


Anyway, i think it's worth the effort :-).

Most of resources are located in .jar cocoon blocks. They must be 
correctly matched in your sitemap :

<map:pipeline id="_cocoon">
<map:match pattern="_cocoon/resources/*/**">
<map:select type="resource-exists">
<map:when test="resources/{1}/{2}">
<map:read src="resources/{1}/{2}"/>
<map:read src="resource://org/apache/cocoon/{1}/resources/{2}"/>



This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message