SpringPetstore configuration

2006-02-23 Thread zulhisham abu nawar
hi..i've problem to make springPetstore block run on my server..I got error when run build.sh command..So when i check back to wiki documentation, i should include blocks like forms, database, and hsqldb..So what should i do to make all block required include in my build file and how to use postgre

RE: cinclude usage/alternatives

2006-02-23 Thread Bruyn Bill
Same environment. Haven't yet tried again, but will post results. > -Original Message- > From: Schultz, Gary - COMM [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 23, 2006 1:58 PM > To: 'users@cocoon.apache.org' > Subject: RE: cinclude usage/alternatives > > > What version of OS,

Re: Is there a change in cocoon.sendPage?

2006-02-23 Thread Berin Loritsch
Jason Johnston wrote: I tried upgrading to Cocoon 2.1.8 from 2.1.7 and one of the flowscripts is throwing a mysterious exception. I'm getting this: [EMAIL PROTECTED]: NOT_FOUND is not a function. The offending line is this: Actually if you look deeper down the stacktrace it looks to me

redirect parameters from a xml lookup

2006-02-23 Thread bernhard Frankel
Hi We are migrating to cocoon from data style asset manager this forced all urls to be in order of www.domain/id=123456/something.html The new system is using logical urls I have a xml list where I have all these ids and the new logical url bits To keep having a website during the migrati

RE: cinclude usage/alternatives

2006-02-23 Thread Schultz, Gary - COMM
What version of OS, Java SDK and Cocoon are you using? Under Windows, SDK 1.5 and Cocoon 2.1.8 I also received the cinclude element itself instead of the cinclude transformation working, when the cinclude was placed after an xslt transformation. When I went back to SDK 1.4.2_x (1.4.2_10 in my case)

Re: Is there a change in cocoon.sendPage?

2006-02-23 Thread Jason Johnston
> I tried upgrading to Cocoon 2.1.8 from 2.1.7 and one of the flowscripts > is throwing a mysterious exception. > > I'm getting this: > > [EMAIL PROTECTED]: NOT_FOUND is not a function. > > The offending line is this: Actually if you look deeper down the stacktrace it looks to me like the real pro

Is there a change in cocoon.sendPage?

2006-02-23 Thread Berin Loritsch
I tried upgrading to Cocoon 2.1.8 from 2.1.7 and one of the flowscripts is throwing a mysterious exception. I'm getting this: [EMAIL PROTECTED]: NOT_FOUND is not a function. The offending line is this: cocoon.sendPage(cocoon.parameters.internalpipeline, {"scope":scope,"listbean":listbea

is it possible to cache sql queries?

2006-02-23 Thread Brian Maddy
Does anyone know if it is possible to cache sql queries? I'm using the sql transformer a lot and many of the queries don't need to be done more than once every few hours. But they're being done all the time. Is it possible to cache the results somehow with cocoon's caching system? Thanks, B

Re: Cast type in flowscript

2006-02-23 Thread Andrew Madu
Jason,so I'm not sure what the caller.call method is expecting as arguments. I managed to track down the source for class com.paypal.sdk.services.CallerServices (caller.call):http://jsourcery.com/output/paypal/sdk/1.1/com/paypal/sdk/services/package-tree.htmlHTHAndrew

Looking for Cocoon web developer - London

2006-02-23 Thread Mark H
Nexus Alpha are looking for a web developer with Cocoon experience to help work on transport information websites. JourneyCheck which is used by a number of UK rail companies is what we are working on at the moment. You would help to maintain and extend this website and also work with anoth

Re: Cast type in flowscript

2006-02-23 Thread Andrew Madu
Jason,I've tried searching for the paypal API javadocs without success you can download the javaDocs from here:https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/general/SoftwareDevKit-outsideDownloading the paypal java sdk will give you access to the docsAndrew

RE: cinclude usage/alternatives

2006-02-23 Thread Bruyn Bill
> > > ...I end up with the cinclude element itself instead of the pipeline > > results: > > > > > > > > As if the cinclude transform never took place. What did I miss > > there?... > > Might be a wrong cinclude namespace, you should have > > xmlns:incl="http://apache.org/cocoon/include/1.0"; >

Re: cinclude usage/alternatives

2006-02-23 Thread Bertrand Delacretaz
Le 23 févr. 06 à 16:16, Bruyn Bill a écrit : ...I end up with the cinclude element itself instead of the pipeline results: As if the cinclude transform never took place. What did I miss there?... Might be a wrong cinclude namespace, you should have xmlns:incl="http://apache.org/cocoon/i

Re: Cast type in flowscript

2006-02-23 Thread Jason Johnston
Andrew Madu wrote: > var caller = new CallerServices(); > ... > var request = new DoDirectPaymentRequestType(); > ... > var response = caller.call("DoDirectPayment", request); > I've tried searching for the paypal API javadocs without success, so I'm not sure what the caller.call method is expec

RE: cinclude usage/alternatives

2006-02-23 Thread Bruyn Bill
> > Thanks, Lars (and Derek and Sylvain). > (Apologies to Bertrand - it was he who offered a response to my initial post, not Sylvain.) <:o| - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: cinclude usage/alternatives

2006-02-23 Thread Bruyn Bill
Thanks, Lars (and Derek and Sylvain). In the end I got it done with map:aggregate and a downstream xslt (it was easy too - I just had to change my thinking a little bit.) I tried the cinclude approach below, but I actually couldn't get that to work. With this matcher: http://dev.drugfreeaz.

Jonas and Cocoon

2006-02-23 Thread Jean-Claude Moissinac
Hello Can I have some help to install cocoon 2.1.8 with Jonas 4.6.6? I'm trying to install cocoon 2.1.8 in a freshly installed Jonas 4.6.6 (http://jonas.objectweb.org/) on Fedora I've build the war (./buid.sh war) and deployed it in Jonas Until there, all is good. Cocoon is seen by the administ

Re: Cast type in flowscript

2006-02-23 Thread Andrew Madu
Jason,Can you paste the flowscript surrounding that line so we can get some context? here is the code in full: importClass(Packages.com.paypal.sdk.exceptions.PayPalException); importClass(Packages.com.paypal.sdk.profiles.APIProfile); importClass(Packages.com.paypal.sdk.profiles.ProfileFactory); imp

Re: Cast type in flowscript

2006-02-23 Thread Jason Johnston
Andrew Madu wrote: > Jason, > >>> var response = (DoDirectPaymentResponseType) >>> >>> caller.call("DoDirectPayment", request); >>> >> >> Javascript does not do compile-time type checking, so "casting" is >> >> completely unnecessary. Just go ahead and access properties and call >> >> methods on

Re: map:call function

2006-02-23 Thread Gunter D'Hondt
apparently the call function does work but when instantiating my apple it gets a java.lang.LinkageError: I've adjusted the org.apache.cocoon.components.flow.apples.ApplesProcessor: private AppleController instantiateController(String className) throws Exception { // TODO thi

Re: Ajax and upload widget

2006-02-23 Thread g[R]eK
Hello Joost! > I read that in version 2.1.8 of cocoon it’s not possible to upload with an > ajax enabled form. Searching the mailinglist I see the functionality is > (being) changed in the 2.1.9 and 2.2 development versions. I wonder when the > 2.1.9 version will be released… Does anyone know? >

AbstractTextSerializer Namespace Attributes

2006-02-23 Thread Stewart, Gary
Hi there, I've been looking through my log file and found that I get: WARN (2006-02-23) 10:46.48:012 [sitemap.serializer.xhtml] (/protected/start) http-8080-Processor24/AbstractTextSerializer: Cannot know if transformer needs namespaces attributes - assuming NO. org.xml.sax.SAXException: Saxon

AW: Ajax and upload widget

2006-02-23 Thread Christofer Dutz
Somehow questions concerning the Upload Widget are toally ignored in this list. I asked the same question a few weeks ago and didn’t get a single answer. I think we’ll simply have to wait.  

Re: Cast type in flowscript

2006-02-23 Thread Andrew Madu
 Jason,var response = (DoDirectPaymentResponseType) caller.call("DoDirectPayment", request); _javascript_ does not do compile-time type checking, so "casting" is completely unnecessary.  Just go ahead and access properties and call methods on your response variable; it will let you know at runtime

Re: Need help w/ entity resolution

2006-02-23 Thread Josep A. Frau
You can use the entity catalog to map public DTD entities to file system files. http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html En/na Mark Lundquist ha escrit: Hi, I have this in some XSLT stylesheets: %HTMLlat1; %HTMLspecial; ]> ...and th

UnitTesting: callFunction is not working!

2006-02-23 Thread Stephan Coboos
Hi, I tried out the method callFunction() of SitemapComponentTestCase for Unit testing some of my flowscript functions but on execution of the test case class I got the error message below: === org.apache.avalon.framework.CascadingRunti