Perhaps you need to add this into your pom file:

<dependency>
        <groupId>org.apache.cocoon</groupId>
        <artifactId>cocoon-ajax-impl</artifactId>
        <version>1.0.0</version>
</dependency>

Barbara

On 12 Jul, 2008, at 9:11 am, jantje wrote:



Thanks, So now I have downloaded dojo-0.4.3-ajax.zip

But how can My block get access to Ajax? You say I could make a block of it:
      You might need the cocoon-ajax block to get access to it.

How should I do this?

Thanks for your reply!








William Moore wrote:

Hi

It's inside the zip file here:

https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-ajax/ cocoon-ajax-impl/src/main/resources/org/apache/cocoon/dojo/resources/

You might need the cocoon-ajax block to get access to it.

Best regards

William

On 8 Jul, 2008, at 7:15 pm, jantje wrote:


Thanks! I use Ajax, like in the cocoon2.2 examples.. These examples
need a
dojo.js file. I don't know what this file does, but Ajax needs it in
this
example.. So I get this error:

Caused by:
org.apache.avalon.framework.configuration.ConfigurationException:
Couldn't absolutize ajax:/resource/external/dojo/dojo.js. Make sure
that the
configuration of your servlet-service contains a connection to
'ajax:/resource/external/dojo/dojo.js'.

Do you know where I can find this file in the repository?

Thanks,
jantje..






William Moore wrote:

Hi jantje

The source is in this folder on the cocoon svn:

https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon- samples-style/cocoon-samples-style-default/src/main/resources/ COB-INF/common/style/xsl/html/

Which puts it in the cocoon-samples-style block. I think you could
either put the block into your application or copy the file into our
block and use it directly.

Best regards

William



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to