Re: more encoding problems

2012-09-20 Thread Jos Snellings
inkki/1059>(database >> reader). >> Seems to me, that the text falls apart in the text generator. >> 2) the url is in private network >> >> - mika - >> >> On Thu, 20 Sep 2012 11:42:32 +0200, Jos Snellings >> wrote: >> >>> Hi Mika,

Re: more encoding problems

2012-09-20 Thread Jos Snellings
gt; form-encoding > UTF-8 > > > Or some else setting you are interested in? > This works home and this works in another remote server. I also copied the > java from working server to this, but nada.. > Tomcat is different, server.xml clone. > > > &

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread Jos Snellings
Dear Tom, Can you send your sitemap.xmap over? For cocoon, the default transformation is an xslt. If you are just starting with a migration, you may want to consider using cocoon 3, which is at the moment in beta, but soon the production version will be ready (@others: isn't it ? :-) Kind regard

html without entities

2012-10-17 Thread Jos Snellings
Dear group, I am looking for a html serializer that generates just UTF-8, and does not bother to convert diacritics to html entities. You can do that with xhtml, yes. However, xhtml is a bit of a nuisance: scripts, different renderings. Are there options? Cheers, Jos -- All generous minds have

Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-21 Thread Jos Snellings
Hi Matthias, As a matter of fact, cocoon can host spring modules. You can plug in most every module using the well-known IoC mechanism. In a typical block you will be able to configure things in the META-INF/cocoon/spring folder. This is in my opinion one of the strong points of C3 over C2.2. Che

Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-21 Thread Jos Snellings
d in C2.2 (and C3, of course). > > Unfortunately, I don't know if there is any sample of this kind available. > If you succeed with this approach, please report. > > Regards. > > > ------ > *Von:* Jos Snellings > > *An:* users@cocoon.ap

Re: from Cforms to Wicket

2013-02-18 Thread Jos Snellings
Nice overview! On Mon, Feb 18, 2013 at 5:23 PM, gelo1234 wrote: > IMHO if you are dealing with XML data, there are only two valid choices: > XSLT or XQuery. > > Both can be used with Cocoon. XSLT is standard Cocoon supported (by > XSLTTransformer), > XQuery support for Cocoon exists in XQueryGe

Re: Relative path for images in FOP

2013-03-09 Thread Jos Snellings
It depends, Where is fop.xconf? In this file you can specify a 'base' parameter, relative to the location of the file. Cheers, Jos On Sun, Mar 10, 2013 at 7:18 AM, Mansour Al Akeel wrote: > I have this: > > > /> > > .. > > I am getting this in the logs: > > 2013-03-10 01:12:29,952 btpo

Re: Dom Transformer

2013-03-15 Thread Jos Snellings
You can, within a generator class, (C3), or within an xsp (C 2). Sometimes such things come in handy. If you mean, configure one from the sitemap, I see no uses. Cheers, Jos On Fri, Mar 15, 2013 at 7:05 PM, Mansour Al Akeel wrote: > I know this may sound strange, but I like to create a transf

Re: Dom Transformer

2013-03-15 Thread Jos Snellings
01 PM, Mansour Al Akeel wrote: > Jos, thank you. I though about this. > The problem is, the documents I am processing had to go through a > pipeline processing before I need to use DOM transformation on them. > So a generator is not an option, and I am using C3. > > > On Fri, Mar 1

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Jos Snellings
Does the site happen to use Avalon Datasource objects? Jos On Mon, Apr 15, 2013 at 11:38 AM, Peter Sparkes wrote: > 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+ v

Re: cocoon 2.1.12 - memory

2013-04-15 Thread Jos Snellings
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 Spa

ServletURLConnection

2013-06-07 Thread Jos Snellings
Hi ! Has anyone seen the exeption below before? java.io.IOException: Can't create ServletURLConnection servlet:/openid/formredirection. caused by org.apache.cocoon.servletservice.NoCallingServletServiceRequestAvailableException: A self-reference requires an active servlet request. Kind regards,

Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Jos Snellings
Hi Mansour, Try: On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al Akeel wrote: > sorry, my fault. I didn't tell the version. > I am using C3.0 > > > > On Wed, Jun 19, 2013 at 11:05 AM, Bhavya Sharma wrote: > >> try this >> >> > src="org.apache.cocoon.serialization.XMLSerializer"> >> U

Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Jos Snellings
Replying to my own: That should work if you include cocoon-optional in your dependencies. Cheers, Jos On Wed, Jun 19, 2013 at 5:29 PM, Jos Snellings wrote: > Hi Mansour, > > Try: > > > > > > > > > On Wed, Jun 19, 2013 at 5:14 PM, Mansour Al

Re: XSLT import/include errors

2013-06-24 Thread Jos Snellings
Hi Francesco et al, Good idea. Where would you put the lever to switch LRU cache on/off? - sitemap? - cocoon spring configuration files? So, the context is limited to developers who want to keep seeing instant results ... Cheers, Jos On Mon, Jun 24, 2013 at 9:43 AM, Francesco Chicchiriccò w

Re: XSLT import/include errors

2013-06-24 Thread Jos Snellings
OK, having a short look for: later today On Mon, Jun 24, 2013 at 10:05 AM, Francesco Chicchiriccò < ilgro...@apache.org> wrote: > On 24/06/2013 09:57, Jos Snellings wrote: > >Hi Francesco et al, > > Good idea. Where would you put the lever to sw

Re: Selecting values from a html5 form

2013-06-27 Thread Jos Snellings
Hi Peter, In the sitemap you have access to request parameters via Jexl: ... However, it may be far more convenient to use the HttpRequest, as it is exposed in different ways: 1. if you want to send your user's inputs to a controller to handle them as in:

Re: Selecting values from a html5 form

2013-07-04 Thread Jos Snellings
You are welcome :-) On Thu, Jul 4, 2013 at 10:55 AM, Peter Sparkes wrote: > 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 Scherle

Re: Cocoon 2 - Webservice

2014-04-05 Thread Jos Snellings
Hi Klaus, As REST is a principle, it is possible to implement a service "in a REST-ful manner". However, is it correct to state, as your message suggests, that the service would perform a sort of document conversion of an XML document in a specified format, to a PDF file? If this is the case, my

Re: Cocoon 2 - Webservice

2014-04-07 Thread Jos Snellings
Restful was recommended to me by my > instructor. I would like to send the XML file via POST to cocoon, recycle > there and spend as PDF, HTML, or RTF. > Currently, I have not yet an overview if there is a ready-made opportunity > to Cocoon XML to accept documents through POST? >

Re: javascript -Java

2014-09-26 Thread Jos Snellings
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. Hope that helps. Jos On Fri, Sep 26, 2014 at 10:30 PM, Peter Sparkes wrote: > Hi, > > Cocoon 2.1.12 > > Ref http://cocoo

Re: Sending Email from a form

2015-03-05 Thread Jos Snellings
Hi Peter, Cannot read the message. Can you send it as quoted text please? Kind regards, Jos On Thu, Mar 5, 2015 at 6:25 PM, Peter Sparkes wrote: > Hi > > I have an application that used a form to send emails. > > This has worked successfully for many years. However, recently users have > rep

Re: cocoon-2.1.12 - lucene indexer - cinclude

2015-03-17 Thread Jos Snellings
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 wrote: > Hi, > > I have a lucene application base on "samples/blocks/querybean" > > All worked fine for a long time, but now the cinclude in > > > > >

Re: where to get cocoon 3.0.0-beta-1-SNAPSHOT

2016-02-08 Thread Jos Snellings
Hi! You can get the source code from http://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/. Cheers, Jos On Mon, Feb 8, 2016 at 10:26 AM, Hans-Heinrich Braun < hansheinrichbr...@yahoo.de> wrote: > I used cocoon 3.0.0-beta-1-SNAPSHOT for a Rest email distribution > application starting with the

<    1   2