Date picker missing

2013-04-02 Thread mika
Hi, C211 and Cforms. I somehow managed to loose datepicker icons from Cforms date fields. Any hints what's missing? Have I, for example, deleted something from the sitemap by accident..? I can see that in the samples these calendar pickers seem to be working just fine. - mika

Re: from Cforms to Wicket

2013-02-27 Thread Mika M Lehtonen
/Talks/0525-www2006-Kay.pdf http://www.w3.org/2006/Talks/0525-www2006-Kay.pdf [2] http://en.wikipedia.org/wiki/Fourth-generation_programming_language 2013/2/18 Mika M Lehtonen m...@digikartta.net mailto:m...@digikartta.net Yep, but as I started this chain, I

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
how to start. The biggest problem with C2.11, IMHO, was not having proper development tools to use. I ended up writing files with Notepad++. And I never realized how to do debugging.. - mika - 18.2.2013 10:48, Francesco Chicchiriccò kirjoitti: On 17/02/2013 21:57, Mika M Lehtonen wrote

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Is HTML5 something you can really use already having wide range of browsers supported? (Or at least FF, IE and Chrome) - mika - 18.2.2013 14:09, gelo1234 kirjoitti: Why using CForms at all ? If you use XSLT you can transform dynamic XML data into HTML5 native forms templates. Greetings

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
/ie9/ - mika - 18.2.2013 14:45, Robby Pelssers kirjoitti: The only thing I wonder about is... Cocoon and neither XSLT2.0 support html5 serialization for all I know. So does someone using Cocoon already generate HTML5 content with Cocoon and how did you accomplish this. Cheers, Robby

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
. If I could take e.g. NetBeans and continue with that, I would be better off in the long run. I was considering Apache Wickets because some integration has been done with C3, but right now it doesn't seem to be a real option. HTML5 is still hype from my point of view. - mika - 18.2.2013 15

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Yeah, I think so too. Thanks. - mika - 18.2.2013 18:44, Jos Snellings kirjoitti: Nice overview! On Mon, Feb 18, 2013 at 5:23 PM, gelo1234 gelo1...@gmail.com mailto:gelo1...@gmail.com wrote: IMHO if you are dealing with XML data, there are only two valid choices: XSLT or XQuery

Re: from Cforms to Wicket

2013-02-17 Thread Mika M Lehtonen
. - mika - 17.2.2013 20:30, Francesco Chicchiriccò kirjoitti: On 15/02/2013 22:11, Mika M Lehtonen wrote: Hi, I have an application using dynamic Cforms (C2.11), that is, the Cforms definition and templates are created from dynamic XML through XSL. Can this be done with C3 and wickets? From

Re: from Cforms to Wicket

2013-02-17 Thread Mika M Lehtonen
How about some XForms implementation like this http://www.betterform.de? Sounds promising.. - mika - 17.2.2013 21:08, Mika M Lehtonen kirjoitti: Hi Francesco, let me tell you what I have now. I implemented a feedback web application for municipial use with C2.11. The app is built so

from Cforms to Wicket

2013-02-15 Thread Mika M Lehtonen
Hi, I have an application using dynamic Cforms (C2.11), that is, the Cforms definition and templates are created from dynamic XML through XSL. Can this be done with C3 and wickets? From somewhere I read about the fact that with Apache Wickets you don't need any XML.. - mika

Re: Modular database actions

2012-11-16 Thread mika
with map:parameter? - mika - On Thu, 15 Nov 2012 21:58:19 +0200, Mika M Lehtonen m...@digikartta.net wrote: Answering to my own question, Q: I was just wondering, how would I get some sort of a callback from e.g. insert/update action in order to tell the user that his/her data is saved? A: A successful

JXTemplate question

2012-11-16 Thread mika
from CForms binding. Guess this would have been easier with XSL.. So the idea is to initialize form controls with values from XML elements, not with the whole XML elements. - mika - - To unsubscribe, e-mail: users-unsubscr

RE: JXTemplate question

2012-11-16 Thread mika
Yes! This one works. #{$inneritem/text()} Thanks Robby! - mika - On Fri, 16 Nov 2012 13:48:27 +, Robby Pelssers robby.pelss...@nxp.com wrote: What is the actual value of inneritem? A tag? And yes... using XSLT this would have been a breeze ;-) But maybe you use the wrong xpath

Re: Modular database actions

2012-11-15 Thread Mika M Lehtonen
Answering to my own question, Q: I was just wondering, how would I get some sort of a callback from e.g. insert/update action in order to tell the user that his/her data is saved? A: A successful action will return the number of rows affected in a sitemap parameter named row-count. - mika

Modular database actions

2012-11-14 Thread Mika M Lehtonen
Hi, I am using ye old modular database actions which in my opinion is extremely handy tool. I was just wondering, how would I get some sort of a callback from e.g. insert/update action in order to tell the user that his/her data is saved? cheers, - mika - P.S. My two cents

more encoding problems

2012-09-20 Thread mika
/palaute_app/linkki/html/1059 doesn't work !! Any thoughts? I have tried a lot of things without success. - mika - - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

RE: more encoding problems

2012-09-20 Thread mika
Yep, I noticed that too. But where it is coming from? Remember, the whole cocoon directory is a copy from old to new. I also copied e.g. Tomcat server.xml same way. - mika - On Thu, 20 Sep 2012 10:03:46 +0200, Robby Pelssers robby.pelss...@nxp.com wrote: The one that does not work has

RE: more encoding problems

2012-09-20 Thread mika
Wrong call, that ISO-8859-1 was just a test to ensure this setting would have some meaning. It has, but the scands disappear before serialization, I think. - mika - On Thu, 20 Sep 2012 10:15:16 +0200, Robby Pelssers robby.pelss...@nxp.com wrote: Can you check which serializer you're using

Re: more encoding problems

2012-09-20 Thread mika
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 jos.snelli...@upperware.biz wrote: Hi Mika, Your page declares utf-8 as a character set, but the text you send is not in utf-8. Hence the question

Re: more encoding problems

2012-09-20 Thread mika
Works locally. - mika - On Thu, 20 Sep 2012 15:14:35 +0300, m...@digikartta.net wrote: Hi Jos, yep, that's right, the text seems not to be utf-8. Same problem occurs in another page where the text not working comes from flowscript. 1) No it's not, it's a copy. But you can verify everything is ok

Re: more encoding problems

2012-09-20 Thread mika
verified that the database is delivering the right stuff. The same database used in this (http://88.148.163.59/cocoon/palaute_app/linkki/html/1059 [2]), works with local copy of cocoon. Updated data, just checked this out. Even this one will fail. sitemap: koe.xsp: Works locally. - mika

RE: encoding issue

2012-08-31 Thread mika
map:otherwise map:serialize type=html/ /map:otherwise /map:select /map:match and the #{$document} in the jx-template has lost scands - mika - On Fri, 31 Aug 2012 09:19:04 +0200, Robby Pelssers robby.pelss...@nxp.com wrote: Hi Mika, Some questions: - are you having problems

RE: encoding issue

2012-08-31 Thread mika
Ok, could it have something to do with those locale settings? Just a wild guess, because I really don't know how to use them. Thanks anyway, - mika- P.S. Those org.apache.cocoon.containerencoding=utf-8 org.apache.cocoon.formencoding=utf-8 BTW are in web.xml at C2.1. They only effect so

encoding issue

2012-08-29 Thread mika
wrong ones and will do other harms. What next? Checking the source code? - mika - - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: cocoon migrate from 2.1 to 2.2 or 3 (was Re: Forms and maps)

2012-04-19 Thread mika
Thorsten, thank you for your feedback. Yeah, I think I will switch to C3 some day near, that is, if we'll decide to continue with Cocoon. One app is on it's way to final. How succesful it is, will make quite a big difference whether we continue or not. I hope we do. - mika - On Thu, 19

RE: Forms and maps

2012-04-18 Thread mika
Absolutely. But trying to stay on the edge of the trends won't fit for us all. And continous rewriting of apps doesn't make any sense. Why on earth we can't create something that would last at least a decade? Half of us would be out of jobs? - mika - On Wed, 18 Apr 2012 10:50:37 +0200

RE: Forms and maps

2012-04-18 Thread mika
That's a good one! - mika - On Wed, 18 Apr 2012 11:30:58 +0200, Robby Pelssers robby.pelss...@nxp.com wrote: You should read this article 'Why Good Programmers Are Lazy and Dumb' http://blogoscoped.com/archive/2005-08-24-n14.html I think it's not so much about losing our jobs but about

Re: Forms and maps

2012-04-18 Thread mika
framework, even if the newer one would be much better. On the other hand, starting with the old one isn't smart. So suggestion to start with (or wait for) the stable C3 can be very wise decision. - mika - On Wed, 18 Apr 2012 11:37:59 +0200, Thorsten Scherler scher...@gmail.com wrote: On 04/18/2012

RE: Forms and maps

2012-04-18 Thread mika
a lot of questions and thoughts to share. And as a non native English speaker always in danger of being misunderstood, especially among of others like. cheers, - mika - On Wed, 18 Apr 2012 12:03:22 +0200, Robby Pelssers robby.pelss...@nxp.com wrote: Well, I also have a pretty strong opinion

Re: cocoon migrate from 2.1 to 2.2 or 3 (was Re: Forms and maps)

2012-04-18 Thread Mika M Lehtonen
. Have to start with it. Then maybe C2.2 and finally C3. Or just forget the whole thing. The latter is the way I chose a couple of years ago. But I may have changed my decision. - mika - 18.4.2012 18:07, Thorsten Scherler kirjoitti: The whole thread had changed the subject a long time ago

Re: Forms and maps

2012-04-17 Thread mika
all the good old techiques and frameworks. Of course the general abandonment will halt the development but if you think something like C2.1 and C2.2, I guess they will be useful for years to go, if you are willing and capable of updating some parts by your own. cheers, - mika - P.S

Re: Forms and maps

2012-04-13 Thread Mika M Lehtonen
Interesting, I am also integrating maps into sites produced with Cocoon 2.1x. I have no answer to you but maybe we could collaborate on this issue? OpenLayers widget would be something! cheers, mika 13.4.2012 20:03, Alberto kirjoitti: Hi, I'm using cocoon 2.1.12-dev and I'm facing how

database action data types

2012-04-11 Thread Mika M Lehtonen
and butter.. - mika - - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

forms and database

2012-03-30 Thread Mika M Lehtonen
rows in a database table. I can do both, but not at a same time. How should I accomplish that with Cocoon (2.11)? - mika - - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

Re: data binding

2012-03-28 Thread mika
Suggesting to myself: Modular Database Actions? Right? On Tue, 27 Mar 2012 22:50:56 +0300, Mika M Lehtonen m...@digikartta.net wrote: Hi, what is the right and the proper way of inserting form data to database table (PostgreSQL)? What makes this more interesting is that instead of horizontal

Re: data binding

2012-03-28 Thread mika
. - mika - On Wed, 28 Mar 2012 10:48:40 +0300, Andre Juffer andre.juf...@oulu.fi wrote: Hi Mika, not sure if I completely understood your question. By stating my forms are created dynamically based on data in database you mean to say that form elements values constitute the dynamical aspect

Re: data binding

2012-03-28 Thread mika
with one field or with 100 fields. - mika - On Wed, 28 Mar 2012 11:27:59 +0300, Andre Juffer andre.juf...@oulu.fi wrote: OK, thus each data TYPE decides the form element to be used? On 03/28/2012 11:23 AM, m...@digikartta.net wrote: Hi André, form element themselves are changing based upon data

data binding

2012-03-27 Thread Mika M Lehtonen
the challenge? Any thoughts? Sorry if I am asking entirely obvious questions. I don't have such a long experience with the Cocoon. Testing things now with the 2.11 and am going to shift to 2.2, even 3.0 some day later or sooner. Also coming more from .NET side.. forgive me.. - mika

pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
this work with the pipelines? I am trying to create forms based on data in database, anyway that is the ultimate goal. I found some examples how to use pipelines in flow script, but I haven't been able to get them work. cheers, - mika

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
14.3.2012 20:00, Andre Juffer kirjoitti: On 03/14/2012 07:31 PM, Mika M Lehtonen wrote: Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration example. I added this to the samples/blocks/forms/ sitemap: Did you to say here

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
? var form = new Form(registration.mika); doesn't work var form = new Form(forms/registration2.xml); does work map:match pattern=registration.mika map:generate src=forms/registration2.xml/ map:serialize/ /map:match - mika - 14.3.2012 20:39, Robby Pelssers kirjoitti: Hi Mika, I can

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
14.3.2012 20:39, Andre Juffer kirjoitti: On 03/14/2012 08:24 PM, Mika M Lehtonen wrote: 14.3.2012 20:00, Andre Juffer kirjoitti: On 03/14/2012 07:31 PM, Mika M Lehtonen wrote: Hi list, I started to experiment with the Cocoon 2.11 after a long while. I did some adjustment on the registration

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
getting closer! No pipeline matched request: registration2.mika 14.3.2012 21:35, Robby Pelssers kirjoitti: Try var form = new Form(cocoon://registration.mika); Cheers, Robby *From:*Mika M Lehtonen [mailto:m...@digikartta.net] *Sent:* Wednesday, March 14, 2012 8:33 PM *To:* users

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
have been there if you paid attention ;-) Using the cocoon:// protocol you should have blindly copied over my suggestion. It's not registration2.mika but registration.mika as in your own sample sitemap snippet. map:match pattern=registration.mika map:generate src=forms/registration2.xml

Re: pipeline in flowscript

2012-03-14 Thread Mika M Lehtonen
And this one works! var form = new Form(cocoon://samples/blocks/forms/registration.mika); thanks, - mika - 14.3.2012 22:11, Mika M Lehtonen kirjoitti: :-) you're right, but org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: registration.mika What I meant that know

dynamic forms and definitions

2012-03-08 Thread Mika M Lehtonen
of dynamic forms and especially dynamic form definitions, perhaps database driven forms and form types? reg. mika - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h

xml2pgsql with cocoon?

2009-09-07 Thread Mika Lehtonen
knowledge. With best regards, Mika Lehtonen - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: xml2pgsql with cocoon?

2009-09-07 Thread Mika Lehtonen
include some attribute related functions into it. But there will be also some other applications. It's still all open. At this point, the major task is to get the data into database or actually build a block that will make uploading into database possible. - mika - Jos Snellings kirjoitti

Re: Is Cocoon the right tool?

2009-03-04 Thread Mika Lehtonen
isn't yet ready enough. Also the whole XSL-FO is a little stiff. And this would only cover one or two formats.. You still need to create stylesheets (templates) to other formats as well. - mika - Fernando kirjoitti: Just to make sure, are layouts like these possible? http://jobmob.co.il

Re: Is Cocoon the right tool?

2009-03-04 Thread Mika Lehtonen
in coding, although you can do a lot in Cocoon without using any particular programming language. But still you have to learn also Cocoon language + for example XSL-FO etc.. - mika - Luca Morandini kirjoitti: Fernando wrote: Just to make sure, are layouts like these possible? http://jobmob.co.il

Re: Is Cocoon the right tool?

2009-03-04 Thread Mika Lehtonen
meant, is that in order to finish his assignment with Cocoon, Fernando probably would need to write sitemaps as well XSL and other stuff. - mika - Luca Morandini kirjoitti: Mika Lehtonen wrote: 2) While looking your examples, I can't help myself thinking what you really are expecting Cocoon

Re: Cluster Cocoon 2.1.9 Applications

2009-01-14 Thread Mika Lehtonen
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html - mika - Merico Raffaele kirjoitti: Dear Community We have a several Cocoon applications consisting of: - Cocoon 2.1.9 - Hibernate - MySql - Tomcat and running on dedicated Linux servers. In order to get a perfect failover

Re: Cocoon 2.2 and Netbeans IDE

2008-08-18 Thread Lehtonen, Mika
a dependency: myBlock, have to be requested by http://localhost:8080/myBlock, not http://localhost:8080/webApp. But that is how it should be, right? - mika - Miles Elam kirjoitti: Hi Mika, Unfortunately, I can't be of service here. While I like NetBeans for editing, compiling, etc., I am still very

Re: Cocoon 2.2 FOP

2008-08-15 Thread Lehtonen, Mika
Am I asking something silly or too obvious? I'd just like to get a list as the following, which includes one column also for the Cocoon 2.2 FOP block. http://xmlgraphics.apache.org/fop/compliance.html thanks, mika Lehtonen, Mika kirjoitti: Hi again, taking second steps on Cocoon 2.2 and I

Re: Cocoon 2.2 FOP

2008-08-15 Thread Lehtonen, Mika
Ok, thanks Jasha for your exclusively clear answer! BTW, the page http://cocoon.apache.org/2.2/blocks/fop/1.0/1333_1_1.html (A complete list of all available Sitemap components, FOPNG) doesn't even exist. - mika - Jasha Joachimsthal kirjoitti: Hi Mika, cocoon-fop-ng-impl uses FOP 0.9x

Re: Cocoon 2.2 and Netbeans IDE

2008-08-15 Thread Lehtonen, Mika
interaction possible? mika Miles Elam kirjoitti: Hi Mika, It wasn't a minor problem; it actually prevented me from working on Cocoon blocks for a while. Yes, with some difficulty, I got it working. The root cause of the errors is that (a) a dependency was using a relatively long version string and (b

Re: Cocoon 2.2 and Netbeans IDE

2008-08-14 Thread Lehtonen, Mika
errors when I tried to deploy (run) my first test application in Netbeans but same could have happen without IDE. Unfortunately, I had to earn my living now, so I can't play around with Cocoon/Netbeans. Hope this setup will turn upsidedown at some stage. ;-) Thanks for your reply! - mika - Miles

First steps with Cocoon 2.2

2008-08-13 Thread Lehtonen, Mika
? - mika - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: First steps with Cocoon 2.2

2008-08-13 Thread Lehtonen, Mika
Ok, here it is. BTW, I am running my tests in a headless Linux server. Does it make any difference? - mika - Jeroen Reijn kirjoitti: Hi Mika, I guess what's more important is, what is the stacktrace that you got while trying to do $mvn jetty:run? Regards, Jeroen Lehtonen, Mika wrote

Re: First steps with Cocoon 2.2

2008-08-13 Thread Lehtonen, Mika
Hi again, I repeated the instructions with another block name and this time it works. There were over 40 archetypes to choose in my first attept and now there were only three, like in the example. Could you explain that. Like I said, this is all new for me. Anyway, now I can move on. - mika

Re: First steps with Cocoon 2.2

2008-08-13 Thread Lehtonen, Mika
. Never mind the beginners list idea. Amount of traffic is tolerable. Thanks, mika Ken Starks kirjoitti: Lehtonen, Mika wrote: Hello all, maybe you should have beginners list as for questions/problems like mine. :-[ snip A beginners' list doesn't seem a good idea to me, for two reasons: 1

Re: First steps with Cocoon 2.2

2008-08-13 Thread Lehtonen, Mika
Yep, you nailed it! I had two typos ('/http//cocoon.apache.org'). I so ashamed... - mika - Ken Starks kirjoitti: Lehtonen, Mika wrote: Hi again, I repeated the instructions with another block name and this time it works. There were over 40 archetypes to choose in my first attept and now

Cocoon 2.2 FOP

2008-08-13 Thread Lehtonen, Mika
to work with that 0.9x. Do they work with Cocoon 2.2 and its FOP block? - mika - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cocoon 2.2 and Netbeans IDE

2008-08-13 Thread Lehtonen, Mika
Hi, is it possible to create Cocoon applications straight using Netbeans IDE 6.1 and Maven plugin? I tried to do so, but I got some errors. Mainly it's about missing classworlds (this is only a part of the stacktrace): reg. mika [ERROR]Root error message:Missing: [ERROR]-- [ERROR]1

Re: Cocoon 2.2 and Netbeans IDE

2008-08-13 Thread Lehtonen, Mika
Ok, this was due to fact that I didn't restart Netbeans after update, silly me.. I still couldn't get it totally working but it seems promising. Anyone doing Cocoon application development with Netbeans? Does it work? cheers, mika P.S. Once again, I apologize mailing too easily when I have

Re: Finding a new name for Corona (a Cocoon rewrite)

2008-08-01 Thread Lehtonen, Mika
Sorry about the last. Just had a pint too much. But talking about the suggestion; 1) it fits on the theme 2) Morus can be interpreted as 'More Us', refering to the community. And Morus is the genus of the tree feeding the creatues manufacturing the silk.. cheers, mika P.S. Hopefully

Re: Finding a new name for Corona (a Cocoon rewrite)

2008-07-31 Thread Lehtonen, Mika
Morus. KVG, that is check Google for Morus in finnish. How you like it? cheers, mika Andy Stevens kirjoitti: 2008/7/31 Hugh Sparks [EMAIL PROTECTED] Pipes According to Google Translate, it seems inoffensive in German, Spanish, and Polish Apache Pipes - It alliterates a bit. -Hugh

Re: Installing 2.2

2008-07-16 Thread Lehtonen, Mika
? Thanks, - mika - Patrick Heiden kirjoitti: Hello Reinhard! Thank you for that statement!! Wouldn't ist be usefull to include cocoon-samples, too? I imagine, that maybe this is in conflict with needed tools (maven, jetty, plugins,..) to run the samples... I am not sure, but maybe they could

Re: problem with document() function

2008-06-11 Thread Lehtonen, Mika
Hi Johannes, maybe you could try absolute path like: * UNIX ... file:///foo/bar/this.xsl * Windows ... file:///C:/foo/bar/this.xsl Just to make sure that the file is fetched from the right location. - mika - Johannes Hoechstaedter kirjoitti: The value of the variable $filename

Re: problem with document() function

2008-06-11 Thread Lehtonen, Mika
these protocols whenever you have a SourceResolver handy. * context:// - get a resource using the servlet context * cocoon:/ - get a pipeline from the current sitemap * cocoon:// - get a pipeline using the root sitemap * resource:// - get a resource from the context classloader - mika

Re: problem with document() function

2008-06-11 Thread Lehtonen, Mika
Maybe you could wrote a pipeline with a matcher to your $filename and with source pointing to your absolute file? - mika - Heather Rankin kirjoitti: Johannes, If you don't like absolute paths then you just need to figure out where your XSLT is relative to your XML doc. If your XSL is in say

Re: [ANN]: Geoid 1.0.0 released

2008-05-28 Thread Lehtonen, Mika
it available and useful for the endusers. I hope I don't sound to be entirely out of my mind. Getting my ideas inside a single mail message isn't my strongest point. - mika - Luca Morandini kirjoitti: The scope of Geoid is the building of a framework of connectors (generators, transformers, actions, etc

Re: PDF Image Caching Problem

2008-05-05 Thread Lehtonen, Mika
don't know how exactly your PDF pipeline looks like but you might want to touch (in the Linux sense, changing the file's timestamp) an XSLT or the input XML. (See: image caching on 4-5 March at the users-list) mika Peter Sparkes kirjoitti: Hi, I generate html and pdf, which contain images, from

Re: PDF Image Caching Problem

2008-05-05 Thread Lehtonen, Mika
html-serializer with noncaching option in your pipeline. And eventually your application can crash because you exceed the maximum open files that your OS tolerates. (Cocoon 2.1.11 / Centos 4.6) mika Peter Sparkes kirjoitti: Hi I have tried using map:pipeline type=noncaching and invalidate

Re: error in html serialization

2008-04-16 Thread Lehtonen, Mika
Please try it by yourself, be my guest. http://77.240.21.139/cocoon/asemakaavat/selitykset/A4/Karsamaki/Kirkonseutu/01.html Open it and refresh it over ten times. It should crash. Then refresh it over ten times again and suprise, it works again! Any ideas? mika Lehtonen, Mika kirjoitti

Re: error in html serialization

2008-04-16 Thread Lehtonen, Mika
Hi Johannes, here is the pipeline. I set those parameters to imagedirectory-generator, xslt-transformer and to html-serializer. I found no change comparing to previous action. mika map:match pattern=selitykset/*/*/*/*.html map:generate type=imagedirectory src=selitykset/{2}/{3}/{4

Re: error in html serialization

2008-04-16 Thread Lehtonen, Mika
/asemakaavat/selitykset/A4p/Karsamaki/Kirkonseutu/01.pdf mika Lehtonen, Mika kirjoitti: Hi Johannes, here is the pipeline. I set those parameters to imagedirectory-generator, xslt-transformer and to html-serializer. I found no change comparing to previous action. mika map:match pattern=selitykset

Re: error in html serialization

2008-04-16 Thread Lehtonen, Mika
I have to do some tuning? Thanks, mika Johannes Textor kirjoitti: Hi Mika, am I guessing right that you are using Java 1.6? The NullPointerException means that This abstract pathname does not denote a directory, or if an I/O error occurs (quote from Java spec). Maybe you're running out

Re: error in html serialization

2008-04-16 Thread Lehtonen, Mika
. Also my pdf pipeline works fine. Is it possible you to test pipelines with xslt transformer and html serializer? I mean if it would also left old files open after reloading. mika Johannes Textor kirjoitti: Sorry ... as I think of it, maybe you should use the less braindead command lsof -p

Re: error in html serialization

2008-04-16 Thread Lehtonen, Mika
Thanks for your help Johannes! I believe I found the reason. I had type=noncaching definition in my pipeline. I removed it and now it seems to working without errors. Try it out yourself. mika Johannes Textor kirjoitti: Sorry ... as I think of it, maybe you should use the less braindead

HTML-serializer question

2008-04-15 Thread Lehtonen, Mika
not the problem but the right way to put it into html. - mika - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML-serializer question

2008-04-15 Thread Lehtonen, Mika
Yep, I ended up thinking something similar and kind of sorted the problem out by using already created contextpath-variable instead of cocoon:/. It works. thanks, mika Stephen Winnall kirjoitti: The problem is with the use of the cocoon: pseudo-protocol in the src attribute of img. Cocoon

error in html serialization

2008-04-15 Thread Lehtonen, Mika
and continues doing that. I can verify that even with using refresh button on the browser. Cocoon is 2.1.11 and first I get this error and after that the latter one. Any ideas? mika *type* Exception report *message* *description* _The server encountered an internal error () that prevented it from

Re: Tomcat passing requests to cocoon for docroot, but not sub-directories?

2008-04-10 Thread Lehtonen, Mika
Hi, can't you just leave the mod_jk out of this for now on and test directly with Tomcat e.g. configure it to listen port 8080. Another approach might be to leave Cocoon out and test some static material through mod_jk. That way you can assure that it is working properly. mika Jed

Re: image caching

2008-03-04 Thread Lehtonen, Mika
if these are comparable. They are still quite different. reg. mika Joerg Heinicke kirjoitti: 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

Re: Newer FOP to Cocoon 2.1.11

2008-02-28 Thread Lehtonen, Mika
if the xmlgraphics-commons is updated to 1.3 version shipped with the fop. And now after few tests, I haven't found anything to complain about; all the problems with the tables seems to be vanished away. :-) :-D :-) have a nice day ! - mika - P.S. Kai, I did some fine tuning in Tomcat, also

Re: Authentication in xsl:fo in Cocoon

2008-02-20 Thread Lehtonen, Mika
in an ASCII file without any encryption is not the worlds most secure thing to do, but... Can someone e.g. get an access to my xsl, if for example Cocoon crashes? I still stress that this is not a high security level application. Cheers - mika - Andy Stevens kirjoitti: Hi Mika, You didn't

Re: Newer FOP to Cocoon 2.1.11

2008-02-18 Thread Lehtonen, Mika
Hi, the new fop worked perfectly till I tried to plot a pdf with a huge raster in it. After that I haven't been able to use it. I get this error even if I restart the Tomacat or boot the whole server. Any idea what is causing this malfunction? reg. mika HTTP Status 500 - type Exception

Re: Newer FOP to Cocoon 2.1.11

2008-02-18 Thread Lehtonen, Mika
FOP. reg mika Kai Mtz kirjoitti: Try to increase the memory allocated to the JVM: http://xmlgraphics.apache.org/fop/0.94/running.html#memory Lehtonen, Mika wrote: Hi, the new fop worked perfectly till I tried to plot a pdf with a huge raster in it. After that I haven't been able

Re: Authentication in xsl:fo in Cocoon

2008-02-15 Thread Lehtonen, Mika
. cheers mika Joerg Heinicke kirjoitti: 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

Re: Newer FOP to Cocoon 2.1.11

2008-02-14 Thread Lehtonen, Mika
day! Cheers mika Kai Mtz kirjoitti: Lehtonen, Mika wrote: Superb! ..but still too complicated for me, I'm afraid. Could you be more specific on compling part? I tried to compile that code with javac (1.6.0_04) and got 73 errors. Then I "stole" the You have

Authentication in xsl:fo in Cocoon

2008-02-14 Thread Lehtonen, Mika
valve in Tomcat but I guess it works only among the applications under same virtual host. - mika - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Authentication in xsl:fo in Cocoon

2008-02-14 Thread Lehtonen, Mika
way to forward authentication info into cocoon and pass it back to Geoserver. Sounds stupid. Am I doing this too complicated? reg. mika Lehtonen, Mika kirjoitti: Hi, Cocoon 2.1.11 / TomCat 6.0.14 Cocoon is running in main host and wms-server (GeoServer) in another virtual host. Cocoon gets

Re: Newer FOP to Cocoon 2.1.11

2008-02-13 Thread Lehtonen, Mika
I managed to get cocoon standing but not very good. Even some pdf can be produced but this is what I mainly get. reg. mika :-! HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: Removing whitespace in XSP generated XML

2003-10-31 Thread Mika Fonsen
Hi, Another solution to this XMLSpy caused problem is to disable output formatting for these elements. Tools/Options: - from file tab, add an entry to the No output formatting -field: xsp:attribute You might also want to include xsl:attribute to this. --- Mika Fonsén * http

Re: Request attributes from XSP and input modules

2003-10-28 Thread Mika Fonsen
part): http://wiki.cocoondev.org/Wiki.jsp?page=Modules --- Mika Fonsén * http://iki.fi/mf On Mon, 27 Oct 2003, Christian Haul wrote: This is a timing problem and sort of a FAQ. So, please search the list for an in depth explanation. In short, pipeline setup happen *before* pipeline execution

Re: Example for session output module anyone?

2003-10-24 Thread Mika Fonsen
actions. However, there are few other places that use them. But there is no way to directly use them from your sitemap. Only through an action or any other avalon component. -- Mika Fonsén * http://iki.fi/mf __ Do you Yahoo!? The New Yahoo! Shopping - with improved

Re: Example for session output module anyone?

2003-10-22 Thread Mika Fonsen
modules after my frustrating experiences with the docs. -- Mika Fonsén * http://iki.fi/mf On Wed, 22 Oct 2003, Paul Bowler wrote: I'me trying to store a value from a url parameter in the users' session using the session output module but I cannot find an example of a sitemap that does this. Can

How to pass parameters to mod-db actions from sitemap?

2003-10-20 Thread Mika Fonsen
and the GetTogether event this month (the organizers especially). -- Mika Fonsén * http://iki.fi/mf __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com