Re: C2.2: undecoded URI params

2008-03-17 Thread Joerg Heinicke
On 16.03.2008 15:59, Rainer Pruy wrote: I'trying to get some request parameters to their final destination (a local generator) however I always end up with decoded ones. The whole topic starts out from a js function handling a form and at some point is calling (showing the effective

Re: How to inject the result of an action into a generator

2008-03-17 Thread Joerg Heinicke
On 17.03.2008 19:48, shai200 wrote: From the first glance at the Cocoon Core 2.2 documentation (http://cocoon.apache.org/2.2/core-modules/core/2.2/1270_1_1.html), it is unclear whether a String result of an Action (or perhaps a value passed through the Map and Action returns) can be used to

Re: upload widget

2008-03-17 Thread Joerg Heinicke
On 17.03.2008 10:26, Felix Knecht wrote: part.copyToFile(new.pdf) ; I don't think that 'part' implements a the function 'copyToFile' (at least I haven't found it). It is, but not really in a useful way: public void copyToFile(String filename) throws IOException {

Re: upload widget

2008-03-17 Thread Joerg Heinicke
On 17.03.2008 23:18, Joerg Heinicke wrote: part.copyToFile(new.pdf) ; I don't think that 'part' implements a the function 'copyToFile' (at least I haven't found it). It is, but not really in a useful way: public void copyToFile(String filename) throws IOException

Re: application-context loading order

2008-03-14 Thread Joerg Heinicke
On 13.03.2008 06:21, Patrick Heiden wrote: Could somebody please explain in wich order springs application context is created (out of all 'block-specific' contexts inside META-INF/cocoon/spring/*.xml). I don't think the order of the block's spring.xml matter since AFAIK a child context is

Re: Notify when session gets invalid

2008-03-13 Thread Joerg Heinicke
On 13.03.2008 04:34, Michel Erard wrote: Is it possible to get notified by cocoon, when the session gets invalid? Or do I use the common interface provided by the servlet engine? I've implemented an action to logout, but what if the users does not use the logout button and the session is

Re: Catching errors in flowscript

2008-03-13 Thread Joerg Heinicke
Like this: https://issues.apache.org/jira/browse/COCOON-1205 ? For logging you obviously can not select the file to log to in the code. This would end up in a mess. The components are set up to log to a certain logger beforehands, in particular look at cocoon.xconf [1] starting at line 50.

Re: Sitemap pipelines

2008-03-10 Thread Joerg Heinicke
On 10.03.2008 06:27, Tobia Conforto wrote: I need the pipeline to return to the pipeline in the global sitemap if nothing matches so that the default matchers will get hit. You need to issue an internal redirect to the parent sitemap. Why? If nothing matches in the sub sitemap control will

Re: [Cocoon 2.2] upload binary files

2008-03-10 Thread Joerg Heinicke
On 10.03.2008 02:54, Andy Stevens wrote: I might be wrong, but my guess is you are falling into the trap that uploaded files are deleted at the end of a request. Does this apply to 2.1.x as well? Yes, see CocoonServlet, RequestFactory, MultipartHttpServletRequest.cleanup() and

Re: [Cocoon 2.2] upload binary files

2008-03-10 Thread Joerg Heinicke
On 08.03.2008 13:14, Tobias Rübner wrote: You must save them yourself during the request processing. Here is a snippet of my servlet: The problem is I don't know how you integrated it into Cocoon. There is an API to access the files on a MultipartHttpServletRequest. In flowscript it

Re: Problem with flowscript after svn up this morning

2008-03-10 Thread Joerg Heinicke
Has something changed with Rhino? http://cocoon.zones.apache.org/demos/trunk/samples/forms/form1.flow java.lang.RuntimeException: NOT SUPPORTED at org.mozilla.javascript.Context.compileImpl(Context.java:2353) at org.mozilla.javascript.Context.compileReader(Context.java:1310) at

Re: Problem Posting with CInclude (please help!)

2008-03-10 Thread Joerg Heinicke
I would start with a most simple pipeline (which you might show us) and a request to solr. Nothing with CInclude, nothing with XSLT. And please don't cross-post. Joerg On 10.03.2008 20:47, Insight 49, LLC wrote: ERROR Mar 9, 2008 1:40:38 PM org.apache.solr.common.SolrException

Re: How to aggregate stream from ExceptionGenerator

2008-03-10 Thread Joerg Heinicke
On 10.03.2008 12:24, Mark Lundquist wrote: So, how do I handle the stream that comes out of ExceptionGenerator? I can't aggregate it like I do with a resource that I can invoke. The problem is with getting the nav tree document into the stream. Why? You should be able to set up a pipeline

Re: [Cocoon 2.2] upload binary files

2008-03-08 Thread Joerg Heinicke
I might be wrong, but my guess is you are falling into the trap that uploaded files are deleted at the end of a request. You must save them yourself during the request processing. I would not try to disable multipart filter. But if you can tell us what you actually want to do with the file it

Re: Is there an url wildcard selector (equivalent)

2008-03-05 Thread Joerg Heinicke
On 05.03.2008 20:54, Grzegorz Kossakowski wrote: - the condition does not contain C is not stated easily in terms of wildcard (just consider: what is the not of pattern **/special treatment_area/** and keep in mind, that I do not have control over the undelying namespace as I then could

Re: image caching

2008-03-04 Thread Joerg Heinicke
On 04.03.2008 09:04, Lehtonen, Mika wrote: I have pipeline which produces pdfs (with fop 0.20 or 0.94 or newer) using XML-data and images. In xsl I have multiple 'fo:external-graphics'-tags. While creating my pdfs I normally have to edit my images. But after the first time the image is

Re: Sitemap pipelines

2008-03-04 Thread Joerg Heinicke
On 27.02.2008 08:02, Alec Bickerton wrote: As far as I can see, It I use the following ,Then the pipeline in the sitemap in the customer1 directory will be entered. map:match pattern=customer1/**/ map:mount uri-prefix=customer1 src=customer1/sitemap.xmap check-reload=yes

Re: Passing flowscript data to a form

2008-03-03 Thread Joerg Heinicke
What about http://cocoon.apache.org/2.1/userdocs/widgetconcepts/selectionlists.html Joerg On 04.03.2008 00:26, Derek Hohls wrote: Jason Thanks for pointing out that I was trying to make use of a missing feature! My example, because I simplified things, was a bit misleading. What I am

Re: Dom to Javascript object

2008-02-28 Thread Joerg Heinicke
On 28.02.2008 06:04, Tobia Conforto wrote: Is there an API to translate a Dom object to a structure of Javascript objects and arrays? Look for E4X (Ecmascript for XML), it's an official standard. It seems latest Rhino 1.6R7 has support for it. Joerg http://en.wikipedia.org/wiki/E4X

Re: Cocoon, JX Temaplte and UTF-8

2008-02-28 Thread Joerg Heinicke
On 27.02.2008 16:06, Magnus Haraldsen Amundsen wrote: Yes, I tried the .toString(UTF-8), but that gave the same result. I've also tried to create the String using: String myUTF8String = new String(byteArrayOutputStream.toByteArray(), UTF-8); Maybe this could be solved by using some other

Re: jetty

2008-02-27 Thread Joerg Heinicke
On 26.02.2008 04:04, Andre Juffer wrote: var form = new Form(...); form.createBinding(...); var finished = false; var data = new ...; while (!finished) { try { form.load(data); form.showForm(...) form.save(data); do_something_with(data); finished = true; } catch (ex) { var w =

Re: jetty

2008-02-27 Thread Joerg Heinicke
On 27.02.2008 08:15, Andre Juffer wrote: Is it only me wondering how this can work at all when there is an exception? In that case finished is NEVER set to true and you always get into an infinite loop. How can this work with Tomcat? Or am I just missing something? If there is an exception,

Re: Problem using multiple catalogues

2008-02-22 Thread Joerg Heinicke
On 22.02.2008 03:46, Bàrbara Gelabert wrote: I'm trying to use multiple catalogues in my sitemap.xmap file but it seems that the transformer only recognizes one of them. Do you really want to have multiple catalogues or multiple locations per catalogue? Both is possible. Joerg

Re: POST .xml

2008-02-19 Thread Joerg Heinicke
On 16.02.2008 06:32, nanomonk wrote: I need to POST .xml file to server for further its processing... so, I have a simple upload.html for test: and I have pipeline with StreamGenerator: all ok and in source of http://localhost:/setSettings?paramone=12345paramtwo=blablabla; I see my

Re: Newer FOP to Cocoon 2.1.11

2008-02-18 Thread Joerg Heinicke
On 18.02.2008 09:55, Kai Mütz wrote: I am afraid it won't help. I already increased the heap size to 2,5/3,5g min/max, but I still can't plot any pdf including raster out, whether the raster is at any size. It seems like something is totally broken but I can't imagine that a user could get the

Re: Cocoon Building block - ERROR

2008-02-18 Thread Joerg Heinicke
On 18.02.2008 11:09, Edward S wrote: If I am inside myBlock1 and i do a mvn jetty:run I get the error pasted below: what does it mean? why should i download files manually? You seem to be just another unlucky user hitting this Maven issue:

Re: [2.1.11] Selectors in map:transform

2008-02-16 Thread Joerg Heinicke
On 16.02.2008 10:37, [EMAIL PROTECTED] wrote: A pipeline is about putting components together. This code is deciding which components should be put together. No, it decides about one component's configuration. map:parameter is not a component. This feels like one line of code was left

Re: Doing string operations over sitemap values

2008-02-15 Thread Joerg Heinicke
On 15.02.2008 07:09, [EMAIL PROTECTED] wrote: None the should work as JXPath doesnt have access to arbitrary Classes, i'm correct on this? I doubt it, but I would at least try it out. Something like java.lang.System.exit(1) (don't do this on a production server ;)). Even if that does not

Re: [2.1.11] Selectors in map:transform

2008-02-15 Thread Joerg Heinicke
solprovider at apache.org writes: This just does not work. Selector has to be outside of transform. So this is by design. Why? Should this be changed? ... Can this be fixed? Cocoon processes inside-out so child elements are processed before the parent. This function seems obvious.

Re: Doing string operations over sitemap values

2008-02-14 Thread Joerg Heinicke
On 14.02.2008 07:42, Tobia Conforto wrote: Nacho (Derecho.com) wrote: * I have this URL http://localhost:8080/b/menores-de-edad; * In sitemap i have a match like b/** * I need to do replace - in {1} to spaces * I do this using an input module inheriting from AbstractJXPathModule, and using a

Re: response xml from Document

2008-02-14 Thread Joerg Heinicke
On 13.02.2008 05:56, nanomonk wrote: so, I have an xml generated by java(in Document now)... I need to do response this xml to client... pls tell me a true-way how to do that with cocoon 2.2? I guess you are talking about a DOM Document (org.w3c.dom.Document)? Then you can use the

Re: [2.1.11] Selectors in map:transform

2008-02-14 Thread Joerg Heinicke
On 14.02.2008 11:02, [EMAIL PROTECTED] wrote: Cocoon-2.1.11 Selector is ignored inside a transform -- test2 is the empty string. Is this by design or a bug? Or did I miss something? This just does not work. Selector has to be outside of transform. Joerg

Re: Authentication in xsl:fo in Cocoon

2008-02-14 Thread Joerg Heinicke
If I understand it correctly you have two independent web applications in the same Tomcat instance. Couldn't you stay inside the secure area so that you don't need to authenticate from Cocoon when accessing the WMS server? I think you can check if the accessed URL was localhost or 127.0.0.1.

Re: XSLT Transformation error in C2.2

2008-02-07 Thread Joerg Heinicke
On 17.09.2007 09:02, Sébastien Geindre wrote: Another question about xsl 1.0 : why when i apply such template xsl:template match=foo foobis xsl:attribute name=idbis select=@id/ /foobis /xsl:template on following xml : foo id=long_id/ i obtain : with xalan foobis idbis=/ with

Re: [ANN]: Fins 1.0.0-SNAPSHOT released

2008-02-06 Thread Joerg Heinicke
On 06.02.2008 14:36, Luca Morandini wrote: I dropped the Fins and JFreeChart JARs under Cocoon 2.1, and I was pretty confident it would have worked, instead I got: javax.servlet.ServletException: Servlet execution threw an exception

Re: Relative paths in fop-0.94

2008-02-06 Thread Joerg Heinicke
On 06.02.2008 19:43, Andy Stevens wrote: I'm using a fop-0.94 in my local cocoon site to create PDF. All work properly but the path of the images always have to be absolute. I don't know how to change this. Unless things have changed from the earlier FOP version, you can't. Actually, that

Re: cocoon.context.getRealPath cocoon 2.2

2008-01-31 Thread Joerg Heinicke
On 23.01.2008 08:56, anil wrote: Thanks for your replies. Is there any documentation or examples available regarding using the SourceResolver, ideally within flowscript. I can't seem to find any resources on this topic. See Cocoon Forms flowscript [1, starting around line 330]:

Re: deleting blocks 2.1.9?

2008-01-30 Thread Joerg Heinicke
On 30.01.2008 10:04, Edward S wrote: Are there any blocks that we absolutely need to include...or can I do a exclude.all.blocks=true and still get a bare minimum cocoon running? And yes, it's possible to run Cocoon without any block included. Joerg

Re: REPOST: HTML Tags from a database field

2008-01-30 Thread Joerg Heinicke
On 12.01.2008 19:06, Grzegorz Kossakowski wrote: I just looked at the code of SQLTransformer and found this, which is rather interesting to you: protected void serializeData(String value) throws SQLException, SAXException { if (value != null) { value

Re: upload-max-size with no effect

2008-01-28 Thread Joerg Heinicke
On 28.01.2008 05:34, Grzegorz Kossakowski wrote: Like you said, I tried to add an upload-max-size init param in the Spring configuration of the Cocoon SitemapServlet but I have still the same error. Here is what I wrote : bean id=zzz.ma-adminui.block

Re: NullPointerException in AbstractWidgetDefinitionBuilder

2008-01-25 Thread Joerg Heinicke
On 25.01.2008 15:49, Vadim Gritsenko wrote: In normal mode everything runs fine. But when running a jmeter test with 40 concurrent users, the AbstractWidgetDefinitionBuilder throws a NullPointerException. It's now fixed in 2.1 branch, cocoon-forms-1.0.0 branch, and in trunk. Thanks Vadim!

Re: Cforms and Character Encoding

2008-01-23 Thread Joerg Heinicke
On 23.01.2008 03:51, Tobia Conforto 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/param-name param-valueUTF-8/param-value and now everything is in

Re: Cforms and Character Encoding

2008-01-22 Thread Joerg Heinicke
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 converted to â#130;¬ and UK pound sign £ to £ from the field widget. I am using the saveDocument function from the samples and have set

Re: [Cocoon 2.2] Cforms default styling for textareas

2008-01-22 Thread Joerg Heinicke
The mentioned stylesheet is really only for usage inside the petshop and you should not reuse this stylesheet inside your project. For a reasonable and well-tested default styling of Cocoon Forms have a look into the cocoon-forms-impl block, at

Re: NullPointerException in AbstractWidgetDefinitionBuilder

2008-01-17 Thread Joerg Heinicke
On 17.01.2008 05:45, Harald Entner wrote: In normal mode everything runs fine. But when running a jmeter test with 40 concurrent users, the AbstractWidgetDefinitionBuilder throws a NullPointerException. see the full stacktrace at (1) java.lang.NullPointerException at

Re: MySQL Year vs CForms Date

2008-01-12 Thread Joerg Heinicke
On 09.01.2008 08:49, Derek Hohls wrote: I am trying to get a database submission to work with Cocoon Forms. Up to now, all the data types have mapped well to the database column types. However, now that I am trying to use the MySQL Year column type, I have run into a problem. The Cocoon

Re: New to cocoon - encountered a few roadblocks

2008-01-09 Thread Joerg Heinicke
On 09.01.2008 15:29, Peter Wyngaard wrote: I started using cocoon about a week ago, and I am impressed with how quickly I was able to get up and running with it. Congratulations and good to hear. Usually it's the other way around that people have hard times to get started and get more

Re: Error serializing session attribute on Tomcat shutdown

2008-01-08 Thread Joerg Heinicke
On 08.01.2008 03:33, Justice Utete wrote: Hi, Im having a problem with TomCat. Whenever I Shut down or restart the contaner when there is an active session, it throws the following error: INFO - Cannot serialize session attribute

Re: RE : RE : Does CInclude/Include transformers buffer incoming documents ?

2007-12-16 Thread Joerg Heinicke
On 15.12.2007 20:05 Uhr, Boisvert, Eric wrote: That's not quite true. Yes, you can write XSLT in a bad way (using XPaths starting with double slash for example), which indeed forces the whole document to be loaded. Well.. I stand corrected. Thank you for this information. So the XSLT engine

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
On 16.12.2007 17:20 Uhr, Kamal Bhatt wrote: I want to be able to get a folder location from an database query, and based on this folder location specify the folder location for some XSLTs. For example, the database may store /xslts/myxslts/ as the location, so in the sitemap, I want to go:

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
On 16.12.2007 20:39 Uhr, Kamal Bhatt wrote: I want to be able to get a folder location from an database query, and based on this folder location specify the folder location for some XSLTs. For example, the database may store /xslts/myxslts/ as the location, so in the sitemap, I want to go:

Re: Fop 0.93 in cocoon 2.1.9

2007-12-16 Thread Joerg Heinicke
On 30.11.2007 2:56 Uhr, Carlos Martínez wrote: I'm trying to run fop 0.93 in cocoon 2.1.9. I have added fop0.93.jar and xmlgraphics-commons-1.1.jar l to the WEB-INF\lib in my local instalation of cocoon, and remove the old jar versions. And when i try to use the fo2pdf serializer it show me

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
On 17.12.2007 0:31 Uhr, Kamal Bhatt wrote: I have a folder location that is specified in a database. I need to run a query on the database and generate XML (using an XSP) , as well, I need to get this folder location and use it to determine the location of some XSLTs that is later used to

Re: Passing values from an XSP back to the sitemap

2007-12-16 Thread Joerg Heinicke
On 17.12.2007 1:31 Uhr, Kamal Bhatt wrote: Can you move your variable into the parameters of a new pipeline? map:match pattern=test-xsp-action map:act type=xsp-action src=my-xsp-action.xsp map:generate src=cocoon:/parsexspaction/{my-xsp-action-variable}/ map:serialize

Re: Documentation about cocoon authentication

2007-12-15 Thread Joerg Heinicke
On 11.12.2007 3:23 Uhr, Honig, Job wrote: I have been trying to use authentication with cocoon 2.2, but haven't been successful sofar. I find much of the docs quite confusing, to be honest. In previous projects I got authentication to work, but never really understood some of the details

Re: RE : Does CInclude/Include transformers buffer incoming documents ?

2007-12-15 Thread Joerg Heinicke
On 15.12.2007 19:35 Uhr, Boisvert, Eric wrote: I agree in principle, this is how cocoon works, in theory. But, for example, as soon as one puts an XSLT transformer in the pipeline, the document is indeed read completly in memory (in a DOM structure) simply because XSLT (XPath) allows to

Re: Need help Character Encoding :-((

2007-12-12 Thread Joerg Heinicke
On 12.12.2007 8:37 Uhr, Johannes Textor wrote: Instead of creating a link with a href= you should create a form with hidden elements and a button. The form values will get encoded ISO-8859-1 correctly. Or you set form-encoding to UTF-8 specifically for this pipeline. But given this bug, it

Re: Need help Character Encoding :-((

2007-12-12 Thread Joerg Heinicke
On 12.12.2007 3:09 Uhr, Andreas Busch wrote: I have a problem with search and paging, I do search with a post from form and then do pagination with the search-result. work's , but if there are some spezial charachters in the search like uuml; etc the paging makes problems. some

Re: javax.servlet.ServletException: No block for /myBlock/index.html

2007-11-22 Thread Joerg Heinicke
Is there any reason why we create a new BeanDefinitionStoreException from a BeanDefinitionStoreException? Do we add more information? Is there a reason for getting rid of the root cause? AbstractSettingsBeanFactoryPostProcessor: protected void processProperties(ConfigurableListableBeanFactory

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Joerg Heinicke
What you outline we used to call content-based pipelines - and is not yet supported. By intention in the first place but the opinions change on this topic. You should find something in the archives. Joerg On 22.11.2007 4:28 Uhr, Sébastien Geindre wrote: Bonjour, is it impossible or my

Re: 2.1.10: charset nekohtml

2007-11-22 Thread Joerg Heinicke
On 22.11.2007 5:51 Uhr, Reinhard Haller wrote: ...The html-document doesn't contain any charset spec and neko has a charset problem (the charset of the http response is utf-8) I've had to use the input-encoding parameter for neko to work correctly, for example: map:transform

Re: javax.servlet.ServletException: No block for /myBlock/index.html

2007-11-22 Thread Joerg Heinicke
On 22.11.2007 9:23 Uhr, Mansour wrote: Ok, It's working now. Basically I removed the components definition from the sitemap.xmap. It worked fine. Now, I need someone to explain to me what happened. I guess I should not redefine in my sitemap component, because this will override the config in

Re: XSLT custom implementation (or XSLTTransformer initialization)

2007-11-21 Thread Joerg Heinicke
On 21.11.2007 8:17 Uhr, Jean-Claude Vogel wrote: I saw that the default XSLT transformer is not XSLTTransformer like I belived but is TraxTransformer. So I tried to use it. But I have ever the same error : From what I understand all the sitemap components are still Avalon beans. But nothing

Re: Starting with Cocoon

2007-11-19 Thread Joerg Heinicke
On 18.11.2007 18:53 Uhr, Mansour wrote: For now, maven is not the right choice for me. I need to understand every single file before I use it in my projects. If something goes wrong, I want to find out why and immediately. I need to know how I can utilize it in my work. I don't want to scare

Re: Starting with Cocoon

2007-11-19 Thread Joerg Heinicke
On 18.11.2007 15:05 Uhr, Mansour wrote: Now, let's figure out why it was failing. I was following the tutorial on http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html and I obtained the site map contents from their. If the site map was missing something, how did you know that this

Re: What is COB-INF?

2007-11-19 Thread Joerg Heinicke
On 19.11.2007 16:33 Uhr, Reinhard Poetz wrote: In Cocoon 2.2 the generate block contains a folder called COB-INF which I think stands for Cocoon Block, may be. However, what is this directory and where can I configure it's name? Why would the root of the block be /COB-INF when referring to

Re: Starting with Cocoon

2007-11-18 Thread Joerg Heinicke
On 18.11.2007 11:35 Uhr, Mansour wrote: I really need to understand how it works, what servlet starts when the request is received, and yes the minimum configuration. All I need is to understand the minimum requirements. I think I know what I need better than anyone else! Nobody questions

Re: Starting with Cocoon

2007-11-17 Thread Joerg Heinicke
Are you using Cocoon 2.1.x? Then the best is probably to build Cocoon with all blocks deactivated (copy blocks.properties to local.blocks.properties and deactivate them there). This way you get a rather minimum Cocoon. Writing cocoon.xconf from scratch is probably not a good idea. Joerg On

Re: limited number of loops with call-template?

2007-11-06 Thread Joerg Heinicke
On 06.11.2007 8:17 Uhr, Jens Reufsteck wrote: I'm using a template, which once called from outside starts calling itself as long as a certain condition is true. But after a certain amount of calls (1.100 times) it seems stopping to call itself. The processing stops in the middle of the

Re: Release cocoon-validation-impl block ?

2007-10-24 Thread Joerg Heinicke
It's probably better to ask such questions on the dev list. I have no idea in which state the validation block is. Anybody else? Joerg On 24.10.2007 5:00 Uhr, Jean-Claude Vogel wrote: Hello, I would like to use cocoon-validation-impl block in my project to have XSD validation availability.

Re: Release cocoon-validation-impl block ?

2007-10-24 Thread Joerg Heinicke
I sent the mail to both lists. Joerg On 24.10.2007 8:20 Uhr, Jean-Claude Vogel wrote: It's true, thank you. I will ask on dev list. Jean-Claude 2007/10/24, Joerg Heinicke [EMAIL PROTECTED]: It's probably better to ask such questions on the dev list. I have no idea in which state

Re: Please point me to the documentation for producing PS, RTF etc..

2007-10-23 Thread Joerg Heinicke
On 24.10.2007 1:08 Uhr, siegfried wrote: Well, OK. Is there a list of available serializers someplace? http://cocoon.apache.org/2.1/userdocs/serializers.html http://cocoon.apache.org/2.2/1347_1_1.html The second one for sure, the first one probably also not complete. since both should use

Re: Please point me to the documentation for producing PS, RTF etc..

2007-10-22 Thread Joerg Heinicke
On 22.10.2007 20:14 Uhr, siegfried wrote: I'm posting this again since I did not see it appear in the list. It was on the list. You can find my answer at http://marc.info/?t=11929663462r=1w=4. Joerg - To unsubscribe,

Re: Please point me to the documentation for producing PS, RTF etc..

2007-10-21 Thread Joerg Heinicke
On 10/20/07 6:50 PM, siegfried wrote: There used to be a sample program that showed how to use cocoon to produce your choice of HTML, PS, RTF or PDF with a single XML file. Our samples used to show many different output formats with the standard Hello world. I hope they are available in

Re: Install problem on Windows

2007-10-19 Thread Joerg Heinicke
This is a Java 6 forward compatibility issue which has already been fixed 9 months ago [1]. Up to now it's not available in a released version, but only in SVN. Joerg [1]

Re: Cocoon 2.2 - Webapp without blocks

2007-10-19 Thread Joerg Heinicke
On 10/19/07 3:37 AM, Hugh Sparks wrote: Now they all need to be converted to run with Cocoon 2.2. People start to talk about a migration guide [1]. So when doing your conversion you might use it (or what's there up to that point) and add your own experiences. Joerg [1]

Re: .DOC and .PPT modifying

2007-10-19 Thread Joerg Heinicke
On 10/19/07 9:43 AM, Derek Hohls wrote: I think this implies you also have to write some code to _decode_ the image before you can display it - Cocoon can handle the XML part. No, Word is reading the file and decoding its contents. Only when you need to operate on the file yourself AND want

Re: Calling an InputModule from flowscript

2007-10-19 Thread Joerg Heinicke
On 10/17/07 12:20 PM, Tobia Conforto wrote: But I cannot pass null to my own input module in place of the third parameter (Map objectModel) because I use that objectModel in my class! Is this the recommended way of accessing input modules from flowscript? If so, how do I pass it the

Re: .DOC and .PPT modifying

2007-10-18 Thread Joerg Heinicke
On 10/18/07 6:55 AM, Luiz Antonio Falaguasta Barbosa wrote: The problem is which framework I have to use. Only option 1 needs POI for the binary stuff, the others (even option 3) is pure Cocoon. * pre office 2003 : binary format, cocoon has a serializer for excel via gnumeric xml. *

Re: .DOC and .PPT modifying

2007-10-18 Thread Joerg Heinicke
On 10/18/07 9:12 AM, Luiz Antonio Falaguasta Barbosa wrote: But, please, using Cocoon includes putting images into the pure XML files (saved by MS Office 2003) too, right? Is this of interest for you? Don't you just want to replace text values? Binary content might be base64-encoded in the

Re: [Cocoon 2.2 + Forms + Binding] a workable example.

2007-10-18 Thread Joerg Heinicke
On 10/18/07 10:39 AM, Raphaël Piéroni wrote: I still can't find a simple example on binding with forms. What about the samples that come with Cocoon? Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: .DOC and .PPT modifying

2007-10-17 Thread Joerg Heinicke
On 17.10.2007 9:02 Uhr, Luiz Antonio Falaguasta Barbosa wrote: On the other hand, the newer office productivity file formats are all XML-based (both OpenDocument and that other Microsoft equivalent) and Cocoon excels at handling XML. Yeah man! That's point for me now! My client told me that I

Re: .DOC and .PPT modifying

2007-10-17 Thread Joerg Heinicke
On 17.10.2007 11:15 Uhr, Luiz Antonio Falaguasta Barbosa wrote: So, if my users only have Microsoft Office 2003, can't I do anything to change text (keys by values) and substitute text keys by image with Cocoon?! If you tell the to save the files in the XML format instead of the binary

Re: problem creating generator - parameters

2007-10-11 Thread Joerg Heinicke
On 10.10.2007 10:23 Uhr, Lieven Doclo wrote: I'd like to define the generator as this: map:generator name=remoteGenerator src=x.y.RemoteSpringGenerator spring-config/x/y/remote-spring-config.xml/spring-config /map:generator where the xml file contains my remote servicebeans, like: bean

Re: How to access cocoon object from javascript scriptAction?

2007-10-10 Thread Joerg Heinicke
have any idea how to do it? Thanks, Josh Joerg Heinicke wrote: On 09.10.2007 17:13 Uhr, Josh2007 wrote: I need to access cocoon object from a javascript scriptAction to make use of session, request... functions. The ScriptAction works more like a usual Cocoon Java component than like

Re: How to access cocoon object from javascript scriptAction?

2007-10-10 Thread Joerg Heinicke
On 10.10.2007 13:51 Uhr, Josh2007 wrote: I use request.getSession() instead of objectModel.session and replace objectModel.session.setAttribute(stream, stream) with session.setAttribute(stream, stream) and it works. Just to complete the picture ... The manager is only for retrieving Cocoon

Re: Problem with my Wiki-Account

2007-10-10 Thread Joerg Heinicke
On 10.10.2007 15:09 Uhr, Marc Gorzala wrote: i just discovered the cocoon wiki ( http://wiki.apache.org/cocoon/ ) As i wanted to add some information, i created an account by entering my First and Lastname, my Password and my emailadress. The default place for maintaining Cocoon

Re: Cocoon 2.2 - Block name required in file path?

2007-10-10 Thread Joerg Heinicke
On 10.10.2007 4:43 Uhr, Hugh Sparks wrote: The quotations work as expected, but the path to the images in the result.jx template (shown below) requires the name of my block in the path: I didn't know it but I saw today the thread about mounting a block at root level. So in case you missed

Re: error while calling component MailSender

2007-10-10 Thread Joerg Heinicke
On 10.10.2007 6:03 Uhr, marco bellacosa wrote: I have also put the Sun mail.jar and activation.jar in my WEB-INF/lib, but I get the error: org.apache.avalon.framework.component.ComponentException: Could not find component (key

Re: How to access cocoon object from javascript scriptAction?

2007-10-09 Thread Joerg Heinicke
On 09.10.2007 17:13 Uhr, Josh2007 wrote: I need to access cocoon object from a javascript scriptAction to make use of session, request... functions. The ScriptAction works more like a usual Cocoon Java component than like flowscript. Therefore you have the ObjectModel available which is

Re: Cocoon Installation problems on SunOS

2007-10-09 Thread Joerg Heinicke
On 09.10.2007 10:45 Uhr, Derek Hohls wrote: We are trying to install Cocoon 2.1.8 under SunOS (version 5.7). The vanilla version of Cocoon installs and runs fine. However, as soon as we try and add a mySQL driver to the lib directory, and alter the cocoon.xconf file, the Cocoon startup

Re: How to get same function as java loadDocument(cocoon:/your.pipeline) in javascript flow?

2007-10-07 Thread Joerg Heinicke
On 07.10.2007 11:15 Uhr, [EMAIL PROTECTED] wrote: I am uncertain about scope in JavaScript. I would never declare a variable inside a block and expect the variable to be available outside the block, but that rule is a LCD from using many programming languages. If JS had an issue, this code

Re: Cocoon web cache

2007-10-03 Thread Joerg Heinicke
On 03.10.2007 11:45 Uhr, rossella wrote: I developed a portal using cocoon (i love cocoon :-D). Now i need to configure something that can help to caching pages Do you now something about this question? Do you know if cocoon support web caching and in which way??? What exactly do you

Re: Very basic problem

2007-10-02 Thread Joerg Heinicke
On 01.10.2007 9:37 Uhr, Robin Rigby wrote: I am having difficulty with the Cocoon 2.2 trunk. It compiles Ok, as in README.txt, but does not run. The 'target' folder has no 'cocoon-webapp' subfolder, just 'classes'. This might be related to Vadim's commit yesterday [1] where he reactivated

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-27 Thread Joerg Heinicke
On 24.09.2007 6:07 Uhr, thuertas wrote: I tried to store beans in a database using Generator, Tansformer and Serializer. That's ok for Generator and Serializer but there's nothing in database when I use a Transformer! So why doesn't it work with a transformer? Is the spring transaction

Re: recommended way to keep local config modifications separate from Cocoon distributions

2007-09-27 Thread Joerg Heinicke
On 27.09.2007 18:17 Uhr, Lars Huttar wrote: I see a lot of questions and bug reports about 2.2; but I suppose that's to be expected from a mailing list. Was there ever an announcement of 2.2RC1 being released? (I see a lot of discussion about it on the dev list, up to July 2, but I don't see

Re: Why Is d1 Always Null -- map:parameter name=d1 value={1} /

2007-09-22 Thread Joerg Heinicke
On 21.09.2007 11:42 Uhr, sharvey wrote: I'm still unclear whether I'm dealing with a stack or a tree. It's a stack. New items on the stack (like from map:act) are not hiding the other items or overwriting its values. They are still available by going one level up (that's what ../ is about).

Re: Why Is d1 Always Null -- map:parameter name=d1 value={1} /

2007-09-20 Thread Joerg Heinicke
On 20.09.2007 19:43 Uhr, sharvey wrote: I'm puzzled. I have the following match statement in my sitemap. The first instance of {1} works and the generator reads data.xml. But the second usage in the map:parameter entry doesn't work, and d1 is always null. map:match

Re: cocoon 2.2 and hibernate 3

2007-09-19 Thread Joerg Heinicke
On 19.09.2007 8:58 Uhr, Olivier Billard wrote: IMHO, the only use you could have with defining a data source for Cocoon, is to use it directly, bypassing Hibernate. Hey, where have you found this old thread? :) (It was still unread for me as well.) Accessing the data source directly in your

Re: jsr 168 portlet file download

2007-09-19 Thread Joerg Heinicke
On 19.09.2007 10:09 Uhr, Carsten Ziegeler wrote: Currently there is no way I know of to achieve what you want. The only thing I can think of is using a servlet inside your portlet application to serve resources. But in this case you don't have access to the portlet information and you have to

<    1   2   3   4   5   6   7   8   9   10   >