parameter from jxtemplate generator and xinclude ?

2005-01-26 Thread Paul . Divine
Return Receipt Your parameter from jxtemplate generator and xinclude ? document :

Re: OT: alternatives to cocoon?

2005-01-26 Thread Kees van Dieren
Ever seen http://sourceforge.net/projects/orbeon? --- Ilya Khandamirov [EMAIL PROTECTED] wrote: Hi, Sorry, if this is a FAQ, but i really cannot find the information. For an upcomming project i need an XML Publishing Framework, where i could define different processing pipelines. So,

Flushing pb in flowscript

2005-01-26 Thread Marc Salvetti
Hello, I have a function in flowscript that do something like this : var document = loadDocument(documentURI); form.load(document); form.showForm(displayPipeline); form.save(document); var invoicesDocURI = xdocs/invoices/invoices_4.xml; var invoicesDoc =

Job

2005-01-26 Thread Marcus Clemens
Marcus Clemens Senior Consultant Vector Resourcing Ltd Tel: 01892 771447 Fax: 01892 777992 Castle Farm Barn, Hartfield, East Sussex, TN7 4JD This email may contain privileged/confidential information and is for the intended addressee only. If you have received this message in error then you

Re: CForms number validation behaviour

2005-01-26 Thread Murray Cassie
Hi Reinhard, how would you suggest to combine a validation based on a string datatype (regex) with a validation based on an integer (range) for the same field??? Thanks Cassie --- Reinhard Poetz [EMAIL PROTECTED] wrote: Murray Cassie wrote: Hi, we have implemented a range validation

[SOLVED] Re: Cocoon with Virtual Hosts (apache/tomcat)

2005-01-26 Thread Derek Hohls
What we did was: Add this line: ProxyPreserveHost Then these next two lines make up the balance of the transfer to tomcat ProxyPass /cocoon215/soc http://localhost:8080/cocoon215/soc ProxyPassReverse /cocoon215/soc http://localhost:8080/cocoon215/soc Hope this might help

Zip attach file

2005-01-26 Thread Carlos Dias
Hi folks, Here is my problem. I want to zip an attach file generated by the sendmail feature. Here is the code: xsl:template match=sql:row xsl:element name=email:sendmail xsl:element name=email:smtphost xsl:value-of select=$smtp_host/ /xsl:element

CForms: Validate fd:datatype base=date

2005-01-26 Thread Andreas Hartmann
Hi Cocooners, I would like to validate date fields in a Cocoon form. My field definition looks as follows: fd:field id=von fd:labelVon/fd:label fd:datatype base=date fd:convertor type=formatting fd:patterns

transformation from XML to excel only works with one element set

2005-01-26 Thread Philipp Rech
Hello Cocooners, [Cocoon Version 2.1.6] i have the following xml file (see below) which is the result of a db querry (from Cocoon)... when i transfrom it with the stylesheet (see below) using the transfomer within Cocoon an excel sheet opens but with only one row in it (the one with the

RE: parameter from jxtemplate generator and xinclude ?

2005-01-26 Thread Jeroen Reijn
Title: parameter from jxtemplate generator and xinclude ? Hi Chris, perhaps you need to try it with: TOTAL xmlns:xi="http://www.w3.org/2001/XInclude" xi:include href=""/ xi:fallback/ /xi:include xi:include href=""/ /TOTAL Greetz, Jeroen -Original

Re: parameter from jxtemplate generator and xinclude ?

2005-01-26 Thread Brun
Jeroen Reijn j.reijn at hippo.nl writes: perhaps you need to try it with: TOTAL xmlns:xi=http://www.w3.org/2001/XInclude; xi:include href=prem.xml/ xi:fallback/ /xi:include xi:include href=${cocoon.parameters.prefix}.xml/ /TOTAL No, it's ${cocoon.parameters['prefix']} ! see :

RE: Cocoon 2.1.6 - Build problems!!!

2005-01-26 Thread kmandrup
Hi, I tried following your previous recommendations of how to build the 2.1.6 source on JDK 1.5, however I get the following build error: C:\Java\cocoon-2.1.6-src\cocoon-2.1.6build Buildfile: build.xml prepare: ==

how to get value of browserselector in sitemap

2005-01-26 Thread Stefan Pietschmann
Hi, I know how the BrowserSelector works, but I want to use its value as a parameter for one of my actions. Instead of writing map:select type=browser map:when test=netscape map:act map:parameter name=browser value=netscape/ /map:act /map:when map:when test=explorer map:act

Problems building cocoon-2.2-dev in Eclipse 3.1M4 : try -source 1.4 or lower... , but how?

2005-01-26 Thread kmandrup
Hi, Tried to build 2.1.5 then proceeded to 2.1.6... but no build luck yet, then CVS grabbed 2.2-dev into my Eclipse IDE, tried build - JVM 1.3 target error. Fixed init-build.xml changing target=xxx to target=1.5. Now getting the following error: [javac]

Cocoon-2.2-dev compile problems JDK 1.5

2005-01-26 Thread Kristian Mandrup
Tried tweaking compile-build.xml, setting target=1.5 instead of target=${target.vm}. Seems to me it is saying the release is 1.5 code, but since it contains enums, I guess it isn't? My Ant is 1.6.2...??? [javac] Compiling 472 source files to

Cocoon on Weblogic 8 / Cocoon Forms standalone

2005-01-26 Thread Mark Hibbard
Hi. Im totally new to Cocoon but have the following questions, which may just be damn stupid, or impossible, but if you dont ask 1) Ive tried to deploy Cocoon on weblogic 8 with a degree of success it deploys with no errors but not all pages seem to work ie.

[flow] Hibernate createCriteria syntax help?

2005-01-26 Thread JD Daniels
Hi all, I am trying to add criteria inside a flowscript. Here is what i think should work: 1var criteria = hs.createCriteria(Bug.class); 2 criteria.add(Expression.eq(status, UNCONFIRMED)); 3var bug = criteria.list(); this spits out : missing name after . operator on line 1

Re: [Poll] Portal deployment / Cocoon portal usage

2005-01-26 Thread Rolf Kulemann
On Mon, 2005-01-24 at 09:21, Matthew Langham wrote: ... 1. Are you currently using the Cocoon Portal Framework? A) Yes we are using it for ... ..an application I'm not allowed to talk about. It has sth. to do with online auctions and ERP systems B) No we are not, but currently

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread Brent Johnson
I've run into this error before. This usually means that some function used is a Javascript builtin function (or statement). So odds are, either add() or eq() are functions or statements in Javascript. I ran into this problem with a Java method I called delete(). So I'm guessing that your

Binding selection-list inside the repeater widgit

2005-01-26 Thread Alex Romayev
I'm having trouble binding a selection-list inside the repeater widget. When I replace it with just a simple text widget, everything binds just fine, however as soon as I change it to the selection-list, the binding stops working. Has anyone run into this, I'm using cocoon 2.1.5. Regards,

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread JD Daniels
Yeah thats the same problem I'm having I think - except it is the line above it is dying on: var criteria = hs[createCriteria](Bug[class]); - Identifier is a reserved word var criteria = hs[createCriteria](Bug.class); - missing name after . operator arg Brent Johnson wrote: I've run into

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread WHIRLYCOTT
If you will allow me to offer to you a thought which is only slightly related to your original question, I would strongly encourage you to move all of that transactional persistence stuff behind a facade a for a few reasons, listed in no particular order: 1) you'll be able to write junit tests

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread Brent Johnson
I agree - I always write objects specifically designed to be used in flow that handle all the actual Hibernate calls. The great thing about this is I can write test classes (or use JUnit as was suggested) that test the classes themselves to make sure the Hibernate calls are working correctly.

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread Ugo Cei
Il giorno 26/gen/05, alle 16:14, JD Daniels ha scritto: 1var criteria = hs.createCriteria(Bug.class); 2 criteria.add(Expression.eq(status, UNCONFIRMED)); 3var bug = criteria.list(); this spits out : missing name after . operator on line 1 Simply use: 1var criteria =

Re: Long running requests and timeouts...resolved...

2005-01-26 Thread Andrzej Jan Taramina
Just FYI to those that were following this thread, this was a Cocoon (2.1.5) issue that caused this, not Tomcat. Turns out that the Cocoon 2.1.5 ResourceReader sets some response headers willy nilly. If you have another component that uses a resolver to access a pipeline that uses the reader

XML Post data and internal pipelines

2005-01-26 Thread Irv Salisbury III
Actually 2 questions: 1. In general, what is the best way to get XML post data into your pipeline? I saw that the StreamGenerator can do this. Is this the best way? 2. If I have an internal pipeline that I want to call using the cocoon://my-pipline semantics using the CIncludeTransformer,

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread Rolf Kulemann
On Wed, 2005-01-26 at 19:23, Brent Johnson wrote: I've run into this error before. This usually means that some function used is a Javascript builtin function (or statement). So odds are, either add() or eq() are functions or statements in Javascript. I ran into this problem with a Java

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread Gregor J. Rothfuss
WHIRLYCOTT wrote: If you will allow me to offer to you a thought which is only slightly related to your original question, I would strongly encourage you to move all of that transactional persistence stuff behind a facade a for a few reasons, listed in no particular order: 1) you'll be able to

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread JD Daniels
I am at the start of a big ol project here heh heh. I would love to make it so - I have made a class bugSearch, with methods to lookup by status, etc, as well as take an example bean and do a full search by. // Create The Form var form = new Form(forms/bugSearchModel.xml);

Re: [flow] Hibernate createCriteria syntax help?

2005-01-26 Thread WHIRLYCOTT
Hibernate is concerned only with getting data into and out of a relational database. As such, it's part of the 'M' in MVC. Your flow code is the C part. It's job should be to route requests, map data back and forth from forms to your facade, and generally to act as the glue between the

Problem w/ flow internal redirects (Cocoon 2.1.6)

2005-01-26 Thread Mark Lundquist
Hi, I'm having trouble figuring out this problem... I have a flowscript that displays a form using form.showForm(), does its thing, and calls cocoon.sendForm(). The Problem: If I submit an invalid form, the request invoked by sendForm() gives me No pipeline matched request.! This is the same

Re: Flushing pb in flowscript

2005-01-26 Thread Marc Salvetti
After hours of random debugging, i figured that without the underscore in the filename (ie : xdocs/invoices/invoices_4.xml to xdocs/invoices/invoices4.xml ) the problem suddenly disapeared !!! Maybe a bug in CForms ? Hope this will help Cheers, Marc Marc Salvetti a écrit : Hello, I have a