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.

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 Sub

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 docs/

Mysterious IllegalStateException thrown when I try to index files

2002-08-26 Thread icewind
__ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com - Please check that your question has not already been answered in the FAQ before postin

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 ë 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 all.

Re: 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">

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 XML

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 about

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 ë 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 [mailto:[EMAIL P

Re: How to get URL parameters in an 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 metho

Re: How to get URL parameters in an 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.. (or did i misunderstand you?) greetings mike - Original Message

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 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 alert(' '); 2. alert(''); best, -Rob > -Original Message- > From: Koen Pellegrims [mailto:[EMAIL PROTECTED]] > Hi, > > (Not specifically cocoon-related, flame

Re: How to get URL parameters in an 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: 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: 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. > >src="cocoon://commons/contents/emp_table.xml" >select="data/dept/*" /> > >the @se

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: ë is ë in HTML, or ë... if you can see this ;-) XSL:

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

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: http://xml.apache.org/cocoon/> I'll get a java.net.UnknownHostException. What do I do to instruct the HTTP client to use a

Re: How to get URL parameters in an area ?

2002-08-26 Thread Michael Mangeng
Hi! You can use the tag even inside the a tag. so you can do: String myString = ; (xsp-request must be mapped to http://apache.org/xsp/request/2.0 ) greetings mike - Original Message - From: "Ganael LAPLANCHE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26,

How to get URL parameters in an area ?

2002-08-26 Thread Ganael LAPLANCHE
Hi ! I'd like to acces an URL variable in an 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: 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

Re: CInclude bug???

2002-08-26 Thread apurva zaveri
One more wierd finding: This is another place where I am experimneting with CInclude. the @select in this CInclude transformer works exactly the way it should. And it is no different from the previous case. The only difference is that the previous case had a fileGenerator with a static xml fi

RE: sendmail - html emails

2002-08-26 Thread Paul Pattison
Hi Phil, I have the sendmail logicsheet working for text emails, but not for HTML emails. If you have gotten this to work, could you please send me the xsp that you used to do this. Thanks, Paul -Original Message- From: Phil Blake [mailto:[EMAIL PROTECTED]] Sent: 26 August 2002 03:13

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 Cocoo

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 section to point to the JSP servlet in Resin. > > > > There were so

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 section to point to the JSP servlet in Resin. > > There were some troubles with JSPEngine in Cocoon on Resin, please let us > know if y

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: 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. > > > >>

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

[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 us

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) > > TEMPERATURE_CURRENT > this originates from the "master"-stylesheet and is translated by the > transformer correctly. > > further down in the file: > TEMPERATURE_CURRENT > this or

Re: i18n transformer problem II

2002-08-26 Thread Dr. Hans M. Rupp
Ok what I get before i18n (using a pre_i18n view) TEMPERATURE_CURRENT this originates from the "master"-stylesheet and is translated by the transformer correctly. further down in the file: TEMPERATURE_CURRENT this originated from a named template in included stylesheet. This is not translated

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: Er

RE: How force HTMLGenerator to leave 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, 2

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: >

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: org.apache.cocoon.Proce