cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: CForms example...
Date Wed, 27 Oct 2004 13:32:21 GMT
Roberto wrote:

> Hi all,
> this morning I send the e-mail following... just to let u know that I 
> got the why didnd't work... now it works I found the solution looking 
> at the error.log file. Thanx in any case.
>  
> I take advantage to ask u something else ... I saw in CForms example 
> this statement
>  
> cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");
>  
> <>but I really don't get the meaning coz I didn't find any Form.js 
> file under that folder. Any suggestion?

The resource:// protocol tells it to get the file from the Java 
classpath, in this case from a jar file. It is therefore embedded within 
the cocoon-forms.jar file (I suspect). Otherwise, you'll find it in 
/src/blocks/forms/java/org/apache/cocoon/forms/flow/javascript/Form.js

Regards, Upayavira


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message