Q: JSP troubles

2002-08-26 Thread Raúl Wild-Spain
Hi! in my cocoon the exemples (server section) for JSP (JSP Generator and JSP Reader) fails. Exactly: **4JSPgenerator** --- The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception JspGenerator.generate() More precisely:

RE: JSP troubles

2002-08-26 Thread Piroumian Konstantin
From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] Hi! in my cocoon the exemples (server section) for JSP (JSP Generator and JSP Reader) fails. Exactly: **4JSPgenerator** --- The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception

RE: How force HTMLGenerator to leave xi:include elements?

2002-08-26 Thread Marcin Stefaniuk
Yes, it is smart idea for including but design source lost special goLive tags? On the second hand when I use TidyGUI even without defining tags everything is left. In HTMLGenerator not... Marcin -Original Message- From: Conal Tuohy [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 25,

Try-catch error

2002-08-26 Thread Ganael LAPLANCHE
Hi ! I'm trying to include a very basic XSP part to my pages, but if I insert a try-catch, I get this error message : type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException:

Re: i18n transformer problem II

2002-08-26 Thread Dr. Hans M. Rupp
Ok what I get before i18n (using a pre_i18n view) i18n:text i18n:key=x2TEMPERATURE_CURRENT/i18n:text this originates from the master-stylesheet and is translated by the transformer correctly. further down in the file: i18n:text i18n:key=x2TEMPERATURE_CURRENT/i18n:text this originated from a

RE: i18n transformer problem II

2002-08-26 Thread Piroumian Konstantin
From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]] Ok what I get before i18n (using a pre_i18n view) i18n:text i18n:key=x2TEMPERATURE_CURRENT/i18n:text this originates from the master-stylesheet and is translated by the transformer correctly. further down in the file: i18n:text

[HELP]Exception JSPReader.generate()

2002-08-26 Thread Matthias Baumann
Title: Nachricht Description:org.apache.cocoon.ProcessingException: Exception JSPReader.generate(): java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl I use cocoon 2.0.3 on JBoss-2.4.4_Tomcat-4.0.1 ! I try to use jsp Generator . But it is the Exception shown. i

Re: CInclude bug???

2002-08-26 Thread Andrew C. Oliver
Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. -Andy Per Kreipke wrote: Apurva, to make the long story short: the output has the whole xml file after the section of the xml

Re: CInclude bug???

2002-08-26 Thread Andrew C. Oliver
And CInclude does support @select now. Per Kreipke wrote: Apurva, I need more sleep: XInclude _does_ in fact allow you to subselect using XPointer syntax. See http://xml.apache.org/cocoon/userdocs/transformers/xinclude-transformer.html for details. Requires sitemap change. -Original

Passing multiple selection parameters through a query in XSP from a list box

2002-08-26 Thread Sreenivasan N.
Hi All I am struck up in processing a XSP page passing multiple selection as parameters through a query from a multiselect listbox. The listbox values are basically populated from the oracle database table. But i don't know how to pass more than one selected value as parameter to the database

Re: JSP troubles

2002-08-26 Thread Raúl Wild-Spain
No wonder that JSP fails. The default settings of the JSPEngine in Cocoon are for Tomcat and not Resin. Take a look at WEB-INF/cocoon.xconf and change the jsp-engine section to point to the JSP servlet in Resin. There were some troubles with JSPEngine in Cocoon on Resin, please let us know

RE: JSP troubles

2002-08-26 Thread Piroumian Konstantin
From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] No wonder that JSP fails. The default settings of the JSPEngine in Cocoon are for Tomcat and not Resin. Take a look at WEB-INF/cocoon.xconf and change the jsp-engine section to point to the JSP servlet in Resin. There were some

Re: CInclude bug???

2002-08-26 Thread apurva zaveri
Thats great Andy! Let us know when you submit the fix. Also is there a way one can find out every time a new fix or a patch is submitted??? I am still quite new to cocoon. -Apurva --- Andrew C. Oliver [EMAIL PROTECTED] wrote: Incorrect. This is a bug and the @select does work in Cocoon

Re: CInclude bug???

2002-08-26 Thread apurva zaveri
One more wierd finding: This is another place where I am experimneting with CInclude. cinclude:include src=cocoon://commons/contents/emp_table.xml select=data/dept/* / the @select in this CInclude transformer works exactly the way it should. And it is no different from the previous case. The

RE: CInclude bug???

2002-08-26 Thread Per Kreipke
Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. Ah. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. While you're at it, how about updating: http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html on which I

How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Ganael LAPLANCHE
Hi ! I'd like to acces an URL variable in an xsp:logic area ??? I call my page with : http:///foo.xml?bar=hello and would like to get the value of bar into a string element to re-use it. How would you do that ? Must be simple... but I'm a newbie... :) Thank you, Ganael.

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Michael Mangeng
Hi! You can use the xsp-request:get-parameter name=bar/ tag even inside the a xsp:logic tag. so you can do: xsp:logic String myString = xsp-request:get-parameter name=bar/; /xsp:logic (xsp-request must be mapped to http://apache.org/xsp/request/2.0 ) greetings mike - Original Message

Setting up proxy access for Cocoon components

2002-08-26 Thread Igor Abade V. Leite
Hi! I need to access na external resource from my Cocoon-based intranet application. Our company uses a proxy for access to external resources, so if I use something like: map:generate type=html src=http://xml.apache.org/cocoon/ I'll get a java.net.UnknownHostException. What do I do to

Re: CInclude bug??? (And my upcoming patch)

2002-08-26 Thread Andrew C. Oliver
Patches *should* be submitted to Bugzilla and hence you should catch the postings here. You could also join the Cocoon-cvs mailing list (see webpage for details) or catch it on gmane.org (news-mail-news bridge). The CVS list is commits, the bugzilla mails are patches. Its a one liner if you

OT: How to get xml-entities into Javascript strings?

2002-08-26 Thread Koen Pellegrims
Hi, (Not specifically cocoon-related, flame me if you want to...) I ran into some trouble trying to generate a snippet of JavaScript from an XML-file, containing entity-references. The problem can be reduced to this: XML-file: product name=industri#235;le merkers/ #235; is euml; in HTML, or

Re: CInclude bug???

2002-08-26 Thread Andrew C. Oliver
That is weird. It doesn't happen after the fix (I've got both static and dynamic includes) -Andy apurva zaveri wrote: One more wierd finding: This is another place where I am experimneting with CInclude. cinclude:include src=cocoon://commons/contents/emp_table.xml select=data/dept/* / the

Re: CInclude bug???

2002-08-26 Thread Andrew C. Oliver
Will do. For now see: http://outerthought.net/wiki/Wiki.jsp I could have sworn I did it, but I must have left the documentation dir out of my patch. In 3 weeks when I send in my refactoring of CInclude/XInclude I'll submit that as well. -Andy Per Kreipke wrote: Incorrect. This is a bug

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Ganael LAPLANCHE
I works fine with a hand-typed URL, but If the URL is requested by a form (action=url?foo=bar), it doesn't work... I can't acces to my variable (even if it appears in the URL area of my navigator). Do you have any idea ??? Many thanks... On Mon, 2002-08-26 at 16:11, Michael Mangeng wrote: Hi!

RE: How to get xml-entities into Javascript strings?

2002-08-26 Thread Robert Koberg
Hi, You almost have it. But with XSLT you have to watch out for whitespace. There are two ways to handle it: 1. Use xsl:text xsl:textalert('/xsl:text xsl:value-of select=@name/ xsl:text');/xsl:text 2. alert('xsl:value-of select=normalize-space(@name)/'); best, -Rob -Original

Re: CInclude bug???

2002-08-26 Thread Andrew C. Oliver
Specifically: http://outerthought.net/wiki/Wiki.jsp?page=CInclude -Andy Andrew C. Oliver wrote: Will do. For now see: http://outerthought.net/wiki/Wiki.jsp I could have sworn I did it, but I must have left the documentation dir out of my patch. In 3 weeks when I send in my

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Michael Mangeng
Hmmm I´ve testet mixing POST and GET parameters and it works fine here (tomcat 404, cocoon203, msie6x) Maybe your browser cannot mix the methods do this... Try submitting the GET parameter as a hidden param in the form.. input type=hidden name=bar value=foo/ (or did i misunderstand you?)

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Ganael LAPLANCHE
Ok, I submitted my form with a hidden value, it works very well :)) Thank you !!! Gan. On Mon, 2002-08-26 at 17:19, Michael Mangeng wrote: Hmmm I´ve testet mixing POST and GET parameters and it works fine here (tomcat 404, cocoon203, msie6x) Maybe your browser cannot mix the methods

RE: How to get xml-entities into Javascript strings?

2002-08-26 Thread Koen Pellegrims
Maybe my post wasn't very clear; the XML contains #235; but JavaScript expects \U00EB (which is 235 in hex). Instead of reinventing the wheel, I was hoping there would be some standard way to convert from one into the other. K. -Oorspronkelijk bericht- Van: Robert Koberg

RE: How to get xml-entities into Javascript strings?

2002-08-26 Thread Robert Koberg
Oh, sorry... I understand now. We have some pretty hairy JS regexps to handle this for pastes into our editor. I would not recommend it. What I would recommend (if you need an alert) is to write the string to a html div and show/hide your custom alert box. This way you do not need to worry

Re: XMLForm mod-db

2002-08-26 Thread Bobby Mitchell
Christian Haul wrote: On 24.Aug.2002 -- 09:01 AM, Ivelin Ivanov wrote: I am not very familiar with the modular db actions, but from what I understand, you would be able to specify the name of the session attribute where the modular db actions would read/write. You can point the XMLForm model

Re: import issue... maybe

2002-08-26 Thread J.Pietschmann
Phil Blake wrote: ... Then a second stylesheet named BluePage.xsl imports StandardPage.xsl. It overrides only one template - match=/* mode=pageBody There are a few more differences, namely xmlns:psi=http://prescience.org/logicsheets/app/2.0; and, most odd: version=2.0 This means

Re: How to get xml-entities into Javascript strings?

2002-08-26 Thread J.Pietschmann
Koen Pellegrims wrote: Maybe my post wasn't very clear; the XML contains #235; but JavaScript expects \U00EB (which is 235 in hex). Instead of reinventing the wheel, I was hoping there would be some standard way to convert from one into the other. I don't think you need to do anything at

Mysterious IllegalStateException thrown when I try to index files

2002-08-26 Thread icewind
Hello, I have something like this for my xml documents: docs/ dir1/ dir2/ dir3/ dir4/ dir5/ I can index each individual dir in docs separately and a lucene index will be built properly. However, when I try to index all together (either by aggregation, or by crawling from

Re: portal example doesn't work in current CVS?

2002-08-26 Thread Josema Alonso
Don't know what was wrong, maybe something went wrong when updating to latest CVS, but it's working again after checking out today's head. Best. - Original Message - From: Josema Alonso [EMAIL PROTECTED] To: Cocoon-Users [EMAIL PROTECTED] Sent: Sunday, August 25, 2002 1:45 AM Subject:

Link Livesites:

2002-08-26 Thread Jakov Senatow
Hello! http://www.mycgiserver.com/~senatov With best regards, Jakov Senatow. E-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting.