Re: idea: log utility

2005-08-19 Thread Marc Salvetti
Hello, it sounds a bit complex to me, what about a custom logGenerator who reads format from logkit.xconf, parse the logfile as a string according to the format, and then generates a xml logFile ? I was thinking of creating such a component myself. Maybe it would be a good start to create the

Re: idea: log utility

2005-08-19 Thread Askild Aaberg Olsen
Joose Vettenranta wrote: Hi, got an idea for what - perhaps - could be a nice tool for cocoon, atleast for production sites: Web frontend for exception handling. Idea is that when software get's exception and goes to process error (with stack trace and stuff) would also be recorded to

AW: simple-repeater: JXPath factory? Why?

2005-08-19 Thread Stephan Coboos
Hi Mark, hmm, but nothing is null in my beans. On the documentation about the simple-repeater I can read "Works with XML or with JavaBeans if a JXPath factory is set on the binding context." But there is no explanation about how to set this factory... boah. http://cocoon.apache.org/2.1/userdocs/f

Re: simple-repeater: JXPath factory? Why?

2005-08-19 Thread Mark Lundquist
Hi Stephan, On Aug 19, 2005, at 11:23 AM, Stephan Coboos wrote: When I do so, I get an error: "Factory is not set on the JXPathContext - cannot create path: /columnHeaders[13]". What does this mean? In my experience, that error message means: "Something is null that your JXPath expressio

simple-repeater: JXPath factory? Why?

2005-08-19 Thread Stephan Coboos
Hello, I have a collection of beans with setter/getter setHidden(boolean), isHidden(), getName(). I'm using Cforms and the simple repeater to display and bind the beans of the collection as a list with checkboxes on the left and the name on the right side. Everything works fine until I'm using fo

Re: Mo: BUILD FAILED: Could not create task...

2005-08-19 Thread Joerg Heinicke
On 19.08.2005 17:27, AD Marshall wrote: thanks ivan. i'm going to try JD's suggestions first (similar BUILD FAILED thread) and, if they don't work, i've downloaded the ant tarball already. I don't know if it's the same issue as with my Fedora Core 4, but I wasn't able to build cocoon until I

Re: idea: log utility

2005-08-19 Thread Mark Lundquist
On Aug 19, 2005, at 8:35 AM, Mark Lundquist wrote: P.S. — I like the RSS idea. —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: BUILD FAILED: Could not create task... : if

2005-08-19 Thread AD Marshall
thanks JD, i'll try this first, then maybe Ivan's suggestion, if i still don't have a solution necessary. (it's late here already) I forgot to mention that the layout section in the forrest.properties file shipped with cocoon 2.1.7 has uncommented entries (unlike forrest) that don't point to th

Re: idea: log utility

2005-08-19 Thread Mark Lundquist
On Aug 19, 2005, at 7:18 AM, Joose Vettenranta wrote: Hi, got an idea for what - perhaps - could be a nice tool for cocoon, atleast for production sites: Web frontend for exception handling. I like it! Idea is that when software get's exception and goes to process error (with stack tra

Re: Mo: BUILD FAILED: Could not create task...

2005-08-19 Thread AD Marshall
thanks ivan. i'm going to try JD's suggestions first (similar BUILD FAILED thread) and, if they don't work, i've downloaded the ant tarball already. On 8/19/05, Ivan Bogouchev / Иван Богушев <[EMAIL PROTECTED]> wrote: > Hi, > > I don't know if it's the same issue as with my Fedora Core 4, but

Re: BUILD FAILED: Could not create task... : if

2005-08-19 Thread JD Daniels
well heres a more useful reply... somewhere in your build is: You need the ant-contrib for the to work. http://ant-contrib.sourceforge.net/ JD JD Daniels wrote: sounds like you need to add the ant-contrib jar to your ant classpath JD AD Mar

Re: BUILD FAILED: Could not create task... : if

2005-08-19 Thread JD Daniels
sounds like you need to add the ant-contrib jar to your ant classpath JD AD Marshall wrote: Can anyone suggest a solution or reference for the following issue? I'm repeatedly getting this message from cocoon's build.sh under SuSE Linux 9.3: BUILD FAILED /home/am/bin/cocoon-2.1.7/tools/target

Re: Single installation for Windows & Linux on (Multi/)Dual-boot boxes?

2005-08-19 Thread Gerald Aichholzer
AD Marshall wrote: For multi-boot windows/linuxes boxes, can one install ant, cocoon, forrest and/or other xml.apache.org project packages *once* on windows vfat partitions and use them via linux or windows? I'm considering doing this, then moving all the shell scripts to /usr/bin (since they wo

idea: log utility

2005-08-19 Thread Joose Vettenranta
Hi, got an idea for what - perhaps - could be a nice tool for cocoon, atleast for production sites: Web frontend for exception handling. Idea is that when software get's exception and goes to process error (with stack trace and stuff) would also be recorded to database. then in web fron

Re: JXTemplate formatDate problem

2005-08-19 Thread Joose Vettenranta
Hi, I have in my softwares date in session which I use formatDate and it works, so your problem perhaps is to get that Date instance.. how about using ${java.util.Date.getInstance()} ? HTH, Joose Frank Taffelt kirjoitti 19.8.2005 kello 15:51: this was also one of the other ways i tried, bu

Re: Mo: BUILD FAILED: Could not create task...

2005-08-19 Thread Ivan Bogouchev / Иван Богушев
Hi, I don't know if it's the same issue as with my Fedora Core 4, but I wasn't able to build cocoon until I uninstalled ant's rpm, which seems to set some strange CLASSPATH. -- --van--

Re: SV: Antwort: SV: PDF Encryption and Cocoon

2005-08-19 Thread Upayavira
Tommy Skarateppen wrote: Thank you Holger! This was exactly what I was looking for! This really should be in the FOP serializer documentation (http://cocoon.apache.org/2.1/userdocs/serializers/pdf-serializer.html), anyone feel like creating a patch to the source file in src/documentation/xdo

Mo: BUILD FAILED: Could not create task...

2005-08-19 Thread AD Marshall
I'm completely baffled on this one. I'm likely missing something simply but i'm getting more confused as apache forrest and tomcat come into the installation picture. Please accept my apologies if this is way too long or naive. Grateful for any help - Andi This mail adds some info to my earlier

Re: Single installation for Windows & Linux on (Multi/)Dual-boot boxes?

2005-08-19 Thread Upayavira
AD Marshall wrote: For multi-boot windows/linuxes boxes, can one install ant, cocoon, forrest and/or other xml.apache.org project packages *once* on windows vfat partitions and use them via linux or windows? I'm considering doing this, then moving all the shell scripts to /usr/bin (since they wo

SV: Antwort: SV: PDF Encryption and Cocoon

2005-08-19 Thread Tommy Skarateppen
Thank you Holger! This was exactly what I was looking for! -tommy -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sendt: 19. august 2005 15:06 Til: users@cocoon.apache.org Emne: Antwort: SV: PDF Encryption and Cocoon http://wiki.apache.org/cocoon/FOPPDFEncryptio

Antwort: SV: PDF Encryption and Cocoon

2005-08-19 Thread holger . willenborg
http://wiki.apache.org/cocoon/FOPPDFEncryption?highlight=%28FOP%29 HTH Holger [EMAIL PROTECTED] schrieb am 19.08.2005 14:20:05: > Thanks for your reply, Upayavira. > > I don't think it's possible to put those options in the user config file. At > least as far as I understand the FOP documentat

Re: JXTemplate formatDate problem

2005-08-19 Thread Frank Taffelt
this was also one of the other ways i tried, but it didn't work. Can somebody confirm that this construct should work? If yes it's bug ! Joose Vettenranta wrote: Hi, try HTH, Joose Frank Taffelt kirjoitti 19.8.2005 kello 14:24: Marc Salvetti wrote: Hello, try the new version a

Re: JXTemplate formatDate problem

2005-08-19 Thread Joose Vettenranta
Hi, try HTH, Joose Frank Taffelt kirjoitti 19.8.2005 kello 14:24: Marc Salvetti wrote: Hello, try the new version also doesn't work: http://apache.org/cocoon/templates/jx/1.0";> ${sdf.format(now)} any other ideas ? -

SV: PDF Encryption and Cocoon

2005-08-19 Thread Tommy Skarateppen
Thanks for your reply, Upayavira. I don't think it's possible to put those options in the user config file. At least as far as I understand the FOP documentation: http://xml.apache.org/fop/configuration.html Only 4 options are allowed in the user config file, and none of these are of any help for

Re: JXTemplate formatDate problem

2005-08-19 Thread Marc Salvetti
... or maybe better, format your date in the fowscript function that call your jx template, and make it available from the template with cocoon.sendPage("the-jx-pipe", {"now" : formattedDate}) Marc Frank Taffelt a écrit : Marc Salvetti wrote: Hello, try value="${java.util.Calendar.

Re: JXTemplate formatDate problem

2005-08-19 Thread Marc Salvetti
You can use the i18n transformer and pass the parameter $now to your stylesheet like this : then in the xsl : pattern=''anything"> Marc Frank Taffelt a écrit : Marc Salvetti wrote: Hello, try value="${java.util.Calendar.getInstance().getTime()}"/> t

Re: JXTemplate formatDate problem

2005-08-19 Thread Frank Taffelt
Marc Salvetti wrote: Hello, try value="${java.util.Calendar.getInstance().getTime()}"/> the new version also doesn't work: http://apache.org/cocoon/templates/jx/1.0";> ${sdf.format(now)} any other ideas ? -

Re: JXTemplate formatDate problem

2005-08-19 Thread Marc Salvetti
Hello, try Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JXTemplate formatDate problem

2005-08-19 Thread Frank Taffelt
Hi, i have problems formating a given date with jxtemtplate in cocoon 2.1.7 here is my code : http://apache.org/cocoon/templates/jx/1.0";> ${sdf.format(now)} the first variant says "Cannot format given Object as a Date" , the second variant dumps an empty string. Someth