Re: Exiting flowscript

2004-07-23 Thread Colin Paul Adams
Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg On 04.07.2004 13:28, Colin Paul Adams wrote: Colin How can I get out of the flowscript, and go to another Colin cocoon URL? Joerg I guess somewhere there is a Joerg cocoon.sendPage(success-page); at the end of the form

Pipeline error

2004-07-23 Thread Scott Yeadon
Hello, I have the following entry in my sitemap: map:match pattern=DC map:generate type=myGenerator map:parameter name=parm1 value=value1/ map:parameter name=parm2 value=value2/ map:parameter name=parm3 value=value3/ /map:generate map:transform type=xslt src=xsl/filter.xsl/

Re: Unfathomable behaviour from flowscript

2004-07-23 Thread Ugo Cei
Il giorno 23/lug/04, alle 00:14, Colin Paul Adams ha scritto: What is the proper way to drop off the end of the flowscript, and display another page? cocoon.sendPage(whatever); return; -- Ugo Cei - http://beblogging.com/ smime.p7s Description: S/MIME cryptographic signature

Re: Unfathomable behaviour from flowscript

2004-07-23 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 23/lug/04, alle 00:14, Colin Paul Adams ha scritto: What is the proper way to drop off the end of the flowscript, and display another page? Ugo cocoon.sendPage(whatever); return; This is of no use to me, as whatever is

Re: Dynamic CForms cases [was: cforms : show and hide widgets]

2004-07-23 Thread Joerg Heinicke
On 19.07.2004 10:30, Robin Wyles wrote: There is a union widget available in CForms. I already thought about implementing the car selector sample via union widgets, but that's a bit difficult as the cases are dynamic though not impossible: Have you any ideas how one might go about making cases

Re: CForms - styling read only fields

2004-07-23 Thread Joerg Heinicke
On 19.07.2004 15:54, Derek Hohls wrote: I was unable to get the fd:output to work... What's the problem with it? What I have done is to add a class styling to the fields I want in the form template, so: To give a greyed out effect... it would be really have been better if read-only fields were

Re: Unfathomable behaviour from flowscript

2004-07-23 Thread Ugo Cei
Colin Paul Adams wrote: Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 23/lug/04, alle 00:14, Colin Paul Adams ha scritto: What is the proper way to drop off the end of the flowscript, and display another page? Ugo cocoon.sendPage(whatever); return; This is of no use to

Re: cocoon url

2004-07-23 Thread [EMAIL PROTECTED]
beyaNet wrote: Hi, I am running cocoon version 2.1.5.1 on tomcat 5.027 hooked off apache 2.0.50. At the moment, with mod_jk2 I have my url as http://www.mysite.com/cocoon/nextlevel. how do I adjust the settings in apache so that I can have http://www.mysite.com/nextlevel 1. make

Re: Unfathomable behaviour from flowscript

2004-07-23 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Colin Paul Adams wrote: Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 23/lug/04, alle 00:14, Colin Paul Adams ha scritto: What is the proper way to drop off the end of the flowscript, and display another page? Ugo

Re: Nested selection using CForms

2004-07-23 Thread Joerg Heinicke
On 20.07.2004 08:43, Scott Yeadon wrote: Is there any CForm widget (or widget combination) that would allow me to create the equivalent of a nested menu/selection-list. For example if I had a list of items dog, cat, bird when the user highlighted one of these it would show a further list for

Re: Styling CForms drop-down list

2004-07-23 Thread Joerg Heinicke
On 20.07.2004 09:04, Derek Hohls wrote: A simple question... but I am stuck! I am trying to style a drop-down list, using: fi:styling list-type=listbox listbox-size=1 list-size=13/ If I change the listbox-size to anything other than 1, then it changes from a drop-down list to a box showing 'n'

Re: Pipeline error

2004-07-23 Thread Jorg Heymans
obviously you're not generating the XML like you think you are. Doublecheck for null on creation of all elements, run cocoon.sh servlet-debug and attach with your IDE. Should be trivial to find out exactly where it is failing. Caused by: java.lang.NullPointerException at

Re: Hello

2004-07-23 Thread Antonio Gallardo
This is the origin IP of this mails. Seems like the iser is infected. I also got a message to my apache address from Pier from the same IP: http://www.whois.sc/80.55.87.162 I really don't care, because I don't use the MS Wirus Container at all, but for those using it, I think it will be a good

Re: Hello

2004-07-23 Thread Antonio Gallardo
Thorsten Scherler dijo: Antonio Gallardo wrote: This is the origin IP of this mails. Seems like the iser is infected. I also got a message to my apache address from Pier from the same IP: http://www.whois.sc/80.55.87.162 I really don't care, because I don't use the MS Wirus Container at all,

Re: CForms - styling read only fields

2004-07-23 Thread Derek Hohls
Joerg I will look at fd:output again; but I had problems when it was a required field (got errors) As for the form input readonly attribute, please see: http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html I quote: Currently only MSIE recognizes either of these attributes. and It's

Re: Styling CForms drop-down list

2004-07-23 Thread Derek Hohls
Well, it does *not* work from the no. of items; a list with 9 items shows all, but one with 13 only shows 10 In GUI controls, one can normally control this behaviour... but how in CForms? [EMAIL PROTECTED] 2004/07/23 09:27:46 AM On 20.07.2004 09:04, Derek Hohls wrote: A simple

Re: Hello

2004-07-23 Thread Ugo Cei
Antonio Gallardo wrote: There is bugzilla for this. Why we need to distribute a file in a mail list? Because it often happens that when a user has a problem, the reply is of the kind: please send to the list a copy of the {XML,XSP,XSLT,flowscript} you are using so that we can more easily

Flowscript errors when invoking the debugger (was: Unfathomable behaviour from flowscript)

2004-07-23 Thread Colin Paul Adams
Colin == Colin Paul Adams [EMAIL PROTECTED] writes: Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Colin Paul Adams wrote: Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 23/lug/04, alle 00:14, Colin Paul Adams ha scritto: What is the proper way to drop off the end of

Re: cocoon url

2004-07-23 Thread gounis
hi andrew take a look here -stavros On Thu, 22 Jul 2004, beyaNet wrote: Hi, I am running cocoon version 2.1.5.1 on tomcat 5.027 hooked off apache 2.0.50. At the moment, with mod_jk2 I have my url as http://www.mysite.com/cocoon/nextlevel. how do I adjust the settings in apache so that

Re: Hello

2004-07-23 Thread David Crossley
Ugo Cei wrote: Antonio Gallardo wrote: There is bugzilla for this. Why we need to distribute a file in a mail list? Because it often happens that when a user has a problem, the reply is of the kind: please send to the list a copy of the {XML,XSP,XSLT,flowscript} you are using so that we

Re: Accessing authentication/ID through JX Generator

2004-07-23 Thread Derek Hohls
ng You say: Notice the authentication action, without it ID will not be available. What you can also do is store the userID in the session context at the point of login; its then available even when the map:act type=auth-protect is not used. The only trick is to remember to reset it when the

Re: Linking SQL Transformer and XSL Transformer

2004-07-23 Thread Derek Hohls
Olivier I still disagree - the SQLtransfomer is a much better alternative than XSP-ESQL for simple cases; its possible that there are very complex cases that may not be handled but, even then, the JXTemplateGenerator will give you a lot of additional flexbility to solving such problems. Derek

Re: Hello

2004-07-23 Thread Thorsten Scherler
David Crossley wrote: Ugo Cei wrote: Antonio Gallardo wrote: There is bugzilla for this. Why we need to distribute a file in a mail list? Because it often happens that when a user has a problem, the reply is of the kind: please send to the list a copy of the

Re: Accessing authentication/ID through JX Generator

2004-07-23 Thread Olivier Billard
Derek Hohls wrote: ng You say: Notice the authentication action, without it ID will not be available. What you can also do is store the userID in the session context at the point of login; its then available even when the map:act type=auth-protect is not used. The only trick is to remember to

Re: Linking SQL Transformer and XSL Transformer

2004-07-23 Thread Olivier Billard
Hi Derek, Derek Hohls wrote: Olivier I still disagree - the SQLtransfomer is a much better alternative than XSP-ESQL for simple cases; its possible that there are very complex cases that may not be handled but, even then, the JXTemplateGenerator will give you a lot of additional flexbility to

Re: Accessing authentication/ID through JX Generator

2004-07-23 Thread Derek Hohls
Could you please elaborate on the use of a session-expiration-aware attribute. Thanks Derek [EMAIL PROTECTED] 2004/07/23 11:07:39 AM Derek Hohls wrote: ng You say: Notice the authentication action, without it ID will not be available. What you can also do is store the userID in the

Re: Accessing authentication/ID through JX Generator

2004-07-23 Thread Olivier Billard
Derek Hohls wrote: Could you please elaborate on the use of a session-expiration-aware attribute. Yes of course, [1] explains my goal. I implemented a class inheriting from [2] HttpSessionBindingListener interface and added it as a session attribute. So when the session is killed (manually or by

Using Cocoon with Tomcat 5

2004-07-23 Thread news
Hello List, I m using Cocoon with Tomcat 5 on an Windos XP se 1 system. I ve Java j2sdk1.4.2_04 installed. I ve put the Cocoon.war file into the webapps folder of Tomcat. When starting Tomcat the war file is extracted into a new Cocoon folder automaticly. But somehow Cocoon does not run. in the

Re: Flowscript errors when invoking the debugger

2004-07-23 Thread Colin Paul Adams
Colin == Colin Paul Adams [EMAIL PROTECTED] writes: Colin I have just discovered the flowscript debugger - so I Colin decided to see for myself what was happening. Colin However, when I try this, I press Step out from the first Colin function. I get: Colin

Re: Using Cocoon with Tomcat 5

2004-07-23 Thread Alexander Beening
Hey, we have the same problem here! We use Cocoon 2.0, tomcat 5.0.27 on Windows 2000 SP4 so it dhould not depend on Windows XP. We are ttrying now with Cocoon 2.1 Let's see if we can share the probles and the solution. Until soon, Alexander

Binding of boolean value (CForms)

2004-07-23 Thread Katharina Geissler
Hi there, if got a problem with the binding of an boolean value. It displays well and also sets the attribute of the checkbox correctly, but when I'm trying to send the form, I get the following error: org.apache.commons.jxpath.JXPathException: Exception trying to create xpath

Re: Binding of boolean value (CForms)

2004-07-23 Thread Olivier Billard
Hi Katharina, Try to add the checkbox attribute in the on-insert-row : fb:on-insert-row fb:insert-node koordination-lernaktivitaeten-phase id= row-state=new bereitstellung-instruktion checkbox= / /koordination-lernaktivitaeten-phase /fb:insert-node

Re: Binding of boolean value (CForms)

2004-07-23 Thread Katharina Geissler
Hi Olivier, I've already tried that - it doesn't make any difference. It seems that this really happens because the booleanfield is inside a repeater! As soon as i put the booloeanfield outside the repeater it works, so maybe this is a bug? I can't see what else I could be doing wrong. Or

Re: cocoon url

2004-07-23 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

removing the pi

2004-07-23 Thread Lionel Crine
Hi all, I'like to remove the pi (?pi ?) in my documents with SAX. Is it possible ? Otherwise, How can I do that ? Thanks. -- Lionel CRINE Ingénieur Systèmes Documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.46.06.90

Re: cocoon url

2004-07-23 Thread [EMAIL PROTECTED]
Rocky S wrote: 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 which war file? the web page using username and password , the control passes over to which web page? BTW: Don't hijack threads! --

Re: Binding of boolean value (CForms)

2004-07-23 Thread Olivier Billard
Re-reading you binding, I think you've missed a koordination-phasen-beginn element, because that what the xpath engine is looking for : fb:on-insert-row fb:insert-node koordination-lernaktivitaeten-phase id= row-state=new koordination-phasen-beginn

JX expression - strange jx:if behaviour

2004-07-23 Thread Gunter D'Hondt
Hi, I've got the following JX-code inside my xml: jx:set var=savebuttonvisible value=#{getAttribute($request,'savebutton')}/ Value=jx:out value=${savebuttonvisible}/ jx:if test=${savebuttonvisible} button /jx:if And the following outcome: Value=false button I've

Re: forward to another servlet (on another machine)

2004-07-23 Thread Andreas Hartmann
Gunter D'Hondt wrote: Hi, I've got the following situation: if the user requests http://webserver/getpdf/1 then I need to call a webservice on http://appserver/pdfServlet?id=1. This webservice doesn't send XML back but directly the PDF-document. I can ofcoz easily do this: map:match

RE: Coplet internationalization (new Portal Engine)

2004-07-23 Thread JACOB, ERIC
smime.p7m Description: S/MIME encrypted message

Re: Binding of boolean value (CForms)

2004-07-23 Thread Katharina Geissler
Thank you! :)) That workes! And now I also understand what fb:insert-node really does! I thought I only have to put the widgets in there that are written into my data-file (backend) but you have to tell the binding the whole path where to put the widgets. Now that I know, it sounds very logical

Re: forward to another servlet (on another machine)

2004-07-23 Thread Gunter D'Hondt
Andreas, Yep that did it! Thnx! PS: mime-type is application/pdf Regards, Gunter Andreas Hartmann [EMAIL PROTECTED] Sent by: news [EMAIL PROTECTED] 23/07/2004 14:02 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: forward to another servlet (on another

CForms flow question

2004-07-23 Thread Timur Izhbulatov
Hi all! I have two functions that handle two corresponding pipelines. They use the same form model, template and binding definitions and the same pipeline to show the form (please, see attached files for details). The frist function works almost as expected but the second one fails when it

Re: JX expression - strange jx:if behaviour

2004-07-23 Thread Bruno Dumon
On Fri, 2004-07-23 at 13:47, Gunter D'Hondt wrote: Hi, I've got the following JX-code inside my xml: jx:set var=savebuttonvisible value=#{getAttribute($request,'savebutton')}/ Value=jx:out value=${savebuttonvisible}/ jx:if test=${savebuttonvisible}

RE: Cocoon XSLTC

2004-07-23 Thread Simon King
Following further investigation i've now pinpointed the problem. My stylesheet contains document($xmlfile) calls where $xmlfile is passed in as a parameter to the transform. The first call to document() is inside the count() function, and looks something like: xsl:when

Re: Serialization encoding problem

2004-07-23 Thread Zidarics Zoltan
Hi All, 2004. július 22. 08.21 dátummal Upayavira ezt írta: 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

Re: JX expression - strange jx:if behaviour

2004-07-23 Thread Gunter D'Hondt
Bruno, Indeed, jx:if test=#{$savebuttonvisible='true'} finally did the trick! (cross # and single quotes ' are needed) Regards, Gunter Bruno Dumon [EMAIL PROTECTED] 23/07/2004 14:44 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: JX _expression_ -

Re: Serialization encoding problem

2004-07-23 Thread Zidarics Zoltan
Hi All, Sorry it doesn't help me :-( 2004. jlius 22. 08.32 dtummal ezt rta: try to use disable-output-escaping=yes xsl:value-of select=. 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

Re: Serialization encoding problem

2004-07-23 Thread Zidarics Zoltan
2004. július 22. 08.21 dátummal Upayavira ezt írta: Have you set the encoding in the definition of your serializer (at the top of the sitemap)? yes: map:serializer name=html mime-type=text/html; charset=UTF-8

Antw: Re: Using Cocoon with Tomcat 5

2004-07-23 Thread Martin Geissler
Hello, I got a similar zip ... ecxeption on windows xp home sp1. java jdk 1.4.2 cocoon 2.1.5 tomcat 5.0.25 I dont remember exactly, but I think ist was a missing empty folder in one of the blocks. I got some warning on the build. with jetty it works fine, but not with tomcat. After I added the

Re: removing the pi

2004-07-23 Thread Leszek Gawron
Lionel Crine wrote: Hi all, I'like to remove the pi (?pi ?) in my documents with SAX. Is it possible ? Otherwise, How can I do that ? Thanks. I think it should be possible via a custom transformer that spits everything it gets except for PI -- Leszek Gawron

Re: removing the pi

2004-07-23 Thread Lionel Crine
This is what I did but I thought already exist. Leszek Gawron wrote: Lionel Crine wrote: Hi all, I'like to remove the pi (?pi ?) in my documents with SAX. Is it possible ? Otherwise, How can I do that ? Thanks. I think it should be possible via a custom transformer that spits everything it

Re: removing the pi

2004-07-23 Thread Upayavira
Lionel Crine wrote: This is what I did but I thought already exist. All you really need is an XSLT with a single match: xsl:match pattern=/|*|@*|text()|comment() xsl:copy xsl:apply-templates select=*|@*|text()|comment()/ /xsl:copy /xsl:match It is an 'identity' transform, but it excludes the

Re: Serialization encoding problem

2004-07-23 Thread Upayavira
Zidarics Zoltan wrote: 2004. július 22. 08.21 dátummal Upayavira ezt írta: Have you set the encoding in the definition of your serializer (at the top of the sitemap)? yes: map:serializer name=html mime-type=text/html; charset=UTF-8

Re: Serialization encoding problem

2004-07-23 Thread [EMAIL PROTECTED]
Zidarics Zoltan wrote: Hi All, Sorry it doesn't help me :-( What's the reason for wanting to use HTML serializer (instead of XHTML), Do you definitely need empty elements like img src=... instead of img src=... /? I have also tried several times to get real Unicode characters from HTML

Re: Hello

2004-07-23 Thread Tim Larson
On Fri, Jul 23, 2004 at 10:05:37AM +0200, Thorsten Scherler wrote: snip the relevant text :) / Anyway, every user and dev should use *nix or Mac systems anyway :) LOL. If somebody is using MS products that is his/her personal problem ;-). LOL (Only slightly tongue in cheek:) Well, they could

Caching DOM

2004-07-23 Thread Alan
I'm generating reports off of a 4mb xml document. Even after upping the freememory and heapsize parameters, performance is disappointing. My pipeline starts with the big document, transforms it to a different format, just as big, then it will filter out smaller documents,

help NPE when running from WAR

2004-07-23 Thread Mark Lundquist
Hi, I have a Cocoon app that runs fine from a webapp directory, but takes an NPE when deployed from a WAR file. It starts up fine, the problem occurs when servicing a request. This is Cocoon 2.1.5 + Jetty 4.2.15. Here's the stack trace: x-tad-biggerjava.lang.NullPointerException at

map:redirect-to...

2004-07-23 Thread Sonny Sukumar
Hey guys, I'm having a strange problem with map:redirect-to, where it doesn't seem to work right when I use the cocoon:/ protocol. Here's my example code: map:match pattern=secure/doTest map:act type=perform-test !-- Test succeeded. -- map:redirect-to uri=cocoon:/showTestSucceededPage/

OJB problem

2004-07-23 Thread Joose Vettenranta
Hi, I'm experiment with OJB and cocoon and ended up with odd result. Is this cocoon ojb block problem or is there something wrong with OJB or is there something wrong with my setup? Everything should be listed here: http://joose.iki.fi/ojb/ Thanks, Joose -- Always remember that you are unique,

Re: Serialization encoding problem

2004-07-23 Thread Z.Z.
Hi All, 2004. jlius 23. 17.09 dtummal [EMAIL PROTECTED] ezt rta: What's the reason for wanting to use HTML serializer (instead of XHTML), Do you definitely need empty elements like img src=... instead of img src=... /? I have also tried several times to get real Unicode characters from HTML

[sql] Does sql transformer has any tag against Injection attack?

2004-07-23 Thread milkwaybridge
in esql, esql:parameter does this job, what does sql transformer have ? Thanks for your information!