Re: [2.1] Overzealous escaping of high Unicode code points

2017-06-07 Thread Flynn, Peter
I had a related problem with 3–4 CJK characters being converted to their

Re: Help needed moving from 2.1.11

2016-01-07 Thread Flynn, Peter
documents via XSLT as {text|xml|html|...} ///Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Help needed moving from 2.1.11

2016-01-06 Thread Flynn, Peter
1.11 cocoon.war file and drop it into the new system and leave it alone? ///Peter -- Peter Flynn | Academic & Collaborative Technologies | University College Cork IT Services | ☎ +353 21 490 2609 | ✉ pfl...@ucc.ie |  www.ucc.ie

Re: Help needed moving from 2.1.11

2016-01-06 Thread Flynn, Peter
ment playground or sandbox for Java architects (in itself a valuable thing; I wish there were more of them) than a production application solving a business or social requirement. It's basically way too much Java and nowhere near enough XML. ///Peter -- Peter Flynn | Academic & Collaborative Technologi

Re: cocoon-2.1.12 - lucene indexer - cinclude

2015-03-17 Thread Peter Sparkes
appears to be working correctly except for the Cinclude of new files Cheers Peter On 17/03/2015 08:04, Jos Snellings wrote: Hi Peter, What file do you want to include? (I see no src attribute?) Cheers, Jos On Mon, Mar 16, 2015 at 8:37 PM, Peter Sparkes pe...@didm.co.uk mailto:pe

cocoon-2.1.12 - lucene indexer - cinclude

2015-03-16 Thread Peter Sparkes
file Peter

Re: Sending Email from a form

2015-03-12 Thread Peter Sparkes
Thank you all for your help. It is a smarthost problem with one particular email address Peter On 05/03/2015 17:50, Kunisch, Arne wrote: Dear Peter, you should check your notice from your email provider: https://www.bytemark.co.uk/support/document_library/smarthost/ You use

Re: Sending Email from a form

2015-03-05 Thread Peter Sparkes
**com.sun.mail.smtp.SMTPAddressFailedException: 451-Unable to verify recipient -- see http://www.bytemark.co.uk/smarthost for 451 help. On 05/03/2015 17:47, Jos Snellings wrote: Hi Peter, Cannot read the message. Can you send it as quoted text please? Kind regards, Jos On Thu, Mar 5, 2015

Re: javascript -Java

2014-09-27 Thread Peter Sparkes
Hi Jos Thanks for the suggestion, unfortunately it made no difference Peter On 27/09/2014 07:23, Jos Snellings wrote: Hi Peter, Try in your javascript/flowscript: var imagescaled = Scalr.resize(imagein, size); without the new keyword. reason: You try to call a so-called static method

javascript -Java

2014-09-26 Thread Peter Sparkes
Hi, Cocoon 2.1.12 Ref http://cocoon.apache.org/2.1/userdocs/flow/java.html Please how do I associate importClass(Packages.org.imgscalr.Scalr); with its jar file imgscalr-lib-4.2.jar which I put in WEB-INF/lib Regards Peter

Re: Resizing images using imgscalr

2014-09-25 Thread Peter Sparkes
(java.awt.image.BufferedImage,java.lang.Integer). The problem I have is that I am not a java programmer Regards Petere On 24/09/2014 14:31, Thorsten Scherler wrote: On 18/09/14 15:43, Peter Sparkes wrote: Hi, Cocoon 2.1.12 I use the following javascript ( Text in Black )with the Cocoon Upload widget uploading

Advanced Control Flow - Java

2014-09-24 Thread Peter Sparkes
Hi, http://cocoon.apache.org/2.1/userdocs/flow/java.html; has an example of dynamically compiling Java source files and loading and executing the resulting classes at runtime Please where would the jar file go? is it WEB-INF/lib, as I can't get it to work? Thanks Peter

Re: IMAGEOP Block

2014-09-18 Thread Peter Sparkes
Hi David, Thanks for investigating it. I am using java 6 on a linux box. Unfortunately my java is not up to debugging it. Would it work if I replaced the 2.1 jar with the 2.2 one Regards Peter On 18/09/2014 02:08, David Crossley wrote: On Wed, Sep 17, 2014 at 11:31:20AM +0100, Peter

Resizing images using imgscalr

2014-09-18 Thread Peter Sparkes
-java-image-scaling-library/#source I, therefore, added the code in red The BufferedImage in BufferedImage scaledImage =Scalr.resize(file, 200); gave me a syntax error. On removing BufferedImage I get the following error Scalr is not defined Can anyone help me Please Peter importClass

IMAGEOP Block

2014-09-17 Thread Peter Sparkes
on 2.2, see below. Please, has anyone got imageop scale and resize working on 2.1.12? Thanks Peter On 17/09/2014 07:11, Miguel wrote: I've done some test and modulo in cocoon 2.2 project works fine. I describe step by step: a) Include dependency into pom file of my project: dependency

Re: Resize images

2014-09-16 Thread Peter Sparkes
Thank you Miguel Peter On 16/09/2014 07:08, Miguel wrote: Hi Peter block imageop-samples exist for cocoon 2.1, and you can download in: http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.1/RELEASE_2_1_12/src/blocks/imageop El 15/09/2014 15:57, Peter Sparkes escribió: Hi, Thank

Re: Resize images

2014-09-16 Thread Peter Sparkes
Peter On 16/09/2014 07:34, Peter Sparkes wrote: Thank you Miguel Peter On 16/09/2014 07:08, Miguel wrote: Hi Peter block imageop-samples exist for cocoon 2.1, and you can download in: http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.1/RELEASE_2_1_12/src/blocks/imageop El 15/09

Re: Resize images

2014-09-16 Thread Peter Sparkes
message when you use transformer? El 16/09/2014 13:14, Peter Sparkes escribió: Hi Miguel, I have implemented imageop, however, the only samples that work are: * Display image with original size and colour * Tint image various colour I get Unable to transform src image for * Image scaling

Re: Resize images

2014-09-16 Thread Peter Sparkes
-imageop-sample/ also gives errors on resize (scalling) Peter On 16/09/2014 13:52, Miguel wrote: Hi Peter It seems that there isn't access to image or similar error to read it. I advise you debug the block imageop to see what parameters's value arrive to class. This block has only three

Re: Resize images

2014-09-15 Thread Peter Sparkes
Hi, Thank you all for your replies. As I believe it will be the easiest to implement, I am going to try imgscalr. However, As I am using cocoon 2.1, Is there a way of using http://cocoon.zones.apache.org/cocoon22/cocoon-imageop-sample/ in cocoon 2.1 Best wishes Peter On 12/09/2014 06:59

Resize images

2014-09-11 Thread Peter Sparkes
, therefore, wish to resize them before saving them. I am not sure how to do it. Please, can anyone help Thanks Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Adaptive Images and Cocoon

2014-09-10 Thread Peter Sparkes
Hi, Has anyone any tips on implementing Adaptive Images, http://adaptive-images.com/details.htm, with Cocoon Thanks Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: Problems building cocoon-2.1.12

2014-06-16 Thread Peter Sparkes
Thank David, Building on your suggestion I ran build several times and eventually it was successful Warrell - I tried 1.7 first and it was plainly incompatible Thanks All Peter On 16/06/2014 08:10, David Crossley wrote: Peter Sparkes wrote: Hi I am having problems building cocoon

Problems building cocoon-2.1.12

2014-06-15 Thread Peter Sparkes
with a user-mapped section open) Help please Peter

Re: authentication framework

2014-06-14 Thread Peter Sparkes
Hi Warrell Apologies for not replying before, have only just got back to this problem. The authentication block was enabled but one of the dependencies was not. However now having problems with building Cocoon; for which I will start a new thread Cheers Peter On 27/05/2014 14:39, warrell

Re: svg text in fop on cocoon-2.1.12 Linex

2014-05-27 Thread Peter Sparkes
I have taken the easy way out and converted those svg images with text to jpg and then put them into the fop pdf Regards Peter On 25/05/2014 17:28, Andreas Kuehne wrote: Hi Peter, as far as I remember the usual suspects were: - expected font (family) not installed on your machine : make

authentication framework

2014-05-27 Thread Peter Sparkes
/authentication-fw/sitemap.xmap:72:39 Help please Peter

svg text in fop on cocoon-2.1.12 Linex

2014-05-25 Thread Peter Sparkes
Hi, I am having problems with svg text in fop on cocoon-2.1.12 Linux The problem does not occur on cocoon-2.1.12 Windows I get the following error whenever the svg contains text eg with fo:instream-foreign-object content-width=15px content-height=100px padding-right=0.2cm svg

svg text in fop on cocoon-2.1.12 Linex

2014-05-25 Thread Peter Sparkes
) org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) org.apache.batik.bridge.GVTBuilder.build(Unknown Source) ETC I assume that the linux server is missing the fop text package Help please Peter

Re: Adding EXSLT functions

2014-02-28 Thread Peter Flynn
On 27/02/14 21:47, Christopher Schultz wrote: Has anyone ever manually-plugged an EXSLT function into Xalan? No, I changed the processor to Saxon so I can use XSLT2. The date and time functions there are much better and more extensive, and there is no need for plugins. ///Peter -- Peter

Using replace in Flowscript

2014-02-16 Thread Peter Sparkes
Hi, I am having difficulties using: * document=document.replace('hhh','ggg') in my flowscript Help please, how do I import the correct package/class Thanks Peter

Re: Getting the value of the browser selector

2014-02-11 Thread Peter Flynn
Does anyone have any more information about the browser selector? Specifically, how to pass its value into a pipeline as a parameter to the XSLT? ///Peter On 19/12/13 15:51, Peter Flynn wrote: On 19/12/13 12:46, Christopher Schultz wrote: Peter, On Dec 19, 2013, at 4:24, Peter Flynn pfl

Cocoon and Blogging

2014-01-15 Thread Peter Sparkes
Hi, I want to set up a Blog for a Cocoon 2.1 website. Help please on what software to use Thanks Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Getting the value of the browser selector

2013-12-19 Thread Peter Flynn
Let me try again in a shorter post :-) 1. Has anyone ever used the browser selector? 2. Can it be used to pass the *value* to a transformation as a parameter without resorting to map:when, instead of just doing selection? ///Peter

Re: Getting the value of the browser selector

2013-12-19 Thread Peter Flynn
On 19/12/13 12:46, Christopher Schultz wrote: Peter, On Dec 19, 2013, at 4:24, Peter Flynn pfl...@ucc.ie wrote: Let me try again in a shorter post :-) 1. Has anyone ever used the browser selector? 2. Can it be used to pass the *value* to a transformation as a parameter without resorting

Re: PDF in Cocoon 2.1.12 Tomcat

2013-08-06 Thread peter
If I delete the text/text all OK and the rectangle is displayed. Its the text ...test/text that's causing the problem Peter On 02/08/2013 13:32, Andreas Kuehne wrote: Hi Peter, I would guess you are using fonts for the PDF that are available on Windows but not your Linux box

PDF in Cocoon 2.1.12 Tomcat

2013-08-02 Thread Peter Sparkes
) sun.font.CompositeGlyphMapper.initMapper(CompositeGlyphMapper.java:81) sun.font.CompositeGlyphMapper.init(CompositeGlyphMapper.java:62) sun.font.CompositeFont.getMapper(CompositeFont.java:390) sun.font.CompositeFont.canDisplay(CompositeFont.java:416) Any Ideas Please Peter

Re: Selecting values from a html5 form

2013-07-04 Thread Peter Sparkes
Hi Jos Thorsten, I am sorry that I have not thanked you before for your help. Thank you again Regards Peter On 27/06/2013 13:39, Thorsten Scherler wrote: On 06/27/2013 02:32 PM, Jos Snellings wrote: Hi Jos, nice post! Small enhancement see above. Hi Peter, In the sitemap you have

Selecting values from a html5 form

2013-06-27 Thread Peter Sparkes
Hi, I want to use a html5 form to pass values into my sitemap eg form action=enquiry method=? input type=text name=fromnameplaceholder=Your Name required=''/ How do I pass fromname into enquiry Regards Peter

Re: 2.1.12 and html5

2013-06-05 Thread Peter Sparkes
Thank you Cédric and Thorsten However, I still can't get it working. Could you, please explain what I have to put in my sitemap etc. Thank you Peter On 05/06/2013 10:18, Cédric Damioli wrote: Hi, The XHTMLSerializer Francesco was referring

Forms Field Widget, Date Converter and IE10

2013-06-04 Thread Peter Sparkes
I have a 2.1.10 application which has successfully used the Forms Field Widget, Date Converter for some years. How it appears to be broken in IE10. Any Ideas Thanks Peter - To unsubscribe, e-mail: users-unsubscr

Re: Cocoon 2.1.12 on Windows

2013-06-04 Thread Peter Sparkes
Thank you Chicchiriccò That fixed the problem Peter On 04/06/2013 08:16, Francesco Chicchiriccò wrote: On 03/06/2013 18:54, Peter Sparkes wrote: Hi I have downloaded 2.1.12 onto my windows machine and built it. However, then I try to run it using cocoon or cocoon servlet the process

Re: Cocoon 2.1.12 on Windows

2013-06-04 Thread Peter Sparkes
Sorry I should have said Thank you Francesco Peter On 04/06/2013 08:42, Peter Sparkes wrote: Thank you Chicchiriccò That fixed the problem Peter On 04/06/2013 08:16, Francesco Chicchiriccò wrote: On 03/06/2013 18:54, Peter Sparkes wrote: Hi I have downloaded 2.1.12 onto my windows

Re: 2.1.12 and html5

2013-06-04 Thread Peter Sparkes
/map:serializer I have tried experimenting with various values in doctype-public and doctype-system but can't get !DOCTYPE html html head Regards Peter On 04/06/2013 08:18, Francesco Chicchiriccò wrote: On 03/06/2013 19:19, Peter Sparkes wrote: Hi Does 2.1.12 have a html5

Cocoon 2.1.12 on Windows

2013-06-03 Thread Peter Sparkes
:. Hep Please Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

2.1.12 and html5

2013-06-03 Thread Peter Sparkes
Hi Does 2.1.12 have a html5 serializer Thanks peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: Mobile Website

2013-05-31 Thread Peter Sparkes
Thank you very much Andre. The initializr site and the Firefox tip have made the learning curve much easier. I have also got Ethan Marcotte's book Responsive Web Design which ties it all together With many thanks Peter On 28/05/2013 13:39, Andre Juffer wrote: On 05/28/2013 02:50 PM, Peter

Re: Inter Server Communications

2013-05-20 Thread Peter Sparkes
Now working. Thanks to all. I used xslt to generate the cinclude, to insert the variables Regards Peter On 17/05/2013 23:53, Thorsten Scherler wrote: On 05/17/2013 05:20 PM, Peter Sparkes wrote: Hi I have an application in which I require to send a POST request from the server to another

Inter Server Communications

2013-05-17 Thread Peter Sparkes
involved How do I do this? Help please Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Mobile Website

2013-05-14 Thread Peter Sparkes
Hi, I have a requirement to use different sitemap.xmap for mobiles depending on the screen size. I am using 2.1.11 Please, how do I do this? Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional

Re: Mobile Website

2013-05-14 Thread Peter Sparkes
Or stylesheets On 14/05/2013 07:36, Peter Sparkes wrote: Hi, I have a requirement to use different sitemap.xmap for mobiles depending on the screen size. I am using 2.1.11 Please, how do I do this? Peter

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Peter Sparkes
is still there and has to be deleted before the site will start I assume that the problem is a memory leak as there is a lot on the web on it Regards Peter On 12/04/2013 07:24, Francesco Chicchiriccò wrote: On 12/04/2013 07:50, Peter Sparkes wrote: Hi, Has 2.1.12 fixed the 2.1.11 memory leak Hi

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Peter Sparkes
On 15/04/2013 10:09, Thorsten Scherler wrote: On 04/15/2013 10:31 AM, Peter Sparkes wrote: Hi Francesco, I have a fairly large 2.1.11 website which has 700+ visits a day. Every few days the site goes down unless I stop and start it every day ( using Crontab). I have also increased

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Peter Sparkes
I am not sure, but I don't think so. All data in held and manipulated as xml files. Its fast and easy to program etc Peter On 15/04/2013 10:44, Jos Snellings wrote: Does the site happen to use Avalon Datasource objects? Jos On Mon, Apr 15, 2013 at 11:38 AM, Peter Sparkes pe...@didm.co.uk

cocoon 2.1.12 - memory

2013-04-11 Thread Peter Sparkes
Hi, Has 2.1.12 fixed the 2.1.11 memory leak Regards Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Upload widget

2013-04-04 Thread Peter Sparkes
Hi , When uploading a file with the same name as one previously uploaded a new file is created with an incremented file name eg. image.jpg 0_ image.jpg 1_ image.jpg etc. Please, how can I get the widget to replace the old file with the new file keeping the same file name Regards Peter

Cocoon 2.1.12

2013-03-20 Thread Peter Sparkes
A big thank you to everybody involved in developing the newly released Cocoon 2.1.12 Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: Using FOP 1.1 with Cocoon 2.1.11

2013-02-13 Thread Peter Sparkes
Hi Francesco, Thank you. I shall wait for Cocoon 2.1.12 Regards Peter On 13/02/2013 10:07, Francesco Chicchiriccò wrote: On 12/02/2013 18:42, Peter Sparkes wrote: I have been unable to use FOP 1.1 with Cocoon 2.1.11. Please, how do I do it Hi Peter, COCOON-2295 [1] is introducing

Re: Using FOP 1.1 with Cocoon 2.1.11

2013-02-12 Thread Peter Sparkes
I have been unable to use FOP 1.1 with Cocoon 2.1.11. Please, how do I do it Peter On 09/02/2013 10:35, warrell harries wrote: I believe it is. Certainly, I have used 1.0...iirc On 9 Feb 2013 08:17, Peter Sparkes pe...@didm.co.uk mailto:pe...@didm.co.uk wrote: Hi, Is it possible

Using FOP 1.1 with Cocoon 2.1.11

2013-02-09 Thread Peter Sparkes
Hi, Is it possible to use FOP 1.1 with Cocoon 2.1.11 Thanks Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Multipage CForm using Ajax - Non ascii Characters

2013-01-14 Thread Peter Sparkes
use one very long form without Ajax the above characters are correctly saved Help please, How can I fix this problem Peter

Re: Multipage CForm using Ajax - Non ascii Characters

2013-01-14 Thread Peter Sparkes
+'.htm'); cocoon.sendPage(success); } document = encodeURIComponent(document); produces the following error when I submit the completed form Can't find method org.apache.cocoon.xml.dom.DOMStreamer.stream(string). What am I doing wrong Peter On 14/01/2013 14:27, gelo1234 wrote

Re: Flowscript - Move file to another directory

2013-01-02 Thread Peter Sparkes
, { files: files } ); } Peter On 01/01/2013 21:18, Robby Pelssers wrote: http://stackoverflow.com/questions/4645242/how-to-move-file-from-one-location-to-another-location-in-java The easiest is to use apache commons IO. But you can also use the rename strategy

Flowscript - Move file to another directory

2013-01-01 Thread Peter Sparkes
Hi, I am trying to copy image files from one directory to another, using flowscript, without any success. Please has anyone got an example java version 1.6.0_22 Thanks Peter - To unsubscribe, e-mail: users-unsubscr

Re: Flowscript - delete file

2012-12-29 Thread Peter Sparkes
Solved I found the answer at http://markmail.org/message/7psype56uhu5kbad#query:+page:1+mid:ezqkl6i255bjdw75+state:results I amended file.delete(); to: file[delete](); and it works, the file is deleted. However, I don't know why it works Thank you all for your help Peter On 29/12/2012

Re: Flowscript - delete file

2012-12-28 Thread Peter Sparkes
File java.io.FileNotFoundException: D:/cocoon-2.1.11-wl/build/webapp/BB/xml/.xml Not Found What's wrong with file.delete(); ? Regards Peter On 27/12/2012 18:35, Martin Heiden wrote: Hi Peter, Ok, I missed something: var xml_file = Packages.java.io.File(D:\cocoon-2.1.11-wl\build

Flowscript - delete file

2012-12-27 Thread Peter Sparkes
line 13 is: Packages.java.io.File.xml_file.delete(); What I am doing wrong? Peter

Re: Flowscript - delete file

2012-12-27 Thread Peter Sparkes
:67) regards Peter On 27/12/2012 11:42, Martin Heiden wrote: Hi Peter, PS //Delete file PS Packages.java.io.File.xml_file.delete(); Try xml_file.delete(); You just have to add the full path to the class when you construct it. After this, the variable contains

Re: Lucene querybean - cocoon 2.11

2012-12-26 Thread Peter Sparkes
Solved: 2. Is there any way of excluding a file from being indexed on the value of one of its attributes? The solution was put a xslt transformer in the sitemap - map:match pattern=screen/indexer Peter On 23/12/2012 08:59, Peter Sparkes wrote: Hi, I am using a querybean to generate

Re: Lucene querybean - cocoon 2.11

2012-12-26 Thread Peter Sparkes
On 26/12/2012 12:56, Francesco Chicchiriccò wrote: On 26/12/2012 13:52, Peter Sparkes wrote: Solved: 2. Is there any way of excluding a file from being indexed on the value of one of its attributes? The solution was put a xslt transformer in the sitemap - map:match pattern=screen/indexer

Re: Delete, move or rename files

2012-12-23 Thread Peter Sparkes
Thanks Robby, On your suggestion I have tried to write an action to delete a file with out success. Please has anyone got an example. Peter On 22/12/2012 15:47, Robby Pelssers wrote: Not sure how you envisualize that? Of course that is possible. Any application can access the filesystem

Lucene querybean - cocoon 2.11

2012-12-23 Thread Peter Sparkes
=/ map:parameter name=result-suffix value=/ /map:call /map:match Please: 1. What's the $ in map:parameter name=include-pattern value=.xml$/ for? 2. Is there any way of excluding a file from being indexed on the value of one of its attributes? Thanks Peter

Delete, move or rename files

2012-12-22 Thread Peter Sparkes
Hi, Is there anyway of 1. deleting, 2. moving 3. renaming xml files on the server. Thanks Peter

CForms Character Encoding

2012-12-04 Thread Peter Sparkes
=content1 map:parameter name=locale value={flow-attribute:locale}/ /map:generate I suspect the locale setting but do not know how to set it to UTF-8 Help please Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

Re: CForms Character Encoding

2012-12-04 Thread Peter Sparkes
On 04/12/2012 08:46, Francesco Chicchiriccò wrote: On 04/12/2012 09:40, Peter Sparkes wrote: I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding and such characters in the xml file are correctly

Re: CForms Character Encoding

2012-12-04 Thread Peter Sparkes
On 04/12/2012 09:15, Peter Sparkes wrote: On 04/12/2012 08:46, Francesco Chicchiriccò wrote: On 04/12/2012 09:40, Peter Sparkes wrote: I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding

Re: CForms br /

2012-12-03 Thread Peter Sparkes
paras as in sub 1 and sub 2 below: ppara 1 psub 1/p psub 2/p /p The xslt formatting the html pages will then format the sub paras appropriately. Peter On 30/11/2012 09:44, Robby Pelssers wrote: Did you already debug what you received back on the server side? I’m interesting

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

Re: CForms - nested repeaters

2012-11-30 Thread Peter Sparkes
Thank you Francesco Just what I wanted. Peter On 30/11/2012 09:12, Francesco Chicchiriccò wrote: On 30/11/2012 09:37, Peter Sparkes wrote: Cocoon 2.1.11 I can't get a nested repeater to work. Can anyone point to to an example please Hi Peter, I am not very familiar (any more) with CForms

CForms br /

2012-11-29 Thread Peter Sparkes
/ disappears, so on submitting the CForm the resulting saved xml does not contain the br / Please, how can I preserve the br / Thank you Peter

Upload widget cocoon-2.1.11

2012-10-14 Thread Peter Sparkes
-param to set one upload directory? Also if I set param-value../test/param-value What's it relative to, I can't work it out? Thanks Peter

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

Re: 2.1 Cocoon Forms Formatting Date in Flow

2012-09-24 Thread Peter D Sparkes
Hi Robby, Thank you. have implemented your fix and all now working. I am sending the mail from flowscript I have spent hour on this not knowing formatting is only used for the form itself but you will still receive a regular Date object on the server side Peter On 24/09/2012 08:00, Robby

2.1 Cocoon Forms Formatting Date in Flow

2012-09-23 Thread Peter D Sparkes
, how can I format it as 27/0/2012 or get rid of the 00:00:00 BST Thanks peter

Re: jars in Cocoon 2.1

2012-09-23 Thread Peter D Sparkes
Thanks Nico, Only just seen your email. I will give it a try Peter On 17/07/2012 14:55, Nico Verwer wrote: On 17-7-2012 2:38, Huib Verweij wrote: Hi Peter, did you see this earlier discussion about using FOP 0.9x? http://comments.gmane.org/gmane.text.xml.cocoon.user/62898 It might work

Re: jars in Cocoon 2.1

2012-07-16 Thread Peter D Sparkes
I given up and staying with C2.1 FOP Thanks all peter On 10/07/2012 21:58, Jasha Joachimsthal wrote: I've tried it 2 years ago but ran into NPEs in SVGSerializer which I couldn't solve. See http://markmail.org/thread/aqajh3euqinohbl2 On 10 July 2012 22:48, Peter D Sparkes pete

Using SendMailTransformer in Cocoon 2.1

2012-07-16 Thread Peter D Sparkes
Hi, From the documentation it appears that the cocoon 2.2 SendMailTransformer can be used in cocoon 2.1, see http://cocoon.apache.org/2.2/blocks/mail/1.0/1099_1_1.html Any one done it? Peter - To unsubscribe, e-mail: users

jars in Cocoon 2.1

2012-07-10 Thread Peter D Sparkes
Hi, Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for fop version 1 Thanks Peter Sparkes - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: jars in Cocoon 2.1

2012-07-10 Thread Peter D Sparkes
Unfortunately this does not work Peter On 10/07/2012 21:56, Reyes, Rafael wrote: Hi, i don't know very well if this solution may help you but I have Cocoon 2.1 from a .war file on a apache's sever and you can replace this jar in the file WEB-INF/lib, try it. I hope that it may help you

Re: JXTemplate forEach assigns entire list to current

2011-02-21 Thread Peter Molnar
/template/1.0/1391_1_1.html See forEach. -- Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

JXTemplate forEach assigns entire list to current

2011-02-19 Thread Peter Molnar
}/ /jx:forEach I am using cocoon 2.2.0 and cocoon-template-impl 1.1.0 from Maven. Thanks in advance! -- Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: JXTemplate forEach assigns entire list to current

2011-02-19 Thread Peter Molnar
On 02/19/2011 03:52 PM, Peter Molnar wrote: I have realized, that through the sitemap, I cannot pass a variable as a list, because it is cast to a String, thus my list only had one element. I have built a string from the elements, and used a Jexl expression to re-split the string into a list

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

RE: Can I pass a sitemap resource as a parameter to an xslt transformer?

2011-01-14 Thread Binkley, Peter
a resource can do caching: that would be up to the pipelines in which it is called. Peter -Original Message- From: Des Magner [mailto:d...@icandriveatractor.com] Sent: Friday, January 14, 2011 9:24 AM To: users@cocoon.apache.org Subject: Can I pass a sitemap resource as a parameter

RE: Switching to Saxon

2010-12-29 Thread Flynn, Peter
a warning, and continue recoverably as it does in commandline mode?). I do not know. When I've got ambiguity in template selection, I usually solve that in the XSL file ;) Yep. Fixed now...thanks for all the help. ///Peter winmail.dat

Re: [HELP]No pipeline matched request: ejournals/pdf/endoscopy/doi/10.1055/s-0030-1255941

2010-12-27 Thread Flynn, Peter
/ will be passed into a parameter that your XSLT can examine. But perhaps something else is going on: you have not given us any information. ///Peter

Re: Switching to Saxon

2010-12-22 Thread Peter Flynn
as it does in commandline mode?). Obviously writing better XSLT is the answer...I should have paid closer attention to Mike and Jeni's sessions on testing at the XML Summerschool... ///Peter - To unsubscribe, e-mail: users-unsubscr

Re: Too many open files

2010-12-17 Thread Peter Flynn
On 17/12/10 08:41, Laurent Medioni wrote: Yes, had that too in the past, ulimit -H -n 65535 cured the issue. Thanks, I'll try. And presumably reboot the server. ///Peter - To unsubscribe, e-mail: users-unsubscr

Encoding

2010-12-17 Thread Peter Flynn
I restored the Xalan settings after (failing to) add Saxon by copying Emacs' ~ backup copies of cocoon.xconf and sitemap.xmap, but now suddenly there are Unicode replacement characters (U+FFFD) appearing for accents in pages which were working before. The data is taken from a feed from an Oracle

Re: Switching to Saxon

2010-12-17 Thread Peter Flynn
Tomcat but I'm not aware of how to restart Cocoon itself. ///Peter -Original Message- From: Peter Flynn [mailto:pfl...@ucc.ie] Sent: Thursday, December 16, 2010 9:58 AM To: users@cocoon.apache.org Subject: Switching to Saxon I just tried this, but there seems to be a lack of up

  1   2   3   4   5   6   >