Re: dynamic cForm generation

2009-06-05 Thread Patrick Heiden
Hello together! Has anybody (maybe Rashel Shehata him/herself) solved the issue mentioned in http://markmail.org/message/delryq7vo2t34keb There Rashel tries to generate fd and ft dynamically and gets the following error: org.apache.cocoon.forms.FormsRuntimeException: The template cannot find

Re: RE: dynamic cForm generation

2009-06-05 Thread Patrick Heiden
generation We've done the same thing in the past but back then they were already working on a form library. http://cocoon.apache.org/2.1/userdocs/formlibraries.html Why don't you see if this will fill your needs. Robby -Original Message- From: Patrick Heiden [mailto:patrickhei

Re: RE: dynamic cForm generation

2009-06-05 Thread Patrick Heiden
- From: Patrick Heiden [mailto:patrickhei...@gmx.de] Sent: Friday, June 05, 2009 2:08 PM To: users@cocoon.apache.org Cc: rashe...@gmail.com Subject: Re: dynamic cForm generation Hello together! Has anybody (maybe Rashel Shehata him/herself) solved the issue mentioned in http

classes in block / usage in flowscript

2009-06-04 Thread Patrick Heiden
Hello together, I am a little bit wondering about following issue. Assume we have a Java-class inside a cocoon-block (i.e. like the demo bean out of the tutorial). When I get a new instance of this class through ... var foo = new some.package.inside.block.MyClass(); ... then i get this error:

Re: RE: classes in block / usage in flowscript

2009-06-04 Thread Patrick Heiden
classpath? Cheers and much thanks, Patrick Cheers, Robby -Original Message- From: Patrick Heiden [mailto:patrickhei...@gmx.de] Sent: Thursday, June 04, 2009 1:09 PM To: users@cocoon.apache.org Subject: classes in block / usage in flowscript Hello together, I am a little bit

Re: RE: RE: classes in block / usage in flowscript

2009-06-04 Thread Patrick Heiden
: Patrick Heiden [mailto:patrickhei...@gmx.de] Sent: Thursday, June 04, 2009 3:19 PM To: users@cocoon.apache.org Subject: Re: RE: classes in block / usage in flowscript Hello Robby, thx for the fast reply! ... The proper way to access java from flowscript is to import the classes

Re: passing parameters from pipelines to flowscript - possible?

2008-11-28 Thread Patrick Heiden
://cocoon.apache.org/2.1/userdocs/flow/api.html Regards, Job On Fri, Nov 28, 2008 at 11:02 PM, Patrick Heiden [EMAIL PROTECTED]wrote: Hello together! Is it generally possible to pass parts or hole documents back to a flowscript controller, after a called pipeline has finished generation

Spring and getComponent()

2008-10-18 Thread Patrick Heiden
Hello together! Within flowscripts that references 'old' avalon components via someVar = cocoon.getComponent(..) there was a need to release those componente via cocoon.release(..). Is this still the way with C22 when obtaining references to some business-beans, defined in someAppCtx.xml ? Or

cocoon-samples-style-default

2008-08-28 Thread Patrick Heiden
Hello together! I have a little problem when using cocoon-samples-style-dafault. Within some block I define my servlet connection as follows: servlet:connections entry key=ajax value-ref=org.apache.cocoon.ajax.impl.servlet/ entry key=forms

Re: Improved tutorials

2008-07-21 Thread Patrick Heiden
Hi Grzegorz! Hi Cocooners, I justed wanted to let you know that thanks to David's Legg effort we have switched to the new feature that Maven Archetype plug-in brings. This switch is reflected in our documentation when blocks/webapp is being created using the archetype. You can see

Re: C2.2 - Cannot remove jar files from classpath using Maven

2008-07-21 Thread Patrick Heiden
Hi David! Just for getting it clear - is 'myblock' some block, or are you listing dependencies for the whole web-application, since there could be a dep on commons-logging wich is not mentioned out of 'myblock' Best regards, Patrick Original-Nachricht Datum: Sun, 20 Jul

Re: dynamic cForms definitions/templates

2008-07-21 Thread Patrick Heiden
Hi André! Thank you, I am actually working this through ;) And I have some questions, maybe cause I am new to cForms... Dynamic form definition, binding and templating is a very convenient way to generate forms according to a DB structure that can change. It could perhaps may be more

Re: dynamic cForms definitions/templates

2008-07-21 Thread Patrick Heiden
Hi André! snip/ Welcome THANKS! Things are getting much clearer by now, just one more thing ... snip/ The src parameter is used in flowscript to access the document to modify but I didn't show this processing in the snippet. You can code and use a loadDocument function to be called this

Re: dynamic cForms definitions/templates

2008-07-20 Thread Patrick Heiden
/browse/COCOON-1418 Thank you so far, Kamal! Best regards, Patrick Original-Nachricht Datum: Fri, 18 Jul 2008 08:48:55 +1000 Von: Kamal Bhatt [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: dynamic cForms definitions/templates Patrick Heiden wrote

Re: dynamic cForms definitions/templates

2008-07-20 Thread Patrick Heiden
Hi Andre, thank you very much for that information. Do you ever run into memory and/or JVM issues with your approach? Did you start generation out of flowscript? Could you give a little example to get an idea about your approach? Thanks an best regards, Patrick Hi, I do use dynamic form

Re: dynamic cForms definitions/templates

2008-07-18 Thread Patrick Heiden
: Fri, 18 Jul 2008 08:48:55 +1000 Von: Kamal Bhatt [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: dynamic cForms definitions/templates Patrick Heiden wrote: Hello together! In my current project I need to build CForms out of an evolutionary DB, e.g. some entities change

dynamic cForms definitions/templates

2008-07-17 Thread Patrick Heiden
Hello together! In my current project I need to build CForms out of an evolutionary DB, e.g. some entities change their attributes and behaviour. To reflect these changes I am searching for a solution like [1]. Is this still a good path to follow, or is the dynamic creation of form-definitions

Installing 2.2

2008-07-16 Thread Patrick Heiden
Hello together! I've been working with 2.2 before the official release (now as binary) and always checked out cocoon from svn trunk. Then I've installed everything using the -P allblocks semantics. Fine! Now I want to switch to the official release and downloaded the binary. And there is no

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Hi David! thanks for the fast reply ;) but... snip / Pretty much! You should think of C2.2 applications as being a collection of different blocks some generated using the command you show above and some from different archetypes. Not all of your blocks have to be 'Cocoon blocks'. And

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Thanks a lot David, that is what I need to proceed. Cheers, Patrick Original-Nachricht Datum: Wed, 16 Jul 2008 11:36:24 +0100 Von: David Legg [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: Installing 2.2 Patrick, It sounds like you did all the right things

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Maybe you could give me one more information, David: Why is there a binary download available, if (hopefully most) users build their apps with maven and dependencies are obtained automatically? Best regards, Patrick -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Hello Reinhard! Thank you for that statement!! Wouldn't ist be usefull to include cocoon-samples, too? I imagine, that maybe this is in conflict with needed tools (maven, jetty, plugins,..) to run the samples... I am not sure, but maybe they could be served as binary as well (e.g. a samples

Re: Installing 2.2

2008-07-16 Thread Patrick Heiden
Hi Mika, as an semi-amateur web application developer I have to say that moving on to 2.2 has been too big step for me. Not familiar with the Maven and even figuring out of the examples has caused me pain to understand what's going on... I understand exactly what you mean ;-)

Re: EnterSitemapEventListener

2008-05-02 Thread Patrick Heiden
Hi Robin! Much thanks for that!! Finally I went down a different road, too ;) I followed Jörgs taste from [1] and started reusing declarative transaction management (TM). This is for the cost of prinitializing much stuff (objects with collections and the like), but I do not have to worry

Re: [HELP] SitemapEvenListener

2008-04-23 Thread Patrick Heiden
Hello! snip/ Still no ideas/solutions to share (Jörg?). I am still within this case ;) A have read [1] and assume that one of your aforementioned colleagues is Jörg Heinicke ( maybe you have a solution meanwhile, Jörg? Especially: How are you able to use declarative transaction

Re: [2.2] Building samples

2008-04-21 Thread Patrick Heiden
Hi Kamal! I've written a patch for the security sample, working with spring-security. This was done, becausee the shipped example with acegi did not work correctly. You can find the patch under [1] if you need it. Greetings and have fun, Patrick [1]

xpatch

2008-04-21 Thread Patrick Heiden
Hello together! Is it right, that xpatch-mechanism is only working for cocoon-blocks, not for cocoon-webapp? Further more, if I got the docs right, it will only be used at compile time or during the usage of rcl, right? Greetings, Patrick -- GMX startet ShortView.de. Hier findest Du Leute mit

Re: [HELP] SitemapEvenListener

2008-04-18 Thread Patrick Heiden
Hello Carsten! I have no knowledge about this spring/hibernate stuff, but if your hibernate code is correct, it should work (ok, I know this doesn't help you). So, my question is if you're sure that your code in leftSitemap() should really get to the session created in enteredSitemap?.

Re: [HELP] SitemapEvenListener

2008-04-18 Thread Patrick Heiden
Hi Carsten! snip/ No, that's the correct place. Actually I have no idea why this is not working for you. As the place is correct and as the listener is called on enter and exit, I assume that the problem is somewhere in your code. I am still within this case ;) A have read [1] and assume

[HELP] SitemapEvenListener

2008-04-17 Thread Patrick Heiden
Hello together! I am trying to implement an OpenSessionInViewInterceptor (OSIVI) using Cocoons (2.2) Enter/LeaveSitemapEventListener. I have one class wich implements both Listener interfaces: ... public void enteredSitemap(EnterSitemapEvent event) { log.debug(Opening Hibernate Session and

Re: EnterSitemapEventListener

2008-04-16 Thread Patrick Heiden
Is there any documentation available about usage of EnterSitemapEventListener? OK, maybe it would be helpfull to state the goals I want to achieve. I read [1] and want/have to implement the OpenSessionInViewFilter/Interceptor for myself. Unfortunately for me, Robin left no results within his

Re: pom.xml / Tomcat

2008-04-14 Thread Patrick Heiden
have some zero-crossings ;) Best greetings, Patrick Original-Nachricht Datum: Sun, 13 Apr 2008 23:03:40 +0200 Von: Grzegorz Kossakowski [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: pom.xml / Tomcat Patrick Heiden pisze: Sorry, I've forgotten to activate logging

Tomcat - no pipeline matched request

2008-04-14 Thread Patrick Heiden
Hello together! Has anybody ideas, why with jetty:run i can process my map:match pattern=test map:call funtion=someFunction/ /map:match but not inside tomcat?? Thanks and greetings, Patrick -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:

Re: RCL goal refactorings / acegi

2008-04-14 Thread Patrick Heiden
Unfortunately, this bit is still missing: http://cocoon.apache.org/1273_1_1.html Quick guide is: 1. Checkout sources of Cocoon. 2. Hack them. 3. Use your favorite IDE/Subversion fronted to prepare patches of your changes. 4. Create an issue in JIRA

EnterSitemapEventListener

2008-04-14 Thread Patrick Heiden
Hello together! Is there any documentation available about usage of EnterSitemapEventListener? Greetings, Patrick -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

Re: pom.xml / Tomcat

2008-04-13 Thread Patrick Heiden
Hi Grzegorz! Patrick Heiden pisze: snip/ I also used the simple webApp-Block out of the tut. Inside that blocks pom.xml there are dependencies to myBlock 12 and also the dependency to my domainModel. With that dependency given, there is no chance to get the app running inside tomcat

Re: pom.xml / Tomcat

2008-04-13 Thread Patrick Heiden
Hello Grzegorz! I still have to remove myDomainModel-dependency from cocoons web-app block to get the app running inside tomcat. Clearly this can not be an RCL issue, due to the fact that RCL never 'touches' my tomcat, but this is a little misterious, still. WDYT?? Besides: I recieve

Re: pom.xml / Tomcat

2008-04-13 Thread Patrick Heiden
Actually all Blocks (three :) depend on myDomainBlock: dependencies of my domain (plain maven block): [INFO] The following files have been resolved: [INFO]antlr:antlr:jar:2.7.6:compile [INFO]asm:asm:jar:1.5.3:compile [INFO]asm:asm-attrs:jar:1.5.3:compile [INFO]

Re: pom.xml / Tomcat

2008-04-13 Thread Patrick Heiden
Sorry, I've forgotten to activate logging, here an extendet version of tomcats output, maybe now you are able to see what is happening: Using CATALINA_BASE: /home/pepemuck/_opt/tomcat55 Using CATALINA_HOME: /home/pepemuck/_opt/tomcat55 Using CATALINA_TMPDIR: /home/pepemuck/_opt/tomcat55/temp

Re: pom.xml / Tomcat

2008-04-13 Thread Patrick Heiden
Sorry, I've forgotten to activate logging, here an extendet version of tomcats output, maybe now you are able to see what is happening: snip actual-archetypes=somewhat-mixed-up-within-my-configuration / I would guess, that I've done something wrong with my archetypes. What versions for

Re: deploy Tomcat

2008-04-11 Thread Patrick Heiden
Hello together! Well it is confusing: It still is, but I came a bit closer! I've deployed an empty webapp again and my tomcat-logfile states, that org.springframework.web.context.ContextLoaderListener could not be found (NoSuchClassException). That is perfectly ok for empty webapp, since

Re: deploy Tomcat

2008-04-11 Thread Patrick Heiden
Hello together! I am still within this 'mess'. What information should I provide to get some help? (Still try to deploy cocoon-base app inside tomcat 5.5, still there is FATAL: Error listernerStart and still I have no idea what is going on, because other apps, wich rely on

pom.xml / Tomcat

2008-04-11 Thread Patrick Heiden
Hello together! I actually solved the problem with deploying my app to tomcat (thread: deploy tomcat). But my fault keeps my headache awake. I have a somewhat rich domain-model, persisted with both, hibernate and jdbc. That model is inside my local maven repo. To keep my error-search simple, I

Re: Block redirect/dispatch

2008-04-10 Thread Patrick Heiden
Hello Nikolas! Hi Grzegorz, thanks for your informative answer. Grzegorz Kossakowski schrieb: [SNIP] Before I start to comment on your proposals/questions I need to ask a few mine: 1. Do you _really_ think that having central point (sitemap) that rewrites your URLs for blocks

Re: Block redirect/dispatch

2008-04-10 Thread Patrick Heiden
Forgott to state [1]-reference, so here it is, sorry: [1] http://www.mail-archive.com/users@cocoon.apache.org/msg41207.html -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Re: RCL goal refactorings / acegi

2008-04-10 Thread Patrick Heiden
Hello! Patrick Heiden pisze: Hi! snip what=some good tips how to get Acegi running/ I would enjoy to see this little update inside cocoon-trunk for new users. Maybe one 'little' problem is the aforementioned availability of the spring-security artifact (2.0.0 RC1) inside mavens

Re: deploy Tomcat

2008-04-10 Thread Patrick Heiden
startup? -- ill try this immediately Greetings, Patrick Regards, Jeroen On Wed, 2008-04-09 at 17:34 +0200, Patrick Heiden wrote: Hi Jeroen, Hi Patrick, Do you have any idea, which XML Schema is causing this error? While looking at the tomcat server.xml did you also

Re: RCL goal refactorings / acegi

2008-04-10 Thread Patrick Heiden
Alright, I will following your steps as soon as I am ready to do! Thank you very much! Original-Nachricht Datum: Thu, 10 Apr 2008 21:16:16 +0200 Von: Grzegorz Kossakowski [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: RCL goal refactorings / acegi Patrick

Re: deploy Tomcat

2008-04-10 Thread Patrick Heiden
', since I know that this var is used inside that script, nothing but exceptions. So solutions for 6.0-users are somewhat welcome, I guess ;) Greetings, Patrick Greetings, Patrick Regards, Jeroen On Wed, 2008-04-09 at 17:34 +0200, Patrick Heiden wrote: Hi Jeroen, Hi

Re: RCL goal refactorings / acegi

2008-04-09 Thread Patrick Heiden
: RCL goal refactorings / acegi Patrick Heiden wrote: Hello together! Why is the acegi example still out-of-order? I've read [1] from Reinhard Poetz (back in Jun 2007) and there he mentioned trouble with ApplicationContext access due to the fact it seems to get closed when integrating

Re: RCL goal refactorings / acegi

2008-04-09 Thread Patrick Heiden
Hello! snip/ I thought Giacomo had the sample once up and running, but he used the latest acegi sources from trunk, which aren't available in a maven repository. Maybe it's worth to give it a try. Felix I will try this within the next hours and will give feedback. Best greetings,

Re: RCL goal refactorings / acegi

2008-04-09 Thread Patrick Heiden
Hello! Sure. The Maven 2 plugin can be found at http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-maven-plugin/. It contains all the stuff that creates a small web application for a block so that it becomes runnable in a servlet container. The integration of the RCL is done by

Re: RCL goal refactorings / acegi

2008-04-09 Thread Patrick Heiden
Hi! snip/ I thought Giacomo had the sample once up and running, but he used the latest acegi sources from trunk, which aren't available in a maven repository. Maybe it's worth to give it a try. Felix This was a very usefull hint, I got it up running smoothly ;) Following steps need to

Re: deploy Tomcat

2008-04-09 Thread Patrick Heiden
Hi Jeroen, Hi Patrick, Do you have any idea, which XML Schema is causing this error? While looking at the tomcat server.xml did you also notice this statement: Note: XML Schema validation will not work with Xerces 2.2. Actually I have no idea. I am using standard cocoon generated

Re: deploy Tomcat

2008-04-09 Thread Patrick Heiden
Well following the tomcat documentation: http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html it says you will can provide your own xerces implementation. Since it's tomcat that will do the validation, I guess you will have to add it to the endorsed dir of your tomcat

Re: RCL goal refactorings / acegi

2008-04-09 Thread Patrick Heiden
Hi Grzegorz ! Patrick Heiden pisze: snip what=some good tips how to get Acegi running/ I would enjoy to see this little update inside cocoon-trunk for new users. Maybe one 'little' problem is the aforementioned availability of the spring-security artifact (2.0.0 RC1) inside mavens

Re: RCL goal refactorings / acegi

2008-04-09 Thread Patrick Heiden
Hi! snip what=some good tips how to get Acegi running/ I would enjoy to see this little update inside cocoon-trunk for new users. Maybe one 'little' problem is the aforementioned availability of the spring-security artifact (2.0.0 RC1) inside mavens repository. Could this be solved

RCL goal refactorings / acegi

2008-04-08 Thread Patrick Heiden
Hello together! Why is the acegi example still out-of-order? I've read [1] from Reinhard Poetz (back in Jun 2007) and there he mentioned trouble with ApplicationContext access due to the fact it seems to get closed when integrating acegi. I am able to reproduce the exception with baby-fresh

deploy Tomcat

2008-04-08 Thread Patrick Heiden
Hello together! I've got some errors while deploying my app to Tomcat (5.5 and 6.x). I switched XML Validation and XSD namespacesAware attributes to true and deployed an empty cocoon webapp block. Tomcat is not able to set up the context for that (exception from Tomcat 6.x at the end of this

Re: LinkRewriter transformer documentation

2008-04-02 Thread Patrick Heiden
Hi, Where can I find these docs? Much thanks, Patrick Original-Nachricht Datum: Wed, 02 Apr 2008 09:30:25 +0200 Von: Luca Morandini [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: LinkRewriter transformer documentation Luca Morandini wrote: Does anyone mind

Re: LinkRewriter transformer documentation

2008-04-02 Thread Patrick Heiden
Thank you! Original-Nachricht Datum: Wed, 02 Apr 2008 09:57:06 +0200 Von: Luca Morandini [EMAIL PROTECTED] An: users@cocoon.apache.org Betreff: Re: LinkRewriter transformer documentation Patrick Heiden wrote: Hi, Where can I find these docs? The Javadocs

connection pooling

2008-04-01 Thread Patrick Heiden
? Is there some general docu available for cocoon 2.2? With best regards, Patrick Heiden -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: [EMAIL

Re: Basic Auth with SSF

2008-03-29 Thread Patrick Heiden
Yepp, Hi, Reading with interest this thread [1] and wondering how it might relate to my situation... I have a servlet (eXist XML DB) mounted as a block and would like dependent blocks to use http basic auth when calling it via SSF. Each dependent block will have its own username

Re: SSF

2008-03-28 Thread Patrick Heiden
:) Carsten Patrick Heiden wrote: You are right about easyness of ServletFilter, but what if one would like to secure not just the entering, but instead also parts of operations to be in scope for Users with e.g. special Roles? There is also possibility to auth against mod_auth upfront

Re: SSF

2008-03-28 Thread Patrick Heiden
Patrick Heiden schrieb: Hi Carsten! I would love to use acegi, but the acegi auth-block sample is not running (got a fresh trunk 5 days ago). Any further references on howto come to grasp with acegi inside cocoon? Hi Patrick, no, sorry, I never used it in real live

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-27 Thread Patrick Heiden
Hello! snip/ Great. As I said, it would be nice if you could share your experiences (possibly by writing some tutorials). Could you please explain the block convention a little, because http://cocoon.zones.apache.org/daisy/cdocs-site-main/g2/1345.html is a little short on services (blocks

SSF

2008-03-27 Thread Patrick Heiden
Hello together! What should one do, if he/she wants to let all requests get routed through a mainController block first and therefor disabling direct calls to connected blocks (registered at some mount-path)? Best regards Patrick -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der

Re: SSF

2008-03-27 Thread Patrick Heiden
Hi you both! Vadim Gritsenko pisze: On Mar 27, 2008, at 12:55 PM, Grzegorz Kossakowski wrote: Vadim Gritsenko pisze: On Mar 27, 2008, at 10:36 AM, Patrick Heiden wrote: What should one do, if he/she wants to let all requests get routed through a mainController block first and therefor

Re: SSF

2008-03-27 Thread Patrick Heiden
The other possibility (maybe better one) could be to let the auth-block and rendering block stand alone and then let the service blocks depend on them. WDYT? Greetings, Patrick -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!

Re: SSF

2008-03-27 Thread Patrick Heiden
The other possibility (maybe better one) could be to let the auth-block and rendering block stand alone and then let the service blocks depend on them. This has still the 'disadvantage' of users beeing able to call blocks directly. Grzegorz: I recognized the updated SSF-documentation with new

[HELP]: Block conventions

2008-03-26 Thread Patrick Heiden
Hello togehter! While building a mainController-Block, wich defines my main routings and servlet-connections (through SSF) I read the following block conventions: http://cocoon.zones.apache.org/daisy/cdocs-site-main/g2/1345.html Within the tutorials there are several options, describing how

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Patrick Heiden
On Mar 26, 2008, at 7:28 AM, Luca Morandini wrote: Magnus Haraldsen Amundsen wrote: map:match pattern=**/images/*.gif map:read src=resources/images/{1}.gif mime-type=image/gif/ /map:match I’ve tried it, but hasn’t had any success in getting it working yet. It should be {2} (not

Re: cocoon-session-fw (deprecated?)

2008-03-26 Thread Patrick Heiden
Hi! Patrick Heiden wrote: Good Morning ;) Within that blocks src I read that it will be removed in future!? Is it still advisable to use it anyway? No :) The session-fw is a reminder of the old Cocoon days where everything should be xml. It is nice and easy for some things

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Patrick Heiden
On Mar 26, 2008, at 9:26 AM, Patrick Heiden wrote: On Mar 26, 2008, at 7:28 AM, Luca Morandini wrote: Magnus Haraldsen Amundsen wrote: map:match pattern=**/images/*.gif map:read src=resources/images/{1}.gif mime-type=image/gif/ /map:match I’ve tried it, but hasn’t had any success

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Patrick Heiden
Luca Morandini pisze: Grzegorz Kossakowski wrote: I try to evangelize usage patterns of SSF obstinately but still I see there is a plenty of room for improvement of my actions. ;-) What I want to say: use servlet: protocol + LinkRewritingTransformer and forget about path issues!

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Patrick Heiden
Hi! Patrick Heiden pisze: Is there some documentation available about necessary steps to get this running? Not able to imagine how static recources within some blocks are visible to later httpd. Basic information (from ages pre-SSF) on how to setup httpd in front of Cocoon can

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Patrick Heiden
Patrick Heiden pisze: I think the basic idea is simple and elegant - so all one needs to do is configure mod-cache to handle expires properly (what should be easy for statics like e.g. imgs, hopefully ;) and then use servlet:/somegif.gif inside HTML. Would really enjoy to try this out

Re: java 1.5 and cocoon

2008-03-24 Thread Patrick Heiden
Hello Joerg! Some parts of my domainmodel rely on java-1.5 specific stuff like Generics and so on. Within my first cocoon steps I don't have changed the source=1.3 attribute and of course get the 'generics are not supported in -source 1.3'-build-error. Is this the only thing I

Re: java 1.5 and cocoon [SOLVED]

2008-03-24 Thread Patrick Heiden
Well, it was my fault. I've just need to put this in my own parent.pom, of course : plugin artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration source1.5/source target1.5/target /configuration /plugin ;) Greetings, Patrick -- GMX

Re: java 1.5 and cocoon

2008-03-22 Thread Patrick Heiden
Hello Vadim! Some parts of my domainmodel rely on java-1.5 specific stuff like Generics and so on. Within my first cocoon steps I don't have changed the source=1.3 attribute and of course get the 'generics are not supported in -source 1.3'-build-error. Is this the only thing I

[HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
Hello together! I'm trying to find a 'best' way to integrate my domainmodel/businesslayer into cocoon 22 block-semantics. Imagine a rich domainmodel with several package-specific services presented to the client as facade (decoupling persistence and the like). Development of the domainmodel is

Re: [HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
raised a similar question: http://www.mail-archive.com/users@cocoon.apache.org/msg40943.html The discussion there may be helpful to you as well. Andre. Patrick Heiden wrote: Hello together! I'm trying to find a 'best' way to integrate my domainmodel/businesslayer into cocoon 22

Re: [HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
@cocoon.apache.org Betreff: Re: [HELP]: blocks and domainmodel Patrick, some time ago I raised a similar question: http://www.mail-archive.com/users@cocoon.apache.org/msg40943.html The discussion there may be helpful to you as well. Andre. Patrick Heiden wrote: Hello together! I'm

Re: [HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
PROTECTED] An: users@cocoon.apache.org Betreff: Re: [HELP]: blocks and domainmodel Patrick Heiden pisze: Hello again! So following your advised discussion, I am able to create the whole domainmodel as standalone .jar and add this as dependency to webapp-block, right? Of course I also

Re: [HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
Hi Andre! snip/ It is actually possible to import beans etc from other files. See http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-basics Section 3.2.2.1. Composing XML-based configuration metadata You would write something like: import

Re: [HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
Hello! snip/ Sorry, I was apparently not clear. I use facades that sit on top of the domain layer. My flow scripts just deal with these facades. These facades are made transaction aware. You do exactly the same. Currently, I have just one spring conf file (in the jar) that defines the

Re: RE: [HELP]: blocks and domainmodel

2008-03-20 Thread Patrick Heiden
Hi Andre! Yeah, I guess that this would settle the matter then. One transaction definition file to transact them all... Maybe one last gap in addition to your thought about block-specific transaction-management: If one must somehow define special transaction purposes, e.g. different

java 1.5 and cocoon

2008-03-20 Thread Patrick Heiden
Hello together! Some parts of my domainmodel rely on java-1.5 specific stuff like Generics and so on. Within my first cocoon steps I don't have changed the source=1.3 attribute and of course get the 'generics are not supported in -source 1.3'-build-error. Is this the only thing I have to

cocoon-session-fw (deprecated?)

2008-03-20 Thread Patrick Heiden
Good Morning ;) Within that blocks src I read that it will be removed in future!? Is it still advisable to use it anyway? Greetings, Patrick -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

Re: designing with 22-blocks

2008-03-19 Thread Patrick Heiden
Hello Reinhard! snip/ Patrick, many thanks for your thoughts. They are well appreciated. As you might guess, our main problem is the lack of spare time to follow your suggestions. Yes, I am able to imagine and spare time also has to be spend far from any keyboards ;) What would you

Re: application-context loading order

2008-03-17 Thread Patrick Heiden
Hello! snip/ I meant: if you want to achieve always the same result as by using cocoon.getComponent() and you need an access to WebApplicationContext directly then go with our own version of WebAppContextUtils that is aware of context switching. Anyway, using cocoon.getComponent() is

Re: application-context loading order

2008-03-16 Thread Patrick Heiden
Hi Patrick. Hello Grzegorz! I'm not surprised that you are confused becuase the whole issue is not that easy to figure out, really. Let me explain everything is managed. First of all, root webAppCtx is initialized by Spring of course. Then it reads the applicationContext.xml[1] file

Re: application-context loading order

2008-03-15 Thread Patrick Heiden
Good Morning! I am still interested in understanding that appCtx-mechanisms. I've read through several APIs and several source files. After this first quick breed I could not find specific class(es), wich is responsible for load up block-specific contexts and the whole webAppCtx respectively.

Re: application-context loading order

2008-03-14 Thread Patrick Heiden
Could somebody please explain in wich order springs application context is created (out of all 'block-specific' contexts inside META-INF/cocoon/spring/*.xml). I don't think the order of the block's spring.xml matter since AFAIK a child context is created for every block extending a

application-context loading order

2008-03-13 Thread Patrick Heiden
Could somebody please explain in wich order springs application context is created (out of all 'block-specific' contexts inside META-INF/cocoon/spring/*.xml). Thanks and greetings, Patrick -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:

getBeanDefinitionCount() = 0 ??

2008-03-13 Thread Patrick Heiden
Hello together! I have created several beans inside a block. I wonder a little bit, why the call to appCtx.getBeanDefinitionCount() returns 0 ?? I am able to receive those beans via getComponent() and with appCtx.getBean(). appCtx is instance of some implementation of

Re: getComponent vs. context.getAttribute

2008-03-12 Thread Patrick Heiden
Pretty fast! Carsten Ziegeler wrote: Patrick Heiden wrote: Thanks for this one! It might even be the simpler approach. What is confusing for me so far (informations I got from Grzegorz Kossakowski), that the actual implementation (2.2) does not 'really' support different bean

Re: still exception

2008-03-11 Thread Patrick Heiden
First I have to apologize for posting with different topic. I thought if I only change topic my post would appear as new thread! Keep this in my mind! Thanks, have you considered contributing to our docs directly?[1] But I have some issue with the tutorial Deploying a Cocoon application

Re: Help with Cocoon and Spring

2008-03-11 Thread Patrick Heiden
Hello! But in addition to my concerns about a final deployable war of my webapp, what should I do to deactivate jetty and rcl within my production-environment (wich is going to be Tomcat). This has of course security reasons and should keep my war as small as possible. Is this the

getComponent vs. context.getAttribute

2008-03-11 Thread Patrick Heiden
Hello together! Is there any notable difference in asking for Spring-beans inside flow-scripts wheter using cocoon.getComponent(myBean); // via avalon-bridge!? or var appCtx = cocoon.context.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE); appCtx.getBean(myBean);

  1   2   >