Re: CMS, cocoon and Xindice

2005-02-16 Thread Peter Sparkes
Has anyone tried dbXML 2.0, www.dbxml.com, (dbXML 1.0 forked into the Apache Xindice project) Regards Peter javascript wrote: Michael Wechner wrote: Generally. I changed XML database because I had problems with update using the embedded copy of XIndice. just being curioius, what XML DB are

CForms -Bind to 2 Separate Sources

2005-03-02 Thread Peter Sparkes
Hi, Help please I wish to bind to a XML file to generate a form and then send the data in the completed form to a database without updating the original XML file. I can't work out how to extract the data from the completed form so that I can update the database. Thanks Peter Sparkes

Re: CForms -Bind to 2 Separate Sources -Solved

2005-03-06 Thread Peter Sparkes
Thanks for your help, its working now. I used Jorg's bean method to partially prepopulate a form with data from an XML file and save the data from the completed form to XMLDB Regards Peter Sparkes Hi, Help please I wish to bind to a XML file to generate a form and then send the data

CForms javascript getElementById

2005-04-04 Thread Peter Sparkes
Hi, I can't get getElementById(id) to work in my CForm javascript. I am using loadDocument(uri) from binding_example.js in cocoon-2.1.7 to parse the xml into a DOM tree. That is working as I can output the original xml from the DOM tree. Any ideas Thanks Peter Sparkes

Dynamic generation of parameter values from an xml file

2005-04-07 Thread Peter Sparkes
dynamically change the src value in the XMLFileModule. Is this possible? Thanks Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sitemap parameters with javaflow

2005-04-12 Thread Peter Sparkes
Have you tried something like cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js); function editNewsEntry(form) { var URI= cocoon.parameters[contentfile]; } Peter hi, i would like to use sitemap-parameters in my javaflow-script. i want to do something like map:call

CForms, repeater and continuation

2005-04-17 Thread Peter Sparkes
Hi, I have a Cform which is called from any one of a number of web pages. The CForm contains a repeater widget. Both the main form and the repeater use beans to hold their data. One of the repeater fields is populated with data from the initiating web page, the others being populated by the

Re: CForms, repeater and continuation

2005-04-19 Thread Peter Sparkes
Edmonton, Alberta Canada T6G 2J8 Phone: (780) 492-3743 Fax: (780) 492-9243 e-mail: [EMAIL PROTECTED] -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: Sunday, April 17, 2005 09:35 AM To: users@cocoon.apache.org Subject: CForms, repeater and continuation Hi, I have

Pet Store Sample

2005-05-03 Thread Peter Sparkes
I am trying to understand the Pet Store Sample on 2.1.7. Is there any documentation on it anywhere. Thanks Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Flow - passing data to sitemap

2005-10-13 Thread Peter Sparkes
the documentation. Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Flow - passing data to sitemap

2005-10-14 Thread Peter Sparkes
Hi Mark and Leszek, Thanks for your help Peter On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote: However, I can't find any information about module:flow-attr: in the cocoon documentation. Can someone, please, tell me where I can find the documentation. What you have

sendmailtransformer email:body - newlines

2005-10-14 Thread Peter Sparkes
Hi, I can't work out how to put: a. newlines, tabs etc in the sendmailtransformer email:body b. html in the sendmailtransformer email:body Help please Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED

Amend XML File

2005-11-17 Thread Peter Sparkes
please Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Amend XML File - solved

2005-11-17 Thread Peter Sparkes
Hi Zbigniew Bomert, Thank you, I should have looked at the samples a bit more closely - its now working Peter Sparkes Peter Sparkes wrote: Hi, I wish to allow authorised users to amend files on the server using forms. I have working the authentication and the CForm displaying the old

2.1.8 samples/blocks/portal/tools/functions/userManagement - BUG

2005-11-19 Thread Peter Sparkes
. /TypeError/ - file:/C:/cocoon-2.1.8/build/webapp/samples/blocks/portal/tools/plugins/userManagement/flow.js - 28:0 Help Please Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Create hsqldb tables

2005-11-20 Thread Peter Sparkes
Hi, I want to use the hsql database with cocoon (2.1.8), however although from the samples I can see how to use a database, I can't work out how to create new tables. Help Please Peter Sparkes - To unsubscribe, e-mail

Re: Create hsqldb tables

2005-11-22 Thread Peter Sparkes
replaced the cocoon hsqldb jar with the one I downloaded so I can see what's going on inside cocoon's hsqldb. Thank you both Peter Sparkes - Tony Edwards wrote: Also, check out the Petstore example for how to create tables using Flow. Antonio Gallardo wrote

Re: How to load form using request parameter

2005-12-06 Thread Peter Sparkes
Not the answer that you are looking for, but it may help. I had the same problem and solved it by putting my users in a database and adapting the Easy SQL database access http://localhost:/samples/blocks/forms/sql/ sample in Cocoon 2.1.8 samples/blocks/forms/ Peter Sparkes Dear

authentication-fw and session

2005-12-08 Thread Peter Sparkes
on which protected document was requested. How can I do this? Thanks Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Session info to pipeline

2005-12-10 Thread Peter Sparkes
Building on the samples\blocks\authentication-fw sample in 2.1.8 you can use something like: map:match pattern=*.htm map:generate src=xml/{1}.xml/ !-- add include elements -- map:transform src=stylesheets/include.xsl/ !-- if this user has logged in get his

Session-Context Input Module

2005-12-18 Thread Peter Sparkes
know how to use the module to get data out of the authentication session context. Thanks Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Solved]Session-Context Input Module

2005-12-19 Thread Peter Sparkes
I found the answer in: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/session/components/ContextInputModule.html Peter Sparkes wrote: Hi, Help Please - I want to use the Session-Context Input Module to get data out of the authentication session context and use

ImageMap widget

2006-01-08 Thread Peter Sparkes
Hi, Is it possible to get mouse coordinates on MouseOver as well as on clicking. Thank you Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ImageMap widget

2006-01-08 Thread Peter Sparkes
I wanted to use the mouse coordinates within an image in my cocoon flow script. However I realised after sending my email, as you rightly pointed out, that mouseover events are client side only. Thank you Peter Sparkes Bob Harner wrote: Please describe more of what you're trying

Flowscript - amend file

2006-03-30 Thread Peter Sparkes
(doc.createTextNode(lodge)); I get the following error org.mozilla.javascript.EcmaError: Cannot convert null to an object. Please can anyone tell me what I am doing wrong. Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Flowscript - amend file - Solved

2006-03-31 Thread Peter Sparkes
I have solved the problem doc is the document, appendChild is a method of the node object so have to use doc.documentElement.appendChild(lodgeEl); where documentElement returns the element node of the doc Peter Sparkes Hi, I am using CForms to generate and store files on the server. I

CFORMS: datatype - formatting (decimal)

2006-04-08 Thread Peter Sparkes
correctly and I get no=1234567890 in the xml doc. If I change the ### to for example ##,##,##,##,## the form still gives '1,234,567,890', however, the saved xml correctly reflects the new pattern eg 12,34,56,78,90 Please, how do I get the format '1234567890' in the CForm Peter Sparkes

CForms Samples - saveDocument() function

2006-04-10 Thread Peter Sparkes
saves the documents without their document type declarations. Does anyone, please, have a javascript function which will save xml documents (DOM) with their document type declarations. Thank you Peter Sparkes - To unsubscribe

Re: CForms Samples - saveDocument() function

2006-04-11 Thread Peter Sparkes
: transformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, doctype); I hope this helps. Regards, Reijn Peter Sparkes wrote: Hi, I am using both loadDocument(uri) and saveDocument(document, uri) functions from the CForm samples in webapp\samples\blocks\forms\flow. The loadDocument(uri) functions loads xml

CForms - Binding to one of Multiple Records

2006-04-28 Thread Peter Sparkes
Hi I have an xml file containing multiple records of identical structure - I want to use CForms to allow uses to update individual records, selected by its ID. Please, is it possible to bind a CForm to one of many records in the file and if so how? Am using cocoon 2.1.9 Peter Sparkes

Re: CForms - Binding to one of Multiple Records

2006-04-29 Thread Peter Sparkes
Hi Ben, Thank you - but I don't know how to get the recordId from the pipeline into the binding document. Can you please help Peter On 28/04/06, Peter Sparkes [EMAIL PROTECTED] wrote: Hi I have an xml file containing multiple records of identical structure - I want to use CForms

Cforms - repeater widget - extra whitespace

2006-05-16 Thread Peter Sparkes
Hi, I am using CForms to amend an xml file on the server. Every time the file is amended it gets a lot of extra whitespace, when it is saved using the flowscript, wherever there is a repeater widget. Please how can I stop this happening Peter Sparkes

Re: Cforms - repeater widget - extra whitespace

2006-05-16 Thread Peter Sparkes
to the document form.save(document); // save the DOM-tree back to an XML file using the saveDocument function from the CForm samples saveDocument(document, documentURI); Peter Peter Sparkes wrote: Hi, I am using CForms to amend an xml file on the server. Every time the file is amended

Re: Sending E-Mail with CForms

2006-05-18 Thread Peter Sparkes
Kaj Another way to send emails is using the SendMailTransformer: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/mail/transformation/SendMailTransformer.html the above gives a example Peter -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, has anybody an example how to send

Flowscript - authentication session data

2006-05-27 Thread Peter Sparkes
Hi Please, how can I get data from an authentication session into Flowscript. Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Completely lost with Lucene

2006-06-02 Thread Peter Sparkes
Hi, Suggest use the LuceneIndexTransformer as follows: map:match pattern=buildIndex map:generate src=karte.xml/ map:transform type=index/ map:serialize type=xml/ /map:match map:match pattern=karte.xml Generate a single file that contains all the data that you want

SendMailTransformer - jars

2006-06-02 Thread Peter Sparkes
Hi, I am having difficulties getting email working using the SendMailTransformer. I am using tomcat 5 and cocoon 2.1.9. The SendMailTransformer apidocs states that I have to put the following files into Cocoon lib directory: |mail.jar and ||activation.jar However at

Re: SendMailTransformer - jars

2006-06-03 Thread Peter Sparkes
for protocol: smtp/_email:message_ /email:exception /document Peter -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: vrijdag 2 juni 2006 20:59 To: users@cocoon.apache.org Subject: SendMailTransformer - jars Hi, I am having difficulties getting email working

Re: SendMailTransformer - jars

2006-06-03 Thread Peter Sparkes
. Thanks Peter Maybe a stupid question but did you restart cocoon after inserting mail.jar? And did you add the activation.jar from sun to WEB-INF/lib? -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: zaterdag 3 juni 2006 13:54 To: users@cocoon.apache.org Subject

Cforms - fd:validation

2006-06-04 Thread Peter Sparkes
Hi, I have 2 selection list widgets. One or both widgets have to be given a value other than their default value. Please, how can I do this using fd:validation Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Completely lost with Lucene

2006-06-04 Thread Peter Sparkes
l) says xsl:value-of select="search:[EMAIL PROTECTED]:name='title']"/ , but that doesn't work. Any ideas? Thank you very much Marco 2006/6/2, [EMAIL PROTECTED] [EMAIL PROTECTED] : Thank you very much Peter. The problem is solved 2006/6/2, Peter

eXist xmldb

2006-06-06 Thread Peter Sparkes
are not in the latest eXist distribution. 2. Where can I find documentation on the "xmldb:// pseudo-protocol" other than the apidocs and hoe to use it Thanks Peter Sparkes

Re: AW: eXist xmldb

2006-06-06 Thread Peter Sparkes
ps you and I didnt miss anything (not using the original DB server and Drivers anymore) Regards, Chris Von: Peter Sparkes [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 6. Juni 2006 18:50 An: users@cocoon.apache.org Betreff: eXist xmldb Hi I am trying to install

Re: AW: AW: eXist xmldb

2006-06-09 Thread Peter Sparkes
Hi Chris, I am having difficulties, can you please help To start the server, add the following to the cocoon.xconf: component role=" org.exist.server" class="de.cware.cweb.system.xmldb.XmlDbServerImpl" home="C:/home/domains" suffix="data/xmldb" minBrokers="1" maxBrokers="5"/ Well I have to

Re: Fwd: About session-context:authentication Input

2006-07-06 Thread Peter Sparkes
Try something like map:act type=auth-protect map:parameter name=handler value=myhandler/ map:transform src=stylesheets/mystylesheet.xslt map:parameter name=user-id value={ID}/ /map:transform /map:act Hope this helps Peter hello, all I had

What version of Java Tomcat

2007-04-04 Thread Peter Sparkes
Hi I am building a new machine with Debian GNU/Linux 3.1 (a.k.a. /sarge/). I want to instal the latest versions of Java and Tomcat that are stable with Cocoon 2.1.10 and at a later date Cocoon 2.2. Please, what versions should I use? Thanks Peter Sparkes

Re: What version of Java Tomcat

2007-04-04 Thread Peter Sparkes
Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What version of Java Tomcat

2007-04-06 Thread Peter Sparkes
Thanks Werner. As it's the first time I have build a system from scratch, to be on the safe side, I will use Tomcat 5.5.x and Java 1.5. Regards Peter I'm using Tomcat 5.5.x and Java 1.5 with Debian Sarge. I don't know if it is useful to try newer versions. Regards werner Peter Sparkes

shopping basket

2007-05-18 Thread Peter Sparkes
Hi, I am having problems implementing a shopping basket. Can someone, please, point me to any documentation. examples etc which are easier to understand than the one in the samples portal block. Thanks Peter - To

xhtml serialization and form textarea

2007-09-03 Thread Peter Sparkes
correctly Please, how do I get correct xhtml Thanks Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: xhtml serialization and form textarea

2007-09-03 Thread Peter Sparkes
nice). Jasha -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: Mon 9/3/2007 6:17 PM To: users@cocoon.apache.org Cc: Subject:xhtml serialization and form textarea Hi, 1.Using CForms I generate a form with a textarea. If I serialize it as xml

Re: xhtml serialization and form textarea

2007-09-03 Thread Peter Sparkes
using (both class and version)? As workaround you can put a in the textarea if your version of the XHTMLSerializer closes the textarea element (not very nice). Jasha -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: Mon 9/3/2007 6:17 PM To: users

Re: xhtml serialization and form textarea

2007-09-03 Thread Peter Sparkes
Hi Tobia, Thanks for your suggestion, I have not had time to try it yet and am away for the next few days, will try it when I come back. In the mean time Jasha suggestion to use org.apache.cocoon.components.serializers.XHTMLSerializer works Peter Peter Sparkes wrote: If I serialize

Re: xhtml serialization and form textarea

2007-09-16 Thread Peter Sparkes
(both class and version)? As workaround you can put a in the textarea if your version of the XHTMLSerializer closes the textarea element (not very nice). Jasha -Original Message- From:Peter Sparkes [mailto:[EMAIL PROTECTED] Sent:Mon 9/3/2007 6:17 PM To:users

Re: xhtml serialization and form textarea

2007-09-21 Thread Peter Sparkes
Joachimsthal Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 www.hippo.nl -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: zondag 16 september 2007 16:09 To: users@cocoon.apache.org Subject: Re: xhtml serialization and form textarea Hi

Re: xhtml serialization and form textarea

2007-09-21 Thread Peter Sparkes
Thanks again Jasha. All's working now. Peter If you put the script contents between xsl:comment the quotes aeree unescaped. -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: vrijdag 21 september 2007 8:33 To: users@cocoon.apache.org Subject: Re: xhtml

CalendarPopup.js

2007-10-08 Thread Peter Sparkes
Hi, I am trying to use CalendarPopup.js to enable users to enter a date in a simple html form I am using cocoon 2.1 10 Can anybody please send me details of a simple example Thanks Peter Sparkes - To unsubscribe, e-mail

Re: CalendarPopup.js

2007-10-08 Thread Peter Sparkes
I have now got it working Peter Sparkes Hi, I am trying to use CalendarPopup.js to enable users to enter a date in a simple html form I am using cocoon 2.1 10 Can anybody please send me details of a simple example Thanks Peter Sparkes

Re: CalendarPopup.js

2007-10-08 Thread Peter Sparkes
the styling of your form elements. Hope this helps, Andre Peter Sparkes wrote: Hi, I am trying to use CalendarPopup.js to enable users to enter a date in a simple html form I am using cocoon 2.1 10 Can anybody please send me details of a simple example Thanks Peter Sparkes

SendMail

2007-10-08 Thread Peter Sparkes
Hi I have put the Sun mail.jar and activation.jar in my WEB-INF/lib and removed removed geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar from WEB-INF/lib. However I still get the error message Could not connect to SMTP host: localhost, port: 25 I tried in addition removing

Re: AW: SendMail

2007-10-09 Thread Peter Sparkes
Nachricht- Von: Peter Sparkes [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 9. Oktober 2007 07:53 An: users@cocoon.apache.org Betreff: SendMail Hi I have put the Sun mail.jar and activation.jar in my WEB-INF/lib and removed removed geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar from

Re: SendMail

2007-10-09 Thread Peter Sparkes
Hi Tobia, I have a MTA but I am now not sure that I am connecting to it properly Thanks Peter Peter Sparkes wrote: I have put the Sun mail.jar and activation.jar in my WEB-INF/lib and removed removed geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar from WEB-INF/lib

Re: SendMail smart host (was sendmail)

2007-10-11 Thread Peter Sparkes
Peter Sparkes wrote: I have put the Sun mail.jar and activation.jar in my WEB-INF/lib and removed removed geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar from WEB-INF/lib. However I still get the error message Could not connect to SMTP host: localhost, port: 25 Stupid

Re: SendMail smart host (was sendmail)

2007-10-11 Thread Peter Sparkes
Thanks Tobia, It's the transformer. Thanks to your help it is now working Peter Peter Sparkes wrote: I have to use a Smart host, smtp.bytemark.co.uk. Please is it possible to use a Smart Host with sendmail and if so how. You didn't say whether you're using the Sendmail Transformer

Sendmail Transformer and new lines

2007-10-12 Thread Peter Sparkes
Hi, Please, how do you put a newline in the body of an email. I am using the Sendmail Transformer, cocoon2.1.10, tomcat5.5, on a Linux/Apache2 server. Its a plain text email not html Thanks Peter - To unsubscribe, e-mail:

Re: Sendmail Transformer and new lines

2007-10-13 Thread Peter Sparkes
I have found the answer in email Oct 14, 2005, at 10:03 AM, Christofer Dutz ie by building a HTML-Mail and escaping all the HTML in CDATA section Peter Hi, Please, how do you put a newline in the body of an email. I am using the Sendmail Transformer, cocoon2.1.10, tomcat5.5, on a

Re: CForms HTMLArea

2007-10-15 Thread Peter Sparkes
Hi Kamal, I had the same poblem some time ago and received the following reply from Jasha Joachimsthal (03/09/2007 19:09) The XMLSerializer closes all elements which leads to an unwanted result in case of textarea, script and some other elements that browsers can't handle when closed. You

Re: Cocoon learning curve.

2007-10-24 Thread Peter Sparkes
Hi Esteban, Have a look at http://lenya.apache.org/ , its built on Cocoon Peter Hi, Im evaluating cocoon, I ve read several documentation but I cant figure out how big will be the learning process for my team. Wonder how much time could take for 10 developers who dont know anything about

Re: Cocoon learning curve.

2007-10-24 Thread Peter Sparkes
Sorry should have read your email properly, you already know about lenya Hi Esteban, Have a look at http://lenya.apache.org/ , its built on Cocoon Peter Hi, Im evaluating cocoon, I ve read several documentation but I cant figure out how big will be the learning process for my team. Wonder

Re: New server recommendations?

2007-11-26 Thread Peter Sparkes
I am using Apache 2, Debian etch, java 1.5, tomcat 5 and Cocoon 2.1 and got the whole thing up and running in under a day. I have very little experience in setting up such a system so it can't be too difficult. I found http://edwardaux.wordpress.com/2006/09/20/3/ very helpful in setting the

Foreign Language Teaching Website

2008-01-05 Thread Peter Sparkes
and other students. Any ideas or suggestions on how to implement it would be appreciated Regards Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cgi - Awstats Webstats

2008-01-13 Thread Peter Sparkes
Hi, I want to use Awstats Web stats on my site (Apache 2, tomcat5.5, cocoon 2.1). To access the stats on a NON Cocoon site I would use : www.mysite.com/cgi-bin/awstats.pl?config=awstat.conf On Cocoon this throws an error as it does not match any pipeline Please, how can I run Awstats on

Re: cgi - Awstats Webstats

2008-01-13 Thread Peter Sparkes
Yes Apache 2 Peter Sparkes : Hi, I want to use Awstats Web stats on my site (Apache 2, tomcat5.5, cocoon 2.1). To access the stats on a NON Cocoon site I would use : www.mysite.com/cgi-bin/awstats.pl?config=awstat.conf On Cocoon this throws an error as it does not match any pipeline

Re: Cforms and Character Encoding

2008-01-23 Thread Peter Sparkes
and now everything is in UTF-8 and works properly The problem was that the form was sending UTF-8 but it was being read as ISO-8859-1 Peter On 08.12.2007 13:37, Peter Sparkes wrote: I am using Cforms in Cocoon 2.1.10 to amend an XML file. The character encoding is UTF-8 The Euro sign € gets

Re: Cforms and Character Encoding

2008-01-23 Thread Peter Sparkes
Thanks for the advice I have tested with various versions of IE and Firefox and all' fine Peter Peter Sparkes wrote: The problem turned out to be in web.xml I amended param-nameform-encoding/param-name param-valueISO-8859-1/param-value To param-nameform-encoding

Upload widget

2008-03-08 Thread Peter Sparkes
Hi, Please, using the Upload widget, how do I specify the location on the server I want a file uploaded to. Thanks Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

upload widget

2008-03-15 Thread Peter Sparkes
Hi, Following the /upload/ sample in the CForms Block Samples I am trying to upload files, however, the uploaded files are deleted at the end of a request. Please how do I permanently save the uploaded files. Thanks Peter Sparkes

Re: upload widget

2008-03-17 Thread Peter Sparkes
); var part = widget.getValue(); part.copyToFile(new.pdf) ; ... The pdf file is uploaded, but deleted at the end of the request. However it is not copied to new.pdf Please, what am I doing wrong ? Peter Sparkes Peter Sparkes pisze: Hi, Following

Sendmail using Flow - Attachments

2008-03-29 Thread Peter Sparkes
Hi, I am successfully sending email using Flow. However, I want to attach a html document to it that is generated via a sitemap and I can't get that to work. Please how do I attach a document that is generated by a sitemap Peter Sparkes

Re: Sendmail using Flow - Attachments

2008-03-29 Thread Peter Sparkes
with given prefix (stats) Peter Hi, I am successfully sending email using Flow. However, I want to attach a html document to it that is generated via a sitemap and I can't get that to work. Please how do I attach a document that is generated by a sitemap Peter Sparkes

PDF Image Caching Problem

2008-05-05 Thread Peter Sparkes
in the production system. I am using Cocoon 2.1.10 Thank you Peter Sparkes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: PDF Image Caching Problem

2008-05-05 Thread Peter Sparkes
exceed the maximum open files that your OS tolerates. (Cocoon 2.1.11 / Centos 4.6) mika Peter Sparkes kirjoitti: Hi I have tried using map:pipeline type=noncaching and invalidate the PDF by changing the XSLT that produces it. Neither makes any difference. It appears that FOP is getting

Image caching problem using FOP

2008-08-07 Thread Peter Sparkes
Hi, I have pages that can be viewed as xhtml and pdf which is generated by FOP. When I change the images, using the same image filenames, the new images appear in the xhtml version, however the old images are shown in the pdf version. If I use new images with different file names the new

Re: Image caching problem using FOP

2008-08-07 Thread Peter Sparkes
I am using fo:external-graphic src= Hi, I have pages that can be viewed as xhtml and pdf which is generated by FOP. When I change the images, using the same image filenames, the new images appear in the xhtml version, however the old images are shown in the pdf version. If I use new images

Passing request parameter from the sitemap

2008-08-07 Thread Peter Sparkes
Hi, I am trying to pass various request parameter from the sitemap to a eXist xquery using: map:match pattern=register-with-eXist map:generate src=register.xq type=xquery !--map:parameter name=user value={flow-attribute:user}/-- map:parameter name=user value=test/

Re: Image caching problem using FOP

2008-08-07 Thread Peter Sparkes
Thanks Andy, Now working Thanks again Peter 2008/8/7 Peter Sparkes [EMAIL PROTECTED]: I have pages that can be viewed as xhtml and pdf which is generated by FOP. When I change the images, using the same image filenames, the new images appear in the xhtml version, however the old images

Re: Passing request parameter from the sitemap

2008-08-08 Thread Peter Sparkes
Returns p user : test/p Peter 2008/8/7 Peter Sparkes [EMAIL PROTECTED]: I am trying to pass various request parameter from the sitemap to a eXist xquery using: map:match pattern=register-with-eXist map:generate src=register.xq type=xquery !--map:parameter name=user value={flow

Re: Passing request parameter from the sitemap

2008-08-11 Thread Peter Sparkes
/request;; declare namespace session=http://exist-db.org/xquery/session;; let $user := request:get-parameter(user, 'error'), return p user : {$user} /p Returns p user : error /p while http://localhost:8080/exist/register.xq?user=test Returns p user : test/p Peter 2008/8/7 Peter

Upload widget - Storing Data Permanently

2008-08-21 Thread Peter Sparkes
Hi, When data is uploaded using the Upload Widget it is automatically cleaned up when the upload widget instance object is finalized by the JVM. Please, how can I permanently store the data (image file)? Thanks Peter Sparkes

Non Portal Basket

2008-10-02 Thread Peter Sparkes
Hi, I want to implement a Basket. However, the only example I can find is using the Portal Engine, which I do not want to use. Is there a way of implementing a basket without using the Portal Engine? Regards Peter Sparkes

mysql

2008-10-03 Thread Peter Sparkes
Hi, I have to use |mysql instead of hsqldb and I don't know how to connect it to Cocoon, help please. I am using Cocoon 2.1 Thanks Peter | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: mysql

2008-10-03 Thread Peter Sparkes
Thanks Bertrand Regards Peter Hi, On Fri, Oct 3, 2008 at 11:02 AM, Peter Sparkes [EMAIL PROTECTED] wrote: ...I have to use |mysql instead of hsqldb and I don't know how to connect it to Cocoon, help please. I am using Cocoon 2.1.. Then that page should help: http://wiki.apache.org

Cocoon 2.1.11 Samples CForms Binding

2010-02-04 Thread Peter Sparkes
The function saveDocument(document, uri) saves the xml as ISO-8859-1 even though the OutputKeys are set as: transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.METHOD, xml); transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.ENCODING, UTF-8); Please, is

Flash .swf in Cocoon 2.1.11

2010-12-07 Thread Peter Sparkes
Hi, I am trying, without success, to display a flash .swf files using Cocoon 2.1.11 Help please Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail:

Re: Flash .swf in Cocoon 2.1.11

2010-12-07 Thread Peter Sparkes
. In my sitemap.xmap file I have map:match pattern=images/*.swf map:read mime-type=application/x-shockwave-flash src=resources/images/{1}.swf/ /map:match Regards Peter On 7 December 2010 13:49, Peter Sparkes pe...@didm.co.uk mailto:pe...@didm.co.uk wrote: Hi, I am trying, without

Work Opportunity

2011-01-17 Thread Peter Sparkes
, England. If you are interested, please, send me your telephone number so we discuss the it. Regards Peter Sparkes

Upload widget cocoon-2.1.11

2012-10-14 Thread Peter Sparkes
Hi, I want to use two upload widgets in a CForm. Each widget will upload files to a different directory eg: 1. images/ 2. pdfs/ Please how can I do it as the web.xml appears to only allow in init-param param-nameupload-directory/param-name param-valueD:\test/param-value

Re: Upload widget cocoon-2.1.11

2012-10-14 Thread Peter Sparkes
On 14/10/2012 10:18, Peter Sparkes wrote: Hi, I want to use two upload widgets in a CForm. Each widget will upload files to a different directory eg: 1. images/ 2. pdfs/ Please how can I do it as the web.xml appears to only allow in init-param param-nameupload-directory/param-name

CForms br /

2012-11-29 Thread Peter Sparkes
CForms with 2.1.11 cocoon. I have a field widget with datatype string: fd:field id=p required=false whitespace=trim fd:datatype base=string/ /fd:field which is bound to a para in the source document. Some paras contain br / elements. On loading a document in the CForm the br /

CForms - nested repeaters

2012-11-30 Thread Peter Sparkes
Cocoon 2.1.11 I can't get a nested repeater to work. Can anyone point to to an example please Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

  1   2   >