>
>
>
>Creating configuration object is quite simple. Snippet from
>JavascriptProgram.java:
>--------------------------------------
>        config = new DefaultConfiguration("", "GeneratorSelector");
>        child = new DefaultConfiguration("file", "");
>        child.setValue(file.toString());
>        config.addChild(child);
>
>        for (Iterator i = dependecies.iterator(); i.hasNext(); ) {
>            child = new DefaultConfiguration("dependency", "");
>            child.setValue(i.next().toString());
>            config.addChild(child);
>        }
>--------------------------------------
>
>Vadim
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
Thanx Vadim, but what is the dependecies ? It's may be  something class 
(object)?
And how define path-to-file ? As full path (real path like 
/home/.../config.file) or with cocoon-context path (like 
docs/samples/config.file)?

Yury.




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to