Re: XML parser config in 2.2

2007-07-23 Thread Kazó Csaba
Thank you, this ([2]) is indeed the config file I was looking for! And with the help of [4] I successfully set the property I wanted. Two things I'd like to mention: 1) the cocoon/properties subdirectory you mentioned doesn't seem to work (and it's not listed on [4], so I guess no problem here)

evaluating pipeline result and act upon

2007-07-23 Thread christoph
Hi, What is the best way to evaluate an result of a pipeline and act upon it. My scenario: I use an REST service to request data from an online source and store it into my database. If this pipeline deliverst no data or an error msg, I would like to invoke another pipline to request the data fr

Re: [cocoon 2.2.x] site can check for file exists?

2007-07-23 Thread Grzegorz Kossakowski
xweber pisze: Grzegorz Kossakowski-3 wrote: [...] File an issue in JIRA, and submit a patch preferably. done -> https://issues.apache.org/jira/browse/COCOON-2096 Thanks. a patch for this is beyond my Java-skills... Ok, no problem. I'll try to take care of it this week but I'm not goi

Re: [cocoon 2.2.x] site can check for file exists?

2007-07-23 Thread xweber
Grzegorz Kossakowski-3 wrote: > > [...] > File an issue in JIRA, and submit a patch preferably. > done -> https://issues.apache.org/jira/browse/COCOON-2096 a patch for this is beyond my Java-skills... Alex -- View this message in context: http://www.nabble.com/-cocoon-2.2.x--site-can-chec

Re: problem mounting

2007-07-23 Thread Jason Johnston
Vaduvoiu Tiberiu wrote: Hi, I am having a problem mounting some sitemaps. Right now, for my application I am using a single sitemap...that has become to big...and for performance/mentainance reasons, I've decided to split the big sitemap in smaller ones using mount. ... in this case the first

Re: Error while evaluating 'cocoon:/{../1}/...not so many levels

2007-07-23 Thread Tobia Conforto
Vaduvoiu Tiberiu wrote: > in my parent sitemap I have > > >src="{3}/sitemap.xmap" /> > > > and in my sub-sitemap I have: > > > > > You can't access sitemap parameters across sitemaps. I can see two solutions to your problem: 1) take off that uri-prefix="{1}/{2}/{3}" from the

Re: How to set attribute on Action via binding?

2007-07-23 Thread Dev at weitling
>> I just want to set an attribute on an action widget via bean binding. >> My attempts: >> >> >> >> >> >> => path required, but value cannot be set on action widget >> >> >> >> >> >> => results in an error, too. > > May I ask for a use case for such construct? I'm not sure what you

Re: Help with Cocoon 2.2.x

2007-07-23 Thread Grzegorz Kossakowski
Steven D. Majewski pisze: I haven't yet really learned maven -- getting over that hurdle is what kept me from trying 2.2 earlier. The README just says to do: $ mvn -Dmaven.test.skip=true -P allblocks install and I don't know what other profiles are available. But I just tried it without

Re: Access to bizData in

2007-07-23 Thread Grzegorz Kossakowski
Dev at weitling pisze: Grzegorz Kossakowski wrote: I feared you'd say so. It's the solution I worked out for now, too, that being a paranoid perfectionist ;-) Tobia has provided a nice solution - though crowding the flowscript I'll give it a try. Do you have a personal tip/best practice to keep

Re: Bug (?!) in Html table/Ajax combination

2007-07-23 Thread Grzegorz Kossakowski
Dev at weitling pisze: Hi (again), Hi Florian. as I'm still working on some problem described on this mailing list at the 18th of May, subject "Hide/show columns in an ajaxified table cform", I have now found some weird Cocoon behaviour: My repeater rows are nested not in DIVs but in table ta

Re: version 2.2 final

2007-07-23 Thread Grzegorz Kossakowski
Raphaël Piéroni pisze: Thanks for the answers No problem, I forgot to say why Cocoon 2.2 RC1 has not been announced, yet. We just want to wait for a new site because we really don't have any official documentation for Cocoon 2.2. I hope that we won't have to wait for too long. -- Grzegorz K

Error while evaluating 'cocoon:/{../1}/...not so many levels

2007-07-23 Thread Vaduvoiu Tiberiu
I have the same problem I wrote about this morning... in my parent sitemap I have and in my sub-sitemap I have: but I get the error: Error while evaluating 'cocoon:/{../1}/{../2}/menu.xml' : not so many levels. can't anyone tell me why I get this e

Re: How to set attribute on Action via binding?

2007-07-23 Thread Grzegorz Kossakowski
Dev at weitling pisze: Hi, I just want to set an attribute on an action widget via bean binding. My attempts: => path required, but value cannot be set on action widget => results in an error, too. May I ask for a use case for such construct? I'm not sure what you want to ac

Re: [cocoon 2.2.x] site can check for file exists?

2007-07-23 Thread Grzegorz Kossakowski
xweber pisze: Grzegorz Kossakowski-3 wrote: xweber pisze: [..] is there a possibility to check for existence of a file in filestructure [..] Yes, you can use ResourceExistsSelector: http://cocoon.apache.org/2.1/userdocs/resourceexists-selector.html (it will work in C2.2) [..] I did some te

Re: XML parser config in 2.2

2007-07-23 Thread Grzegorz Kossakowski
Kazó Csaba pisze: Hi, Is there an easy way to configure the xml parser in Cocoon 2.2? 2.1.X has a handy block in cocoon.xconf, but I couldn't find anything similar in the latest version. XML parsing functionality has been moved to a separate module[1] and Springified at the same time. I gues

Re: PermGen space problem with Cocoon on Tomcat

2007-07-23 Thread Huib Verweij
Hi Stephen, I had the same problem, also after redeploying applications in Tomcat a few times, both on Red Hat and Windows. Increasing PermGen space just postponed the problem. The problem went away by using another JVM. I picked BEA's JRockit for speed. It had some other problems though, but

RE: Client-side cache handling

2007-07-23 Thread Ard Schrijvers
Hello, sry, just reading the rest of your mail cant you use a map:action to set an expires header on your css files?? regards Ard > > Hi all > > Is there an established way, recommended way, ad-hoc > component or sample > about manually controlling the client-side cache? > > I'm serving

RE: Client-side cache handling

2007-07-23 Thread Ard Schrijvers
Hello, you can easily achieve this by setting an expires parameter in the reader. This will do exactly what you want Regards Ard > Hi all > > Is there an established way, recommended way, ad-hoc > component or sample > about manually controlling the client-side cache? > > I'm serving the cs

Client-side cache handling

2007-07-23 Thread Tobia Conforto
Hi all Is there an established way, recommended way, ad-hoc component or sample about manually controlling the client-side cache? I'm serving the css for some pages as a unified, space-stripped, virtual css file. This speeds up page loading a bit, especially when the original css files are many

problem mounting

2007-07-23 Thread Vaduvoiu Tiberiu
Hi, I am having a problem mounting some sitemaps. Right now, for my application I am using a single sitemap...that has become to big...and for performance/mentainance reasons, I've decided to split the big sitemap in smaller ones using mount. However I am dealing with a problem. Right now, a ma