Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 65790 invoked by uid 500); 29 Jul 2003 02:07:47 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 65776 invoked from network); 29 Jul 2003 02:07:47 -0000 Received: from web41002.mail.yahoo.com (66.218.93.1) by daedalus.apache.org with SMTP; 29 Jul 2003 02:07:47 -0000 Message-ID: <20030729020756.96756.qmail@web41002.mail.yahoo.com> Received: from [128.206.20.29] by web41002.mail.yahoo.com via HTTP; Mon, 28 Jul 2003 19:07:56 PDT Date: Mon, 28 Jul 2003 19:07:56 -0700 (PDT) From: Steven Cummings Subject: Re: [2.1cvs][flow] Properties files cannot be located? To: dev@cocoon.apache.org In-Reply-To: <3F25C8B7.1080900@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Vadim Gritsenko wrote: > Steven Cummings wrote: > > >--- Vadim Gritsenko wrote: > > > > > >>Steven Cummings wrote: > >> > >> > >> > >>>Hello, > >>> > >>>Is it possible for javascript code in the flow engine to locate properties > >>>files that it might need. I have a JAXBContext that I'm trying to use from > >>> > >>> > >>the > >> > >> > >>>javascript and i get > >>> > >>>javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package > >>>my.jaxb.package > >>> > >>>Any immediate ideas? TIA > >>> > >>> > >>> > >>IIRC: Have your properties in > >>WEB-INF/classes/my/jaxb/package/jaxb.properties. Jaxb uses classloader > >>to locate properties. > >> > >> > > > >Actually I've tried both, unpacked in classes and in the original jar in > lib. > >Neither works through flow. But my JAXB works otherwise, so I don't think > it's > >as simple as that. > > > > > > Does not work through flow but works through, say, XSP? Then it might be > some flow related issue. > > Vadim > > I've not used XSP, but I have used actions. I'm going to just try implementing my form-wizard as an action like in the samples instead of flow for now and try flow again later (after I've met my deadlines!). One last question, I've noticed in cvs there's "javascript" flow using FOM and the older "JavaScript" engine. What are the differences there (just in case it would matter)? /S __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com