[SOLVED] (but hardcoded) Re: SQLtransformer encoding

2004-07-21 Thread gounis
On Wed, 21 Jul 2004 [EMAIL PROTECTED] wrote: i have solve my problem touching SQLTransformer.java and seting default encoding to UTF-8 is this a case for bugzilla or not? (must encoding be configurable from sitemap?) - /** * configure */ public void configure(Configuration

Re: Serialization encoding problem

2004-07-21 Thread gounis
try to use disable-output-escaping="yes" -- stavros On Wed, 21 Jul 2004, Z.Z. wrote: > Hi All, > > I use Cocoon 2.1.5.1 in Linux environment. Character set of my xmls is > utf-8. All of setting is utf-8 (web.xml, sitemap.xmap, xsls...) > When I see source of my generated htmls, character

Re: Serialization encoding problem

2004-07-21 Thread Upayavira
Ray Allis wrote: Z.Z. wrote: Hi All, I use Cocoon 2.1.5.1 in Linux environment. Character set of my xmls is utf-8. All of setting is utf-8 (web.xml, sitemap.xmap, xsls...) When I see source of my generated htmls, character set is utf-8. But in body all of accented char is made by acuted (á ...).

Generating JavaDoc JavaDoc excecution build failed

2004-07-21 Thread beyaNet
Hi, I am currently trying to build cocoon + war file on windows 2000 advanced server utilising j2sdk1.4.2_05. I am using tomcat 5.0.27 and cocoon 2.1.5.1. The problem occurs when the build gets to building the javadocs and then bombs out! It seem that there is an blocks-build.xml:544: Java

Re: Accessing authentication/ID through JX Generator

2004-07-21 Thread Derek Hohls
Nick FWIW, I am using: ${parameters.getParameter('userID')} in my JXTemplates to get the userID, after it has been passed as a parameter in the pipelines. Derek >>> [EMAIL PROTECTED] 2004/07/22 05:16:44 AM >>> Hi everybody, I got stuck trying to pass the User Name into a Portal Engine pipelin

cannot get DELI to work

2004-07-21 Thread Stefan Pietschmann
Hi,   at work we’re working with one installation of Cocoon – the whole cocoon folder is a CVS repository we’re all checking out into Tomcat.   Now I need to get DELI to work. The strange thing about this is,that for my co-worker our DELI sample works, but I get „DELI is switched off“!

simple flowscript array question

2004-07-21 Thread Greg Weinger
Hi, I am simply trying to create a javascript array in flowscript. The wiki and docs are peppered with such examples: var array = ["one","two","three"]; Or: var array = Array(3); array[0] = "blah"; For me, trying to create the array throws a: org.mozilla.javascript.EvaluatorException:

[esql] CForm textarea + ESQL=cannot save character ' in the database

2004-07-21 Thread milkwaybridge
There are some input areas in the page, users input will be saved in the database. I use CForm and ESQL, turned out that user cannot input character ' , because ESQL use it to quote values insert into tablename (field1, field2) values ('value1','value2')  now I don't know what to do Thanks

Re: Validation Error Alert

2004-07-21 Thread Joose Vettenranta
Hi. Use I18N-transformer to change the name of the field. Look into samples/block/forms/messages/ -directory and samples/block/forms/sitemap.xmap for how to use it. - Joose 22.7.2004 kello 06:33, <[EMAIL PROTECTED]> kirjoitti: I get an alert on clicking the exclamation mark in a form, when there

RE: Set Validation Error

2004-07-21 Thread anand.vasudevan
Yes the if condition evaluates to true and the test method does get called. -Original Message- From: Bruno Dumon [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 4:47 PM To: [EMAIL PROTECTED] Subject: RE: Set Validation Error And are you sure that the test method gets called, thus

Re: Is running Cocoon on Tomcat 5 advisable?

2004-07-21 Thread Brent Johnson
I'll give that a try. Im currently testing 2.1.5 on my development server. Planning on a production move this weekend. Thanks, - Brent On Wed, 21 Jul 2004 15:31:06 -0600 (CST), Antonio Gallardo <[EMAIL PROTECTED]> wrote: > Brent Johnson dijo: > > I'm running a production site under Tomcat 5 wi

Validation Error Alert

2004-07-21 Thread anand.vasudevan
Hi,   I get an alert on clicking the exclamation mark in a form, when there is a validation error for a required field widget. The alert has a message general.field-required. Is it possible that I can change this alert message. I want this error message only for required fields. The oth

Accessing authentication/ID through JX Generator

2004-07-21 Thread Nick
Hi everybody, I got stuck trying to pass the User Name into a Portal Engine pipeline. The pipeline looks like this:

Re: Serialization encoding problem

2004-07-21 Thread Z.Z.
Hi All, 2004. július 22. 01.10 dátummal Ray Allis ezt írta: > Z.Z. wrote: > >Hi All, > > > >I use Cocoon 2.1.5.1 in Linux environment. Character set of my > > xmls is utf-8. All of setting is utf-8 (web.xml, sitemap.xmap, > > xsls...) When I see source of my generated htmls, character set > > is ut

Re: Serialization encoding problem

2004-07-21 Thread Ray Allis
Z.Z. wrote: Hi All, I use Cocoon 2.1.5.1 in Linux environment. Character set of my xmls is utf-8. All of setting is utf-8 (web.xml, sitemap.xmap, xsls...) When I see source of my generated htmls, character set is utf-8. But in body all of accented char is made by acuted (á ...). Accented chars

Re: no caching whit fo2pdf

2004-07-21 Thread Neil Bacon
Check out the thread starting at: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106075579802303&w=2 This worked perfectly: > I'm about to try another work around, that is to include the image as inline svg with > and thus avoid unwanted caching. Regards, Neil. Andrea Massimiliani wrote:

Re: Is running Cocoon on Tomcat 5 advisable?

2004-07-21 Thread Antonio Gallardo
Brent Johnson dijo: > I'm running a production site under Tomcat 5 with Cocoon 2.1.4 and it > seems fine. The only problem I've had is that on two separate > occasions Tomcat (or Cocoon or something) started serving a simple > blank page with only a body tag. > > Don't know what caused this.. rebo

Re: Is running Cocoon on Tomcat 5 advisable?

2004-07-21 Thread Brent Johnson
I'm running a production site under Tomcat 5 with Cocoon 2.1.4 and it seems fine. The only problem I've had is that on two separate occasions Tomcat (or Cocoon or something) started serving a simple blank page with only a body tag. Don't know what caused this.. rebooting Tomcat fixed the problem.

Serialization encoding problem

2004-07-21 Thread Z.Z.
Hi All, I use Cocoon 2.1.5.1 in Linux environment. Character set of my xmls is utf-8. All of setting is utf-8 (web.xml, sitemap.xmap, xsls...) When I see source of my generated htmls, character set is utf-8. But in body all of accented char is made by acuted (á ...). Accented chars In head sec

Re: Is running Cocoon on Tomcat 5 advisable?

2004-07-21 Thread Ugo Cei
Il giorno 21/lug/04, alle 17:42, David Swearingen ha scritto: I'm running Cocoon at my hosting provider who has Tomcat 5 already installed.  So for that reason, and to take advantage of any new Tomcat 5 features, I'd like to run Cocoon on 5.  I just need to know if this is recommended -- are the

Re: Portal+Woody memory problem

2004-07-21 Thread Sebastian
Hi :) I think I tricked myself once again myself. The Tomcat had only 64 MBS availably. That did not suffice of course:) Therefore I increased the storeroom to 800 MB RAM. That resulted in the consequence, that the portal functioned very well and proved a storeroom consumption to between 50 and

"java.net.MalformedURLException: Path . does not start with a "/" character"

2004-07-21 Thread Rocky S
Hi,   Few days back I have upgraded Tomcat from 4.1.29 to 5.0.25 ...   When I deploy the war file in Tomcat 5.0.25 , and tried to login into the web page using username and password , the control passes over to next page and in that page links are there to Edit or Delete a User , when i am clicking

Is running Cocoon on Tomcat 5 advisable?

2004-07-21 Thread David Swearingen
I'm running Cocoon at my hosting provider who has Tomcat 5 already installed.  So for that reason, and to take advantage of any new Tomcat 5 features, I'd like to run Cocoon on 5.  I just need to know if this is recommended -- are there any problems doing this?  I couldn't find any literature addre

solved: Re: unable to build 2.1.5.1 on linux Fedora Core 2

2004-07-21 Thread gian paolo ciceri
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gian paolo ciceri wrote: | Hello all, | I'm sorry but I'm not able to build cocoon on my Gnu/Linux Fedora Core 2 | Well, I'm happy to reply to myself - it works. It was only a matter to remove JPackage ant and any settings I've done to use other ants. T

Re: xsp and producing File Not Found

2004-07-21 Thread Yury Mikhienko
On Sun, 20 Jun 2004 19:48:54 +0200 Joerg Heinicke <[EMAIL PROTECTED]> wrote: > On 18.06.2004 09:53, John L. Webber wrote: > > > Have you tried "response.setStatus(404);"? > > Don't do it that way, do it the Cocoon way. > > >> with you can catch error, if it happens.. say > >> map:read won't f

map:generate Session Problem

2004-07-21 Thread Merico Raffaele
Hi I'm using Cocoon 2.1.5.1 under Tomcat 4.0.4. I have a servlet tixj.VE2000i does a login and starts a session. When I try to invoke the servlet again to generate some XML data using the following sitemap it always has an empty session. For your support many thanks in advanc

SQLtransformer encoding

2004-07-21 Thread gounis
hi i have try to use sqltransformer with xml files thas have greek content and i get the error: Message: SAXException while streaming DOM node to SAX: org.xml.sax.SAXException: Attempt to output character of integral value 949 that is not represented in specified output encoding of ISO-88

Re: ojb/jdo and 1:n collection [SOLVED]

2004-07-21 Thread Joose Vettenranta
I had that collection in wrong class =) - Joose 21.7.2004 kello 18:09, Joose Vettenranta kirjoitti: I have in package.jdo (and enhanced that with binaries): I have in repository.xml: auto-retrieve

Re: Returned action map in XSP

2004-07-21 Thread Olivier Billard
Oscar Picasso wrote: --- Olivier Billard <[EMAIL PROTECTED]> wrote: Hi Oscar, You can use a request attribute. -- Olivier Billard Oscar Picasso wrote: Hi, Is there a way to get, inside an XSP page, the returned map from an action ? I know that we can pass the individual map elements as parameters,

Bug in SessionPropagatorAction?

2004-07-21 Thread Sal Mangano
As I understand the SessionPropagatorAction you can provide defaults when you congigure it in sitemap like so: 0 default However, if you look at the code for SessionPropagatorAction it makes no sense because it will result in an exception being thrown if a default specified like a

ojb/jdo and 1:n collection

2004-07-21 Thread Joose Vettenranta
I have in package.jdo (and enhanced that with binaries): I have in repository.xml: auto-retrieve="true" auto-update="false" auto-delete="true"> And now this happens when I'm trying to

cannot execute flowscript

2004-07-21 Thread Michael Meyer
hi, I am trying the flowscript example from samples/blocks/forms/registration. I am running cocoon 2.1.5, BEA Weblogic 6.1 with JDK 1.3.1 (Win) and Weblogic 8.1 with JDK 1.4.1 (linux). When I try to access the sample, I got the follwing error : org.apache.cocoon.ProcessingException: Could not r

no caching whit fo2pdf

2004-07-21 Thread Andrea Massimiliani
Hi, I have done a trasformation from XML to PDF through the Serializer fo2pdf. In the pdf file a different image should appear everytime it is loaded. Instead the same image is always loaded (the first) even if this is fisically deleted by the hard disk. To have the new image loaded i must stop

RE: Accessing mod-db Autoincremented Key in Sitemap

2004-07-21 Thread Jacob Arnold
Okay, I figured this one out myself. I just had to add request-attr when declaring the mod-db add action and change the parameter to include the table name and array position: J -Original Message- From: Jacob Arnold Sent: Tuesday, July 20, 2004 8:12 AM To: [EMAIL PROTECTED] Subject:

solved: Re: unable to build 2.1.5.1 on linux Fedora Core 2

2004-07-21 Thread gian paolo ciceri
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gian paolo ciceri wrote: | Hello all, | I'm sorry but I'm not able to build cocoon on my Gnu/Linux Fedora Core 2 | Well, I'm happy to reply to myself - it works. It was only a matter to remove JPackage ant and any settings I've done to use other ants. T

Re: Returned action map in XSP

2004-07-21 Thread Oscar Picasso
--- Olivier Billard <[EMAIL PROTECTED]> wrote: > Hi Oscar, > > You can use a request attribute. > > -- > Olivier Billard > > Oscar Picasso wrote: > > > Hi, > > > > Is there a way to get, inside an XSP page, the returned map from an action > ? > > > > I know that we can pass the individual map

Re: Cocoon and Midlets: It works!

2004-07-21 Thread Alexander Beening
Thanks a lot, Derek for this effort.ç I am busy to see how the Wiki works and you'll see that the contents will be enhanced as I find out more details. Finally I would create an example project with explanation which can serve as a template for our community. Good luck and for more info you'r

[CForms] using flowscript without continuation

2004-07-21 Thread taabpr
Hi all, I cannot/don't want to use continuation (internet ), but want to use cforms with js scripts together. For now I do: In sitemap:

Re: Cocoon and Midlets: It works!

2004-07-21 Thread Derek Hohls
Alexander Please see the page: http://wiki.apache.org/cocoon/Midlets and make any changes necessary. Derek >>> [EMAIL PROTECTED] 2004/07/21 09:37:48 AM >>> Hi, Derek I am happy to see that other people found this info useful. To answer your questions: 1. No problem at all and thanks a lot

RE: Set Validation Error

2004-07-21 Thread Bruno Dumon
And are you sure that the test method gets called, thus that your if condition: > if(formObjWid.getSubmitWidget().equals(formObjWid.widName)) > test(); evaluates to true? On Wed, 2004-07-21 at 13:13, [EMAIL PROTECTED] wrote: > Sorry, that was a typo. > I do call the method test with formW

RE: Set Validation Error

2004-07-21 Thread anand.vasudevan
Sorry, that was a typo. I do call the method test with formWidObj. In the foll method call formWidObj.widName.onActivate = test(formWidObj); The method test would be like so: - test(formWidObj) { return function() { formWidObj.widName.setValidationError("Error")'

unable to build 2.1.5.1 on linux Fedora Core 2

2004-07-21 Thread gian paolo ciceri
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, I'm sorry but I'm not able to build cocoon on my Gnu/Linux Fedora Core 2 Trying ./build.sh I take BUILD FAILED /home/gpciceri/works/setMediaCms/src/cocoon-2.1.5.1/tools/targets/compile-build.xml:172: The following error occurred while exe

Re: Set Validation Error

2004-07-21 Thread Bruno Dumon
On Tue, 2004-07-20 at 13:53, [EMAIL PROTECTED] wrote: > Hi, > > I want to set a Validation Error for a form widget. I am able to do it > when I use formWidObj.widName.onActivate = test(formWidObj); > > > But when I use the following I am unsuccessful in setting the validation > error. > > if(fo

Re: Portal+Woody memory problem

2004-07-21 Thread Bruno Dumon
On Tue, 2004-07-20 at 23:47, Sebastian Gnoyke wrote: > Hi to all, > > it showed that there might be a problem with the use of Woody-Coplets > (CForms). I built a portal with the aid of the Portal-Engine which > consists of 3 navigation tiers. The last navigation tier is a Tab-groin. > There are

map:generate -> servlet -> empty session problem

2004-07-21 Thread Merico Raffaele
Hi I'm using Cocoon 2.1.5.1 under Tomcat 4.0.4. I have a servlet tixj.VE2000i does a login and starts a session. When I try to invoke the servlet again to generate some XML data using the following sitemap it always has an empty session. For your support many thanks in advanc

Re: [CForm] fd:repeater-action I18N problem

2004-07-21 Thread Bruno Dumon
On Tue, 2004-07-20 at 23:55, Benoit Deshaies wrote: > I think I found a problem with the repeater-action widget and I18N. The > final rendered page shows the I18N key name instead of the translated > value. In my form, I define the widget like so: > > >button.add > > > In my sitemap, I gene

Re: Cocoon and Midlets: It works!

2004-07-21 Thread Derek Hohls
Alexander I'll put the info on; but being a Wiki site, anyone can update and make improvements! I take it from your reply that your site is not open to viewing - I do not want to do a project like this myself (yet) but it would be great to demo to colleagues (and possibly clients) to show that t

Re: Set Validation Error

2004-07-21 Thread Olivier Billard
[EMAIL PROTECTED] wrote: Hi Olivier, Even when I give a string it works. Sorry, My fault, I looked at the woody classes, and that's true that the CForms flowscript wrapper can take an Object with setValidationError. But my doubt was whether setValidationError works when I use the below code to g

RE: Set Validation Error

2004-07-21 Thread anand.vasudevan
Hi Olivier, Even when I give a string it works. But my doubt was whether setValidationError works when I use the below code to get the submit event of the form and perform validation --> if(formObjWid.getSubmitWidget().equals(formObjWid.widName)) test(); For me the above method didn't w

Re: Returned action map in XSP

2004-07-21 Thread Olivier Billard
Hi Oscar, You can use a request attribute. -- Olivier Billard Oscar Picasso wrote: Hi, Is there a way to get, inside an XSP page, the returned map from an action ? I know that we can pass the individual map elements as parameters, but I would like to have a more generic XSP page that would process

Re: Set Validation Error

2004-07-21 Thread Olivier Billard
Hi Anand, The widget.setValidationError() takes a ValidationError object, and not a string [1]. You should try this : formWidObj.widName.setValidationError( new Packages.org.apache.cocoon.woody.datatype.ValidationError("Error")); [1] http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/f

Re: How do I find out why DOM parser fails

2004-07-21 Thread Olivier Billard
No trace on the logs ? Colin Paul Adams wrote: "Olivier" == Olivier Billard <[EMAIL PROTECTED]> writes: Olivier> Hi Colin, You can catch thrown exceptions and log it. A Olivier> simple Olivier> try { ... } catch (exception) { print("Error :" + Olivier> exception.message); } final

Re: Include (like apache) in cocoon.xconf

2004-07-21 Thread Stephan Coboos
Yves Vindevogel wrote: Hi, Is there a way to use an Include file in my cocoon.xconf ? I want to split my datasources into a seperate file and include it. Kind of the way Apache2 works ( Include /thisfile/ ) The xml "include" of entities should work for files, too! Example (not tested!): ]> ...

Re: ojb + forms = I can't get it to work [SOLVED]

2004-07-21 Thread Joose Vettenranta
After 2 days of trying different options and stuff, I found the solution! Solution is that connection has to be defined to have platform="Postgresql" and subprotocol="postgresql" and then I can use autoincrement="true" field thingie! Here is the complete repository.xml for those strugling o

Re: Cocoon and Midlets: It works!

2004-07-21 Thread Alexander Beening
Hi, Derek I am happy to see that other people found this info useful. To answer your questions: 1. No problem at all and thanks a lot for the offer. I am new to the Wiki, so if you could place it there, we save time. On the other hand, I am improving the solution and certainly I'll have a more