cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: Forms migration problems
Date Thu, 03 May 2007 16:34:50 GMT
Felix Knecht napisaƂ(a):
> Felix Knecht schrieb:
>> Grzegorz Kossakowski schrieb:
>>> No problem. Have you finished your migration successfully at the end?
>> Unfortunately not yet. Before the migration I used something like
>>             <map:match pattern="resources/*/**">
>>                 <map:read
>> src="resource://org/apache/cocoon/{1}/resources/{2}" />
>>             </map:match>
>> to get the resources from forms block. I stripped it of during
>> migration. Now I'm getting warnings of the following type:
>> 2007-05-03 14:05:50.955::WARN:  /cocoon-ajax-impl/resources/dojo/dojo.js:
>> org.apache.cocoon.ResourceNotFoundException: No pipeline matched
>> request: resources/dojo/dojo.js
> The forms warnings I have fixed, but I don't have a clue how to fix the
> dojo/ajax stuff. Trying to do do it the same way as I did for forms I
> get a huge amount of errors mainly because it tries to load
> "__package__.js" from resources/dojo where it doesn't exists - I only
> found one in resources/ajax. Trying to load this explicitly by catching
> with a matcher in the sitemap it tries to load it from root context
> ("/__package__.js")

You should not touch form/ajax stuff and only adjust your own paths. Infrastructure for loading
all (or most) resources
from both block is already there. Where this requests comes from? Have you performed all necessary
find&replace actions?

Grzegorz Kossakowski

View raw message