2.0.4 and Lucene

2003-02-05 Thread Fabricio Chalub
Hi, Currently Cocoon 2.0.4 only gives the URL of the hit when searching under Lucene. I need the title of the URL too. Reading the mailing list, I noticed that the documentation on XML search, specially the part about STORE-FIELDS, eg, title, subtitle is only relevant for the CVS version

Cocoon 2.1 (was RE: Question about handling of components)

2002-12-11 Thread Fabricio Chalub
> > If you are using the 2.1 version there are some samples. Also you can > check wiki: > > http://outerthought.net/wiki/Wiki.jsp?page=DatabaseActions > No, I'm using 2.0.4. Regarding this very issue, it seems that many useful features (these modules, 'expires', etc.) are present only on 2.1.

RE: Question about handling of components

2002-12-11 Thread Fabricio Chalub
> > Its fine, but why reinvent the wheel? > > I think you can use the Modular DB actions that offers you a > good approach > with DB in Cocoon. Also you can concentrate on your > application, rather > than in this problems. ;-) > Yes, I can see ... database modules were recently added to Coco

Cocoon + Squid

2002-12-11 Thread Fabricio Chalub
Hi, Does anybody here using Cocoon+Squid have any hints on the best configuration for this combination? Since (as far as I know) Cocoon 2.0.x doesn't have any way of helping proxy caches (like Last-Modified, for instance) and the "expires" parameter of the pipeline is only functional on the 2.

Question about handling of components

2002-12-11 Thread Fabricio Chalub
Hi, I'm trying something here and I would like to see from you if this is adequate. In some of my logicsheets I'm using a helper class to get attributes from a database, instead of using, eg, ESQL. So for example: Suppose I have a table CAR, with a column COLOR, indexed by key KEY. And I hav

How to get the upload-diretory inside an Action?

2002-07-26 Thread Fabricio Chalub
Hello, I can get the uplodaded_file inside an Action fine, but can I get the upload-diretory web.xml parameter? The upload.xsp file gives me an example, but apparently the Context object it uses is not the same Context one gets by using ObjectModelHelper.getContext(objectModel). Thanks, Fabrici

RE: Sitemap parameters to XSP pages

2002-06-25 Thread Fabricio Chalub
> > http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102266350403912&w=2 > > Hope this helps. Thanks it did help! Somehow I managed to miss that message *and* the docs [{...}concepts/matchers_selectors.html]. ;) fc - Pleas

Sitemap parameters to XSP pages

2002-06-24 Thread Fabricio Chalub
If it is not possible, what alternative would you suggest? Thanks! Fabricio Chalub - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index

SQLTransformer returning empty XML tags

2002-05-02 Thread Fabricio Chalub
Hello, I'm using SQLTransformer to convert this simple piece of SQL: http://apache.org/cocoon/SQL/2.0";> http://apache.org/cocoon/SQL/2.0";> SELECT name FROM listing into XML file using this code from the DocBook XSLT that prints all unknown tags in red: < >

RE: Multiple independent XSLT transforms applied to one XML file.

2002-04-30 Thread Fabricio Chalub
> you can add any number of transformations. just add another > transformer line > to your pipeline with the second stylesheet. Thanks! I have tried this and it appears to me that only the last XSLT transform is applied. I guess I am not using the sitemap corretly, then? This is what am I usin

RE: Multiple independent XSLT transforms applied to one XML file.

2002-04-30 Thread Fabricio Chalub
> > Have you considered using xsl:include or xsl:import in your XSLT > stylesheets? > True, that would be one solution, but I *really* wanted to keep the XSLT files as independent as possible and centralize this kind of configuration on the sitemap (otherwise on the long run I would have dozens

Multiple independent XSLT transforms applied to one XML file.

2002-04-30 Thread Fabricio Chalub
Hello, I suppose this is the kind of email that possibly reflects a deep misunderstanding of the basic principles on which Cocoon relies. If that is the case, just warn me. ;) The simple question is: Using Cocoon (possibly through the sitemap), how do I process a XML file that combines two diffe