RE: Could you please tell me how to set the directory of Lucene index?

2005-03-05 Thread Jeroen Reijn
Hi,   i don't know if you use the lucene index transformer, but if so you can try to pass the realpath from your {realpath:/} sitemap like:       and in your xsl:           analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer"   directory="{$realpath}/myindex" 

Re: Localization

2005-03-05 Thread Alfred Nathaniel
On Sat, 2005-03-05 at 10:40, Geert Josten wrote: > I meant something like: > > > > > We are doing something like this but using the match pattern="**_de.xml". The advantage is that it makes it easier to link between the same resource in different languages without having to know the f

RE: Localization

2005-03-05 Thread Linden H van der (MI)
Hmm, good idea. I don't usually use the cocoon:/ protocol, so I tend to forget. Thanks. Bye, Helma > -Original Message- > From: Geert Josten [mailto:[EMAIL PROTECTED] > Sent: Saturday, 05 March 2005 10:40 > To: users@cocoon.apache.org > Subject: Re: Localization > > > >>Why use cincl

Re: Encoding Problem: File Upload and UTF-8

2005-03-05 Thread Bertrand Delacretaz
Le 5 mars 05, à 15:17, stefan pickschneider a écrit : ..we have a problem with the encoding, cforms and file uploads. Did you look at http://wiki.apache.org/cocoon/RequestParameterEncoding ? It might give some answers. -Bertrand smime.p7s Description: S/MIME cryptographic signature

Pipelines & caching

2005-03-05 Thread Ben Pope
Hi, I have some generic pipelines that return data in xml. I then wrap those pipelines with generator / serialisers to choose the output type. E.g., ... It looks as if the output gets cached, when I request a form like: http://localhos

Encoding Problem: File Upload and UTF-8

2005-03-05 Thread stefan pickschneider
Hello, we have a problem with the encoding, cforms and file uploads. We have a form that allows to upload a file and on the same form an input field to enter the corresponding title. The upload works but if you enter special characters (like german umlauts) these are sent as garbage ('?'). The enc

Encoding Problem: File Upload and UTF-8

2005-03-05 Thread Stefan Pickschneider
Hello, we have a problem with the encoding, cforms and file uploads. We have a form that allows to upload a file and on the same form an input field to enter the corresponding title. The upload works but if you enter special characters (like german umlauts) these are sent as garbage ('?'). The enct

Re: how to get cookie value within XSP?

2005-03-05 Thread gounis
some samples 1. create cookie 10 2. get value --stavros On Sat, 5 Mar 2005, Ilya Vyatkin wrote: > Hi! > > How can I obtain some cookie value within XSP page? > I tried yo use element, but seems like it was even > not recognized. > > Ilya > >

Re: populate xmlbean in flow w/ pipeline

2005-03-05 Thread Ben Anderson
yes, that's it! - and that will probably work for us. But I'm curious, instead of this line: pipelineUtil.processToSAX( "internal/catalog/getCatalog", null, xmlSaxHandler.getContentHandler() ); which I'm assuming starts a new pipeline, can I just grab what the "state" the pipeline was in before en

how to get cookie value within XSP?

2005-03-05 Thread Ilya Vyatkin
Hi! How can I obtain some cookie value within XSP page? I tried yo use element, but seems like it was even not recognized. Ilya -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 04.03.2005 -

Re: Serialization: tabs to decimal entity references

2005-03-05 Thread Gabor Pusztai
On Thu, 3 Mar 2005, Askild Aaberg Olsen wrote: > > > > > Try changing the src-attribute of the serializer-declaration to > "org.apache.cocoon.components.serializers.XMLSerializer" > > as in http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=110237346321979&w=2 > > This made the trick for me. > > As

Re: Localization

2005-03-05 Thread Geert Josten
Why use cinclude to include a complete XML and use XSL to filter again if you could do the same directly with just one generate... Simply to avoid confusion. When the file gets really long, the original xml file is about twice the length of the resulting HTML file, I loose track of where I am. So

Re: how to copy a binary file

2005-03-05 Thread Geert Josten
Lars Huttar wrote: Geert Josten wrote: I replied to the list earlier that I have written a lightweight Transformer that does exactly what you want. But you make an even more lightweight one allowing only copying of files. Geert, Thanks for your help. I would like to take you up on your offer --

Re: populate xmlbean in flow w/ pipeline

2005-03-05 Thread Irv Salisbury III
Actually, I found my example: importClass( Packages.org.apache.xmlbeans.XmlBeans ); importClass( Packages.com.thinkreports.catalog.CatalogDocument ); importClass( Packages.com.thinkreports.util.XMLBeansXMLizableWrapper ); importClass( Packages.org.apache.cocoon.components.flow.util.PipelineUtil );

Re: populate xmlbean in flow w/ pipeline

2005-03-05 Thread Irv Salisbury III
Can you be more clear on what exactly you are asking? Do you want to process a pipeline and have the result stored in an XMLBean? If that is the case, you can use the PipelineUtil.processToSax method to call a pipeline and fill up an XMLBean's content handler. I have some examples of doing th

how strong is Xindice

2005-03-05 Thread Arsen A. Gutsal
Hello. Who knows how powerful is Xindice? It seems it support some indexing and works fine for me for collections contains 2-3K records. How about >1M records? Probably there are some ways to keep data and force indexing of some fields? -- Sincerely, Arsen A. Gutsal SOFTSKY CEO/Executive mailto:[