Re: CocoonGT 2006 lecture videos?

2006-11-04 Thread Jorg Heymans
David Legg wrote: Was this years Cocoon Get Together lectures captured on audio or video? Nope not this year, sorry! It was suggested at some point but the suggestion never materialized. Regards Jorg - To unsubscribe,

Re: generating GIFs on the fly

2006-08-29 Thread Jorg Heymans
I am trying to generate GIFs on the fly with Cocoon. Obviously, generating PNGs is no problem, but unfortunately Internet Explorer can't handle PNGs because of a number of bugs which conflict with my site design. So I am stuck with having to generate GIFs for IE. snip I tried many

Re: imagedirectory png width and height not generated?

2006-03-30 Thread Jorg Heymans
Lincoln wrote: The generator type imagedirectory doesn't appear to generate the attributes width and height for png's. Gifs and jpg are fine. Is there a workaround? Am I doing something wrong? If you look at src/java/org/apache/cocoon/util/ImageUtils.java, you'll see that it only

Re: [forms libraries] connection timeout??

2006-03-05 Thread Jorg Heymans
Bruyn Bill wrote: I get connection timeouts (stacktrace attached). I don't get it... Why should this be happening? Cocoon 2.1.8, Java 1.5, Win XP. ... at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913) at

Re: fop 0.91 beta

2006-02-27 Thread Jorg Heymans
Beat De Martin wrote: Can I use fop 0.91 beta with Cocoon 2.1.8 ? I just got an error. Please post a stacktrace or a more detailed errormessage. This will allow people to at least determine if your error is fop or cocoon related. Thanks Jorg Heymans

Re: Running a shell script from Cocoon

2005-12-12 Thread Jorg Heymans
Peter Flynn wrote: On Sun, 2005-12-11 at 11:03, Jorg Heymans wrote: i'm sure you could use Runtime.exec() just about anyware you like to call your shellscript. If you need the output of the shell script then i'ld put this call in a generator for example. Could you give an example

Re: Running a shell script from Cocoon

2005-12-11 Thread Jorg Heymans
i'm sure you could use Runtime.exec() just about anyware you like to call your shellscript. If you need the output of the shell script then i'ld put this call in a generator for example. Yves Vindevogel wrote: Hi, I was wondering if it is possible to run a shell script from Cocoon. The

Re: passing arguments from sitemap to a serializer

2005-11-25 Thread Jorg Heymans
Michael Wirz wrote: Former question in short: Why does Serializer not implement SiteMapModelComponent? Generator, Reader, Transformer do, Serialzer should! It's part of the design contract of a serializer. Have a look at

Re: passing arguments from sitemap to a serializer

2005-11-25 Thread Jorg Heymans
Sylvain Wallez wrote: Hmmm... this *used* to be the contract. Now for a long time [1], Serializers can implement SitemapModelComponent, and the pipeline object then calls the setup() method. We should fix the docs and state this in the Serializer interface javadoc. I'm speechless. (but

Re: request parameters in sitemap

2005-10-22 Thread Jorg Heymans
Wouter Roosendaal wrote: Hi, I trying to get cocoon (2.1.7) to request an xml document from an url. For example I have tried the following in my sitemap.xmap map:match pattern=*.qry map:generate src=http://www.google.nl/search?hl=nlq={1}/ map:serialize

Re: Another completed Cocoon Project

2005-10-18 Thread Jorg Heymans
Gerry Kaplan wrote: For those who may be interested in seeing another up-and-running Cocoon-based site, I have recently deployed a medical reporting application called ImpairMaster which can be seen at http://www.impairmaster.com. Please log an entry in bugzilla following instructions here

Re: Log4j - logging request uri

2005-10-13 Thread Jorg Heymans
Carsten Ziegeler wrote: Not sure... :) Can you please repost the question? Can one implement an OpenSessionInView pattern using the RequestListener interface ? Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: repeaters alternate row colours

2005-10-13 Thread Jorg Heymans
Gunter D'Hondt wrote: wt:repeater-size id=options / are you still using woody ? If you are in a position to upgrade then the jx form macros can help you out here. Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Log4j - logging request uri

2005-10-12 Thread Jorg Heymans
Leszek Gawron wrote: That's useful! And should be wikified IMO :) Can I implement a OpenSessionInView pattern with this? I remember you asking this before on dev@, when Carsten announced this interface. I don't think he ever answered actually, ehrm Carsten ? Jorg

Re: Custom generator problem

2005-10-12 Thread Jorg Heymans
Aurélien DEHAY wrote: I'm using cocoon 2.1.7 on Tomcat 5.5.9, JDK 1.5.0 on Linux. If someone could do the test, and tell me what I'm doing wrong, it would be wonderful. Could you try with 2.1.8dev? It has much better error logging with the new location mechanism. Jorg

Re: Log4j - logging request uri

2005-10-11 Thread Jorg Heymans
Wojciech Gdela wrote: I've switched logging in my cocoon 2.1.7 app to log4j with the help of org.apache.avalon.excalibur.logger.Log4JLoggerManager in web.xml. I would like to put request uri in my PatternLayout, is there a way to do it? Now I have pattern: %d{ISO8601} %p [%c] - %m%n

Re: Can caching be forced?

2005-10-03 Thread Jorg Heymans
Rob Oxspring wrote: Hi, I have a match setup to pull data from a remote server for later transformation. The data from the remote server doesn't appear to have accurate last modified or useful expiry information but I'd like to minimize calls to the remote server all the same. Is it

Re: SOLVED

2005-09-26 Thread Jorg Heymans
Sandor Spruit wrote: Right now, my biggest problem is that the Paginator seems to assume request URIs of the pattern page(#) - where # is the page number. I had overlooked the page(#) pattern in the Howto. maybe you could xsl the page() part into a request parameter path and match this in

Re: Minimum number of rows for repeater

2005-09-23 Thread Jorg Heymans
Gerry Kaplan wrote: Is there a simple way of specifying the minimum number of rows for a repeater. I have a repeater that requires that at least one row exist. Currently, I specify that the default number of rows = 1, which works great. But it doesn't prevent the user from deleting that

Re: Minimum number of rows for repeater

2005-09-23 Thread Jorg Heymans
Thomas Lutz wrote: +1 for doing this. I implemented this in my validation layer, which returns error messages for wrong cardinality. This prevents the user from submitting wrong data, but is rather a temp hack, as it would be a much nicer GUI if the add or remove buttons of the repeater

Re: Minimum number of rows for repeater

2005-09-23 Thread Jorg Heymans
Jorg Heymans wrote: Cool! Let me dig up the patch and we'll take it from there. http://issues.apache.org/bugzilla/show_bug.cgi?id=36781 to start. If someone could add the Validation stuff that'ld be great, otherwise i'll have a look at this myself later. Regards Jorg

Re: request parameter with % is lost

2005-09-22 Thread Jorg Heymans
Stefan Pietschmann wrote: http://localhost:8080/cocoon/..snip..?Param1=noProblemParam2=atAll http://localhost:8080/cocoon/..%3csnip%3e..?Param1=noProblemParam2=atAll') So basically everytime a parameter value contains an encoded percent sign (%25) the param is totally lost – not only

Re: Multi channel Publishing using Open Office and Cocoon

2005-09-22 Thread Jorg Heymans
Robinson, Michael (UK - London) wrote: We are currently investigate a way of achieving multi channel publishing using Open Office’s native xml file format (Open Document or sxw) as our initial file format and performing transformations using Cocoon and the xslt files that come with Open

Re: Position of folders and files in Cocoon

2005-09-21 Thread Jorg Heymans
[EMAIL PROTECTED] wrote: So my question is, where do I have to put my config and log folder that my classes used by cocoon (they are stored in cocoonc lib directoty in a jar file) can find it? I'ld say jar cvf config.jar config and put config.jar in lib. HTH Jorg

Re: AW: Position of folders and files in Cocoon

2005-09-21 Thread Jorg Heymans
final String LOGGIN_PROPS_DEFAULT_NAME = d:/myprogram/config/logging.cfg; [EMAIL PROTECTED] wrote: Sorry I dont get you :( What do I have to do exactly? Regards, Jan -Ursprüngliche Nachricht- Von: Jorg Heymans [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. September 2005 11

Re: Where do you access HttpResponse from ?

2005-09-21 Thread Jorg Heymans
Laurent Perez wrote: I am trying to access the Content-length header from the http response directly within my Cocoon app, and if its value is greater than X bytes, then trigger some already written business logic (with a map:call function=bizlogic). so you want to execute biz logic

Re: How to move a class in scratchpad to a block

2005-09-16 Thread Jorg Heymans
Oliver Powell wrote: I believe this class belongs in the next release because: - we have used it successfully in production for several months, under high load sounds like a killer argument to me :-) - it provides critical (for us) cache functionality not provided by

Re: How to move a class in scratchpad to a block

2005-09-16 Thread Jorg Heymans
Jorg Heymans wrote: I'll ask on dev@ , and if nobody objects i'll move it out of the scratchpad. I just had a look at the latest 2.1.x , it is there already so this component will become part of the next release. Regards Jorg

Re: Serializability of session using the auth fw

2005-09-16 Thread Jorg Heymans
Michael Wirz wrote: Thank you very much for this hint! This is just a flowscript concern, right? yes. Jorg, did you ever enter into the Big Clustering Adventure? It seems that if, you had a hell lot of fun.. well i used pound [1] once to loadbalance a few jetty instances running cocoon

Re: SOLVED

2005-09-15 Thread Jorg Heymans
Sandor Spruit wrote: It would also be a great help if somebody could explain what Paginator does with the page numbering. It seems to fiddle with the URI to fold-in references to other pages? It's kinda hard to see exactly what happens, as my URI contains dozends of numbers (a continuation

Re: Java stream into pipeline?

2005-09-13 Thread Jorg Heymans
Jason Johnston wrote: ¿How can we get the stream into the pipeline? OR ¿is there a better way to do it? 1. One possible approach might be to use the ModuleSource[1] in your map:generate to access the XML using an input module. If you can get the InputStream onto the request as a

Re: Out of Memory Exception

2005-09-13 Thread Jorg Heymans
Bruce Perryman wrote: Hi, I've searched and seen that others have had this problem, but I haven't found a posted resolution. I'm sure this will ring a bell here. After the application runs for a while, Tomcat reports that Cocoon threw exception java.lang.OutOfMemoryError. OOMs are

Re: Session lifecycle listener in cocoon?

2005-09-11 Thread Jorg Heymans
Stefan Pietschmann wrote: Cocoon, not Tomcat. Is it that easy to just implement the HTTPSessionListener Interface and add this Listener to cocoon/WEB-INF/web.xml? yes. Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Jorg Heymans
Sandor Spruit wrote: Just in case anyone cares: the point is drumrole NAMESPACE /drumrole A dynamically generated pagesheet brings along a bad namespace. Invisible, but deadly nevertheless :( Strange fact: a very meaningful paginator exception message gets folded into an utterly

Re: SOLVED [Re: Paginator with dynamic page sheet?]

2005-09-09 Thread Jorg Heymans
Sandor Spruit wrote: As soon as I've resolved some final issues (high priority!), I've planned to see what happens with 2.1.8-dev. Or is the new stacktrace stuff moved into 2.2-dev only? Sylvain ported it to 2.1-dev as well, i'm using it as we speak (not that i get many stacktraces though

Re: Caching mysteries

2005-08-31 Thread Jorg Heymans
Sandor Spruit wrote: Folks, I am trying to speed-up my app (a search engine) by using caching. The idea is to to run a query once, and allow quick browsing through multiple pages of results without redoing the query - which is an expensive processing step. It does not seem to work as

Re: serializing external sites

2005-08-31 Thread Jorg Heymans
[EMAIL PROTECTED] wrote: Is it possible to serialize external sites. Use the filegenerator for this : http://cocoon.apache.org/2.1/userdocs/generators/file-generator.html Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Caching: do I interpret the docs correctly, when I assume...

2005-08-29 Thread Jorg Heymans
Sandor Spruit wrote: Question: when the key contains *all* the relevant parameters used by my components, and there are no other influences (like timestamps), I can just return a NOPValidity object (always valid). Right? as I understand it, yes. Jorg

Re: Passing Java Objects from FlowScript to pipeline components?

2005-08-24 Thread Jorg Heymans
Sandor Spruit wrote: In other words: I can use the session object to store Java objects of an *aggregated* data type (Collection type), and I can iterate over it. But if I want to access the same parameters in JX or XSLT, I need to have an *individual* parameter available. Right? For JX

Re: Passing Java Objects from FlowScript to pipeline components?

2005-08-23 Thread Jorg Heymans
Sandor Spruit wrote: At some point, my 'stuff' seems to be converted to a String. Can I have Java Objects of arbitrary types instead, somehow??? IIRC passing custom objects from flow is not supported (yet?). I had a similar situation a while ago, i ended up sticking the Map in the

Re: [SOLVED] logger -- I'm missing someting

2005-08-23 Thread Jorg Heymans
great tutorial/writeup, thanks for this !! Could you add it to the wiki, maybe under something like UnderstandingCocoonLogging ? Note that you could also swap the logging implementation with eg log4j, this would make this log4j.xconf stuff obsolete. Cheers Jorg Boisvert, Éric wrote: Would you

Re: Directory generator for network drives?

2005-08-18 Thread Jorg Heymans
Jonas Lundberg wrote: Then you are saying that either map:generate type=directory src=Bambi/store/ or map:generate type=directory src=Bambi\store\ or map:generate type=directory src=file:Bambi\store\ or map:generate type=directory src=file:Bambi/store/

Re: Directory generator for network drives?

2005-08-17 Thread Jorg Heymans
Jonas Lundberg wrote: Am I doing something wrong, or does the directory generator not support network drives? In normal java you'ld be able to access the network drive using (tested from windows to an SMB share) File f = new File(myserver\\mydir); or even File f = new File(new

Re: Transformer to wrap server connection with keeping context

2005-08-15 Thread Jorg Heymans
Jürgen Hofmann wrote: The server communication takes place via a proprietary protocol over TCP/IP. The server basically receives commands and variables and returns variables and messages. The somehow tricky part is, that the server is not context free, so I have to keep some context on my

Re: Transformer to wrap server connection with keeping context

2005-08-15 Thread Jorg Heymans
Jürgen Hofmann wrote: With your experience: would you still do this kind of things with cocoon or follow a completely different approach? To be honest, probably not. I used cocoon as an application hub, connecting different remote services together through the pipeline architecture. I'm

Re: Authentication problem

2005-07-20 Thread Jorg Heymans
Angelo Immediata wrote: Hi. First of all very thanks for your reply. I'll give a look to the java class later in this day. I have tried by using var codiceFiscale = sessionManager.getContextFragment(authentication,/authentication/USERINFORMATION/CODICE_FISCALE/text()); and i have:

Re: how to call a flow-function from a (request)-string

2005-07-19 Thread Jorg Heymans
Johannes Becker wrote: The function: function start() { var param = cocoon.parameters[param]; eval(param) should work IIRC. Note that by doing this you are losing much of the declarative nature of the sitemap. Why not just declare the functions as you need them ? Regards, Jorg

Re: Authentication problem

2005-07-19 Thread Jorg Heymans
Angelo Immediata wrote: I don't see MMDX but only MM and nothing else. Have a look at SimpleSessionContext.java in src\blocks\session-fw\java\org\apache\cocoon\webapps\session\context\ IIUC, the getXML method is used there to retrieve your value. Maybe there is something wrong

Re: Authentication problem

2005-07-19 Thread Jorg Heymans
Jorg Heymans wrote: Angelo Immediata wrote: I don't see MMDX but only MM and nothing else. Have a look at SimpleSessionContext.java in src\blocks\session-fw\java\org\apache\cocoon\webapps\session\context\ IIUC, the getXML method is used there to retrieve your value

Re: Adding xml string to an aggregation

2005-07-14 Thread Jorg Heymans
Gary Larsen wrote: I need to also aggregate an XML formatted string that I’ve generated in the flow. Is there syntax for using a request attribute as a source in an aggregate or is there a better way to accomplish this? This came up a while ago. Have a look at [1], in particular map:read

Re: Problem starting cocoon webapp in Jetty

2005-07-05 Thread Jorg Heymans
Leszek Gawron wrote: Jetty version 4.2.9. Could it possibly be caused by a defective jar file?? Those problems usually smell like wrong handling of endorsed libs. http://wiki.apache.org/cocoon/EndorsedLibsProblem Yes and based on this, i would say that you're not running the 4.2.x

Re: compiling php

2005-06-30 Thread Jorg Heymans
Adriano Smith wrote: If a php file is called in the pipeline as a generator will the file be compiled or just displayed as it is? is it possible to mention somwhwre that the php is to be compiled and executed. i wish to call a php file thro cocoon pipleline. if it is called normally outside

Re: compiling php

2005-06-30 Thread Jorg Heymans
Upayavira wrote: The Cocoon PHP block never worked correctly, and should not really be used. If you need to retrieve data from a PHP page, just use HTTP, e.g: So why not deprecate it in 2.1.8 and remove it in 2.1.9 ? We shouldn't be scared to remove broken cruft. Jorg

Re: [Cforms] How to reproduce the selection state?

2005-06-28 Thread Jorg Heymans
Stephan Coboos wrote: How can I reproduce the form in order to select Audi in the dropdown box for cars automatically? http://cocoon.apache.org/2.1/userdocs/forms/datatypes.html#Selection+lists+%28default+implementation%29 To set a default selection, just set the value of the widget

${context-root} in log4j.xconf

2005-06-23 Thread Jorg Heymans
Hi, Has anyone tried to use variable substition in log4j.xconf? It uses param name=File value=${context-root}/WEB-INF/logs/log4j.log / as an example of variable substitution. In my setup ${context-root} is empty however. The log4j docs state that variables are substituted either from system

Re: Cforms stability

2005-06-16 Thread Jorg Heymans
Jubin Thomas Kuriakose wrote: documentation it is given that CForms is still under development. So is it safe to use Cforms for basic development purposes? Yes it is. CForms is the recommended cocoon way of building web applications with form interactivity. Have a look at [1] to get an idea

Re: Cocoon session configuration ?

2005-06-13 Thread Jorg Heymans
oceatoon wrote: Hi I'm trying to find where I can configure the Time to live of the session ? I haven't found this in web.xml nore xconf, is this a tomcat configuration ? Session timeout can be handled at the servlet container level and is configured in the session-config element of

Re: [flowscript] help w/ static initialization pb

2005-06-07 Thread Jorg Heymans
Mark Lundquist wrote: This class exists only for static things. I just figure out that in Java, the static initialization block doesn't run when the class is loaded, it gets run upon the first instantiation of the class, and I was never instantiating the class. When I added new

Re: Injecting a String XML document into a pipeline

2005-06-05 Thread Jorg Heymans
Sebastien Arbogast wrote: map:generate src=module:flow-attr:myxml/ map:read src=module:flow-attr:myxml/ This had me gasping for air as well to be honest :-) Oh my god !!! This is so clean it's perfect. Thank you very very very much ! That one should definitely be part of an FAQ about

Re: Injecting a String XML document into a pipeline

2005-06-04 Thread Jorg Heymans
Sebastien Arbogast wrote: Hi, I'm looking for a simple way to inject the string content of a flowscript variable into a pipeline for serialization and sending. Of course I could do a sendPage() but that would force me to : 1 - create a dummy JXTemplate to inject the value of my flow

Re: Injecting a String XML document into a pipeline

2005-06-04 Thread Jorg Heymans
Zbigniew Bomert OP wrote: data ${myxml} /data Are you sure this works when myxml contains xml tags ? Surely the downstream parser chokes on it as you're effectively writing tags in a text node ? Jorg - To unsubscribe,

Re: Injecting a String XML document into a pipeline

2005-06-04 Thread Jorg Heymans
Zbigniew Bomert OP wrote: function getPipeline(uri, viewData) { var pipelineUtil = cocoon.createObject(Packages.org.apache.cocoon.components.flow.util.PipelineUtil); var result = pipelineUtil.processToDOM(uri, viewData); cocoon.disposeObject(pipelineUtil); return

Re: What does processPipelineTo() method do ?

2005-06-02 Thread Jorg Heymans
Sebastien Arbogast wrote: And I found that (http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/flow/java/AbstractContinuable.html#processPipelineTo(java.lang.String,%20java.lang.Object,%20java.io.OutputStream)) in Cocoon API documentation but there's no precision about

Re: XMLFileModule for a dynamic file.

2005-06-01 Thread Jorg Heymans
Alexander Berezhnoy wrote: Dear friends, I've been looking for this feature for a week already, nobody and nowhere can't give me a definite answer. I want to extract data with XPath from an XML file whoes name depends on request parameters. The XMLFileModule is statically configured, so

Re: Comparison between cocoon and other web technologies

2005-06-01 Thread Jorg Heymans
http://www.waferproject.org/ Baskar Ganesh wrote: Hi all, Can anyone please tell me where i can find the resources for the comparison of cooon with the other web technologies. Any justifications for cocoon is better over all the other technologies. Regards, Baskar --

Re: XMLFileModule for a dynamic file.

2005-06-01 Thread Jorg Heymans
Alexander Berezhnoy wrote: Plain XSLT won't help here. I need to extract the string and pass it as a param, say, to a reader. Well, TIMTOWTDI ! Explain your usecase, maybe there is another way to achieve the same result. Jorg

Re: XMLFileModule for a dynamic file.

2005-06-01 Thread Jorg Heymans
Alexander Berezhnoy wrote: Well, here is the usecase. The mobile portal supports downloading binary resources for the various handsets (that's implemented via the reader). The resources to be downloaded depend of the handsets' parameterers, which are stored in xml-file. To pass the

Re: Parsing Excel files

2005-05-31 Thread Jorg Heymans
Adriano Smith wrote: hi , Is it possible to parse excel files using cocoon? can someone direct me to some links about how to do this ? You can manipulate Excel files using POI [1], this is integrated in cocoon as a block. HTH Jorg [1] http://jakarta.apache.org/poi/

Re: enctype problem

2005-05-30 Thread Jorg Heymans
I'm not sure if this is related, but Sylvain just committed a fix WRT file uploads and request parameters. http://svn.apache.org/viewcvs?rev=179049view=rev HTH Jorg Ilja Smoli wrote: Hi When I add enctype=multipart/form-data in a form template I lose all the parameters from request... Im

Re: enctype problem

2005-05-30 Thread Jorg Heymans
Sylvain Wallez wrote: Hehe, you're monitoring the cvs list closely :-) sure thing :P Yes, that what I just fixed! Thanks! Jorg PS this seems like a big enough fix, shouldn't status.xml be adjusted ? - To

Re: TeeTransformer

2005-05-23 Thread Jorg Heymans
Ugo Cei wrote: Hi, I need something like the SourceWritingTransformer that would allow me to log, for debugging purposes, the contents of an XML document that is output by a generator. The problem with the SWT is that it expects its input to contain extra tags to direct its behavior, but

Re: Checking if a Continuation is valid - ContinuationValidityAction?

2005-05-19 Thread Jorg Heymans
Paul Crabtree wrote: Hi all, My requirement is that if i have a url constructed like this: http://localhost/page1.html?continuation-id=477e5533570132484a3d34491e7d8e6f50214938 - if the continuation ID is valid id like to execute that continuation. - if it is invalid i'd like to redirect

Re: cocoon exception

2005-05-10 Thread Jorg Heymans
Search the mailinglist, this has come up numerous times. Thanks Jorg Adriano Smith wrote: hi, I keep getting this error in cocoon logs. Can someone please throw light on the cause of this error : I have no clue why suddenly it has started coming. Also, When this exception is seen i

Re: File Upload with Internet Explorer extremly slow

2005-05-09 Thread Jorg Heymans
Cocoon is using it's own upload routines because at the time it was developed, there simply was no commons-upload yet. A few months ago i suggested to replace cocoon's custom upload routines with commons-upload, maybe it's time to trigger some attention to this again. Regards Jorg Michael

Re: File Upload with Internet Explorer extremly slow

2005-05-09 Thread Jorg Heymans
Michael Ebert wrote: Hi Jorg, thanks for the information about the upload. how can i distinguish what kind of upload i use? in my application i have an upload form created with cforms. to handle the upload i wrote some java code in my java flowscript. Is that the cocoon upload or the common

Re: NotSerializableException ?

2005-04-30 Thread Jorg Heymans
Sebastien Arbogast wrote: Upon container shutdown, Spring (or maybe the container itself) tries to be a good citizen and serialize the session to disk. Now there are some components/classes in flowscript that are not serializable, hence the session serialization fails and you get this stacktrace.

Re: NotSerializableException ?

2005-04-29 Thread Jorg Heymans
Not sure but here's my best guess: Upon container shutdown, Spring (or maybe the container itself) tries to be a good citizen and serialize the session to disk. Now there are some components/classes in flowscript that are not serializable, hence the session serialization fails and you get this

Re: Just a remark

2005-04-28 Thread Jorg Heymans
Is this on the wiki ? You could create yourself an account then and modify it yourself. Otherwise please log an issue at nagoya.apache.org so it doesn't get lost. Thanks Jorg [EMAIL PROTECTED] wrote: Hello, I was just reading the tutorial about control flow. I copy pasted the code from the

Re: How to read the lastModifiedDate of the original XML file?

2005-04-27 Thread Jorg Heymans
Linden H van der (MI) wrote: Hi, my website consists of several XML pages that are transformed into HTML using various XSL files. I'd like to add a last modified timestamp, but that means I need the lastModifiedDate of the original XML, because the javascript I used takes the moment of generation

Re: soap, xml stream

2005-04-20 Thread Jorg Heymans
Matt P. wrote: Hello all, I've gone back in the archive for about 2 years, and didn't find a satisfying answer. If it's out there, please point it out. The truth is always out there :-) I have a c++ application, that consumes and produces xml. The xml output is serialized (char*). That's the

Re: Trang transformer

2005-04-20 Thread Jorg Heymans
You mean a cocoon transformer or a normal transformer ? If you can find a java based tool (even with a minimal API) that does the job then it shouldn't be too hard to turn it into a cocoon transformer. Regards Jorg Suzan Foster wrote: Does anybody know if there is a trang transformer to

Re: attaching an object to sendpage

2005-04-19 Thread Jorg Heymans
Upayavira wrote: Have you ever used JXPath? That would be one way. Otherwise, does the NativeObject have an 'unwrap' option? Then you could cast the unwrapped object. I'm guessing now though. JXPath didn't have the capabilities I needed for generating my SAX stream, that's why i went with a

attaching an object to sendpage

2005-04-18 Thread Jorg Heymans
Hi, I would like to do the following cocoon.sendPage(streamdata, {dataobject , data} ); and then in the generator setup() of the streamdata pipeline somehow grab this dataObject object. Regards Jorg - To unsubscribe, e-mail:

Re: attaching an object to sendpage

2005-04-18 Thread Jorg Heymans
-attribute:dataobject} On Mon, 2005-04-18 at 16:22 +0200, Jorg Heymans wrote: I would like to do the following cocoon.sendPage(streamdata, {dataobject , data} ); and then in the generator setup() of the streamdata pipeline somehow grab this dataObject object

Re: attaching an object to sendpage

2005-04-18 Thread Jorg Heymans
Actually map:generate ... map parameter name=data value={flow-attribute:dataobject} doesn't work in my case as i need the object as a whole. I don't think the map:parameter syntax allows pojos as values, or does it ? Thanks Jorg Upayavira wrote: Jorg Heymans wrote: I see, and then in my

Re: Best Cocoon Resources

2005-04-18 Thread Jorg Heymans
Joao Lopes wrote: I download some books/tutorials from emule , and i also use developerWork website from IBM ... Hope that isn't Carsten's book you just downloaded :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: attaching an object to sendpage

2005-04-18 Thread Jorg Heymans
the request object. Thoughts? Jorg Upayavira wrote: flow-attribute would return a string, yes. Has been discussed to allow it to return objects, but right now it would be a string. Regards, Upayavira Jorg Heymans wrote: Actually map:generate ... map parameter name=data value={flow

Re: How can I upload multiple files at same time ?

2005-04-12 Thread Jorg Heymans
I don't think this is possible using standard HTML controls. There are applet solutions however that allow you to do this (jupload.biz for example), maybe this helps your case. Regards Jorg Jarry Liu wrote: Yes, if I put as input type=file name=addfilename /, in the file browser, I can only

Re: CHS with Cocoon 2.1.7

2005-04-12 Thread Jorg Heymans
I would say that your web.xml in tomcat is correct and the one in jetty has an error in it. Diff them to spot where it's gone wrong. Jonny Becker wrote: Hi, I'm trying to get CHS running with Cocoon 2.1.7 on Jetty. Compiles, but cannot start Cocoon then. I get following error on startup:

Re: Best way to initialize Context, Session and Request attributes

2005-04-08 Thread Jorg Heymans
[EMAIL PROTECTED] wrote: Thanks for the answer. Only, these listeners belong to the Servlet API and not to Cocoon, so this will not work in batch mode, when there's a BatchContext instead of a HttpContext. Is there a Cocoon specific method? You didn't mention your app is running in batch mode.

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
Breitsprecher [EMAIL PROTECTED] wrote: Jorg Heymans wrote: Jean-Claude Moissinac wrote: The prefix xlink for attribute xlink:href associated with an element type use is not bound. I just tried this with a stock 2.1.7 build without problems. Maybe your SVG is dodgy? I have had similar problems

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
Jean-Claude Moissinac wrote: Sorry, I don't know how to apply your advice. I've installed a standard Coccon 2.1.7 install. In the startup process messages, I see: ... Starting Jetty/4.2.23 and in the last line of the startup: ... Started [EMAIL PROTECTED] Do you say I have to download a different

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
(ThreadPool.java:511) On Apr 7, 2005 11:20 AM, Jorg Heymans [EMAIL PROTECTED] wrote: Jean-Claude Moissinac wrote: Sorry, I don't know how to apply your advice. I've installed a standard Coccon 2.1.7 install. In the startup process messages, I see: ... Starting Jetty/4.2.23 and in the last line of the startup

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
Jean-Claude Moissinac wrote: Here is a very short test which works when displayed directly, but doesn't works when served by cocoon with the previously showed pipeline: ?xml version=1.0 encoding=UTF-8? svg width=100% height=100% viewBox=0 0 333 250 xmlns=http://www.w3.org/2000/svg; rect width=100%

Re: Best way to initialize Context, Session and Request attributes

2005-04-07 Thread Jorg Heymans
[EMAIL PROTECTED] wrote: Hi, in my webapp I need to initialize the Context, Session and Request attributes, e.g. with database connections, message queues etc. What is the best way to do this in Cocoon? Right now I'm using actions, but this is not satisfactory, as I have to put the action in

Re: [Fwd: New version of sunBow available]

2005-04-06 Thread Jorg Heymans
Lars Huttar wrote: Lars Huttar wrote: This is great news for Cocoon users... this list needs to know about it! I haven't had a chance to try it out yet myself. If you try it, please let the list know how it goes; e.g. what versions of Cocoon you find that it works with or doesn't. For the

Re: Fwd: SVG with xlink namespace

2005-04-06 Thread Jorg Heymans
Jean-Claude Moissinac wrote: Hello I have an SVG file, something like ?xml version=1.0 encoding=UTF-8? svg width=100% height=100% viewBox=0 0 333 250 xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; ... use xlink:href=#S1 transform=translate(62.0 213.0) scale(0.29522705

Re: installing 2.1.7, excalibur-datasource-1.2.0.jar missing

2005-04-06 Thread Jorg Heymans
Rolf Schumacher wrote: I deleted all comment lines from my local.blocks.properties with an editor macro. The output should be correct. It's appended. Hope this helps. Rolf include.block.authentication-fw=false include.block.bsf=false include.block.chaperon=false include.block.databases=false

Re: Building cocoon 2.1.7 on Windows

2005-04-06 Thread Jorg Heymans
This is working for everyone else AFAIK, anything exotic in your configuration ? Michel SALAIS wrote: Hi all, I have an error message while trying to build cocoon on a Windows XP system. My JDK is J2SDK1.4.2_08 and JAVA_HOME points to the correct diectory. The error message is :

Re: Error opening an Excel-File

2005-04-06 Thread Jorg Heymans
Mirko Freisleben wrote: Hi all, I´m generating an ecxel-File with cocoon 2.1.6 and HSSF serializer After generating the file I get following error-message File Error: Data may have been lost But the Data seems to be all right, nothing get lost. Does anybody know how to handle the error-message

  1   2   3   4   5   6   >