cocoon

Filter on current date within Castor OQL

I'm running the java cocoon 2 and castor oql. I'm trying to filter my oql query by today's date, but I can't seem to figure out (or find in google) the syntax of the date. The database is mySql, but the oql is mapped by the java classes... so doing a search on field_date >= Now() doesn't work. Any ideas? I really can't stand the limit...

Cocoon 2.2? Is it worthwhile or bad news?

Hi, I am looking to use Cocoon for a couple of sites I am creating. I will make heavy use of xml, xsl and conversion to html, pdf and excel on the sites. I am attracted to coccon as it implements these functions quite well. I guess I am just wondering if anyone has used it and like it, or if they found it was more trouble than it's wo...

How do I configure cocoon to use a database as a store for quartz jobs and triggers

I'm using Cocoon and want to store the jobs and triggers for the quartz scheduler in the database so they are persisted. I can see where I need to make the change in cocoon.xconf but I can't find much on how to configure the datasource etc. How do I configure this to use our existing (postgres) database? ...

Configuring FOP from a Cocoon sitemap

I see in the FOP docs that there's a setting in the renderer section to do the right thing with rotating pages when the paper is portrait but what you're printing should be landscape. But I can't seem to figure out how to tell Cocoon to tell FOP to use that setting. I'm guessing it should go in the section for mime-type="application/p...

cocoon 2.1.x to 2.2.0 migration guide

Can anyone recommend me a good migration guide? ...

Apache Cocoon JAR configuration - I want to use .class files !

Hey guys and gals I'm using the Apache Cocoon framework, set up several eons ago for the web app I'm developing. I don't know if its how cocoon is set up for everyone, or its if some 'special' configuration my company has performed, but this is what happens. In order for cocoon to use ANY class files, they must be bundled up into a JA...

Cocoon lite / XML and XSLT publishing framework

What publishing frameworks (publishing only, NOT full-blown CMS) based on XML, XSLT sitemaps and pipelines exist, are stable, active, and simpler / lighter than Cocoon? I have glanced at: mod_xslt (http://www.mod-xslt2.com/) which seemed to be exactly that, but looks all but dead, and required a complex setup, and apparently supported...

cocoon 2.2 tutorials

does anybody knows a good cocoon 2.2 tutorial? ...

cocoon 2.2 xsp generator

Hi, Any hints on how to put the blocks of xsp working? I managed to build them, but I cant seem to use xsps generators on my pipelines. Is this still available? Thanks greetings ...

Cocoon escape query parameters problem

Hello, I'm maintaining Cocoon 2.1 application and I faced serious problem with request parameters. Consider following url: http://myapp.com/somePage.html?param1=&lt;expected_integer_value&gt;&amp;param2=&lt;expected_integer_value&gt; Both param1 and param2 are directly passed into transformer as parameters (<map:parameter />) and th...

Cocoon - Pipeline: Transform XML with XSL twice ?

Hey there, My problem is to setup the Cocoon sitemap.xmap in a way, that it first makes a transformation of an XML file with XSL, which I can then use for my own transformation. I have following files: start.xml : Contains references of files which are put together applying combine_start.xsl transform.xsl: This is my own XSL file whi...

How to change the extension of a processed xml file (using eXist & cocoon)

Hi all, I'm really new to this whole web stuff, so please be nice if I missed something important to post. Short: Is there a possibility to change the name of a processed file (eXist-DB) after serialization? Here my case, the following request to my eXist-db: http://localhost:8080/exist/cocoon/db/caos/test.xml and I want after seria...

Frameworks cual recomiendan

hola actualmente estoy conociendo sobre los frameworks Turbine,cocoon, Struts, webwork, pero quisiera saber cual de estos 4 frames, es mejor o cual recomendarian para su uso, o posiblemente cual es su escalabilidad, la mantenibilidad , su robustez, cosas asi que ayuden a decidirme por alguno de ellos Grax ...

Dynamic Cocoon Block list

Hi, I have a Cocoon 2.2 based application which uses blocks for different tasks and one block for shared pipeline fragments. All blocks are mounted within an Cocoon webapp. Now I would like to have an block which generates an overview of all other mounted blocks. I probably will have to use Java code - which is fine - but I am kinda los...

JSF with Cocoon

Hi all, We research the possibility to migrate from a classic ASP to Java-based Web Application (namely JavaServer Faces 2.0).The old ASP application make use of XSLT to render basic UI components und we would like to keep using of the most of XSL stylesheets. We would like to use Cocoon for implementing xml pipelines. Has somebody pra...

Linebreaks and Spaces appearing in TextAreas

In our Cocoon environment we have a few forms with textareas. Once the user submits a form, an overview is displayed before the final submit is done. Therefor, each form-object's data is stored in POJOs. If the user is on that overview page and decides to go back to the form, the form is filled with the already submitted data read from t...

URL localization in Lenya

Hello, I am trying to localize Lenya publication URLs. I store URL translation in the Document metadata and rewrite urls with URLRewriter transformator. e.g. I build /lenya/default/authoring/en/home from /lenya/default/authoring/index.html But I can't find a simple way to force Lenya to tranlate incoming request URI back to the origin...