Re: Using built-in stylesheets tags in other built-in stylesheets
Hi Chris ! Thanks for your answer, I finally found an answer in the cocoon-dev list : I missed an xsl:copy element in the template that matches all other tags : xsl:template match=@*|*|text()|processing-instruction() priority=-2 xsl:copy -- this one xsl:apply-templates select=@*|*|text()|processing-instruction()/ /xsl:copy /xsl:template Thanks again, -- Olivier Billard C Bram Dit Saint Amand wrote: If I understood your problem correctly, you're having a few difficulties using cocoon-specific taglibs (like esql) inside custom logicsheets? I've done this quite easily, I just had to add the needed 'imports' (i.e. xmlns:WHATEVER) at the opening xsl:stylesheet tag of the custom logicsheet. Sample code from a custom logicsheet named 'chris-perso': ?xml version=1.0? xsl:stylesheet xmlns:chris-perso=http://www.prs-ltsn.leeds.ac.uk/chris-perso; xmlns:sql=http://www.prs-ltsn.leeds.ac.uk/sql; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true version=1.0 xsl:template match=chris-perso:last-viewed-docs !-- The following tag is another custom logicsheet, the name is quite badly chosen though... -- sql:generic-query esql:querySELECT DISTINCT C.AccessedRelativeURL, C.AccessDateTime, U.Reference FROM Connections C, UrlReference U WHERE C.AccessedRelativeURL = U.RelativeURL AND C.SessionID = 'xsp-session:get-id/' ORDER BY C.AccessDateTime DESC;/esql:query esql:results rowset-last-viewed-docs esql:row-results row-last-viewed-docs esql:get-columns/ /row-last-viewed-docs /esql:row-results /rowset-last-viewed-docs /esql:results /sql:generic-query /xsl:template /xsl:stylesheet I hope it helps... /Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cocoon build system
Hello All, Could anyone suggest to me the hint how can I compile my classes during cocoon building process? My classes use the library batik-all-1.5b5.jar, that has already placed in the batik block. When I put the batik-all-1.5b5.jar into the folder {$my_block_home}/lib I had the jar-verification error as follows: Please update the lib/jars.xml file to include the fins/lib/batik-all-1.5b5.jar file together with a description. : Fatal Error! Stylesheet directed termination E:/java/cocoon-2.1m3/tools/src/check-jars.xsl:110:40: Fatal Error! Fatal error during transformation Cause: Fatal error durin g transformation I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon build system
On Fri, 18 Jul 2003, Peter Velychko wrote: Hello All, Could anyone suggest to me the hint how can I compile my classes during cocoon building process? My classes use the library batik-all-1.5b5.jar, that has already placed in the batik block. When I put the batik-all-1.5b5.jar into the folder {$my_block_home}/lib I had the jar-verification error as follows: Please update the lib/jars.xml file to include the fins/lib/batik-all-1.5b5.jar file together with a description. : Fatal Error! Stylesheet directed termination E:/java/cocoon-2.1m3/tools/src/check-jars.xsl:110:40: Fatal Error! Fatal error during transformation Cause: Fatal error durin g transformation I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? local.build.properties: validate.jars=false Stephan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: cocoon build system
Hello Stephan, Friday, July 18, 2003, 12:54:52 PM, you wrote: SM On Fri, 18 Jul 2003, Peter Velychko wrote: Hello All, Could anyone suggest to me the hint how can I compile my classes during cocoon building process? My classes use the library batik-all-1.5b5.jar, that has already placed in the batik block. When I put the batik-all-1.5b5.jar into the folder {$my_block_home}/lib I had the jar-verification error as follows: Please update the lib/jars.xml file to include the fins/lib/batik-all-1.5b5.jar file together with a description. : Fatal Error! Stylesheet directed termination E:/java/cocoon-2.1m3/tools/src/check-jars.xsl:110:40: Fatal Error! Fatal error during transformation Cause: Fatal error durin g transformation I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? SM local.build.properties: SM validate.jars=false SM Stephan. Thank you. That's really simple :-). What is the global reason to validate jar-libraries? Also I added the new element dependjar for project into the gump.xml and changed blocks-build.xsl to process the added element and it work also. SM - SM To unsubscribe, e-mail: [EMAIL PROTECTED] SM For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to close a session in XSP applications
I have a XSP application that create a session when you start it. My problem is when I close the browser the session isn't closed and you can't open the application a second time. Does someone have a solution for this problem? Use better the authentication framework. It will autmatically open a session and there is and action to close a session too. Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HTMLArea and HTMLGenerator
Hi, is it possible to get input for HTMLGenerator from submitted form? Like when using IE's HTMLArea element to produce HTML, it would be nice to convert it to XHTML for further processing. - Joose -- Joose Vettenranta [EMAIL PROTECTED] GSM: +358 44 561 0270 * Always remember that you are unique. Just like everyone else.* signature.asc Description: This is a digitally signed message part
Re[2]: cocoon build system
I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? SM local.build.properties: SM validate.jars=false SM Stephan. Thank you. That's really simple :-). What is the global reason to validate jar-libraries? To validate name of the jars, and if there exist a description from where the lib comes, where it is used. We have approximately 100 jars, this target helps to get the overview. Also I added the new element dependjar for project into the gump.xml and changed blocks-build.xsl to process the added element and it work also. Fine :) Have fun, Stephan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTMLArea and HTMLGenerator
Joose, have a look at http://marc.theaimsgroup.com/?t=10585189823r=1w=2 HTH Guido Guido Casper - SN AG, Competence Center Open Source Tel.: +49-5251-1581-87 Klingenderstr. 5mailto:[EMAIL PROTECTED] D-33100 Paderborn http://www.s-und-n.de - - Original Message - From: Joose Vettenranta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 18, 2003 12:21 PM Subject: HTMLArea and HTMLGenerator Hi, is it possible to get input for HTMLGenerator from submitted form? Like when using IE's HTMLArea element to produce HTML, it would be nice to convert it to XHTML for further processing. - Joose -- Joose Vettenranta [EMAIL PROTECTED] GSM: +358 44 561 0270 * Always remember that you are unique. Just like everyone else.* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon build system
Hello Stephan, Friday, July 18, 2003, 1:25:36 PM, you wrote: Another problem. My classes have the package name beginning not with org.* But building temporary file blocks-build.xml contains in the target target ... name=fins-compile the following instruction: jar jarfile=${build.blocks}/fins-block.jar fileset dir=${build.blocks}/fins/dest include name=org/**/ include name=META-INF/**/ /fileset /jar where fins is the name of my block. So the resulting jar is empty. I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? SM local.build.properties: SM validate.jars=false SM Stephan. Thank you. That's really simple :-). What is the global reason to validate jar-libraries? SM To validate name of the jars, and if there exist SM a description from where the lib comes, where it is SM used. SM We have approximately 100 jars, this target helps to SM get the overview. Also I added the new element dependjar for project into the gump.xml and changed blocks-build.xsl to process the added element and it work also. SM Fine :) SM Have fun, Stephan. SM - SM To unsubscribe, e-mail: [EMAIL PROTECTED] SM For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cocoon build system
-Original Message- From: Peter Velychko [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 1:03 PM To: Stephan Michels Subject: Re: cocoon build system Hello Stephan, Friday, July 18, 2003, 1:25:36 PM, you wrote: Another problem. My classes have the package name beginning not with org.* But building temporary file blocks-build.xml contains in the target target ... name=fins-compile the following instruction: jar jarfile=${build.blocks}/fins-block.jar fileset dir=${build.blocks}/fins/dest include name=org/**/ include name=META-INF/**/ /fileset /jar where fins is the name of my block. So the resulting jar is empty. try substituting the jar element with: jar jarfile={string('${build.blocks}')}/{$block-name}-block.jar basedir={string('${build.blocks}')}/{$block-name}/dest/ Regards, P.S. BTW, I presume you're in the process of packaging the chart-making Cocoon-add-on called fins into a block, well... we've just done it ! In a few days we'll release the new version of fins as a Cocoon block (thanks to Daniel Fagerstrom for his guidance on Cocoon blocks). -- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://space.virgilio.it/kumora/index.html -- I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? SM local.build.properties: SM validate.jars=false SM Stephan. Thank you. That's really simple :-). What is the global reason to validate jar-libraries? SM To validate name of the jars, and if there exist SM a description from where the lib comes, where it is SM used. SM We have approximately 100 jars, this target helps to SM get the overview. Also I added the new element dependjar for project into the gump.xml and changed blocks-build.xsl to process the added element and it work also. SM Fine :) SM Have fun, Stephan. SM - SM To unsubscribe, e-mail: [EMAIL PROTECTED] SM For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Solution]: cocoon build system
Hello Peter, Friday, July 18, 2003, 2:03:02 PM, you wrote: PV Hello Stephan, PV Friday, July 18, 2003, 1:25:36 PM, you wrote: PV Another problem. PV My classes have the package name beginning not with org.* PV But building temporary file blocks-build.xml contains in the target PV target ... name=fins-compile the following instruction: PV jar jarfile=${build.blocks}/fins-block.jar PV fileset dir=${build.blocks}/fins/dest PV include name=org/**/ PV include name=META-INF/**/ PV /fileset PV /jar PV where fins is the name of my block. PV So the resulting jar is empty. To solve my problem I've changed the [$COCOON_HOME]/tools/src/blocks-build.xsl. I've added the following variable: xsl:variable name=block-package select=translate(package, '.', '/')/ into xsl:template match=project.../xsl:template and use include name={$block-package}/**/ instead of include name=org/**/ in jar jarfile={string('${build.blocks}')}/{$block-name}-block.jar fileset dir={string('${build.blocks}')}/{$block-name}/dest include name={$block-package}/**/ include name=META-INF/**/ /fileset /jar My classes begin with it.ipzs.charts.* (it is for fins project at http://www.cocoondev.org/) and the resulting jar cocoon-fins-block.jar is ok. I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? SM local.build.properties: SM validate.jars=false SM Stephan. Thank you. That's really simple :-). What is the global reason to validate jar-libraries? SM To validate name of the jars, and if there exist SM a description from where the lib comes, where it is SM used. SM We have approximately 100 jars, this target helps to SM get the overview. Also I added the new element dependjar for project into the gump.xml and changed blocks-build.xsl to process the added element and it work also. SM Fine :) SM Have fun, Stephan. SM - SM To unsubscribe, e-mail: [EMAIL PROTECTED] SM For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon build system
Hello Luca, Friday, July 18, 2003, 2:16:01 PM, you wrote: -Original Message- From: Peter Velychko [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 1:03 PM To: Stephan Michels Subject: Re: cocoon build system Hello Stephan, Friday, July 18, 2003, 1:25:36 PM, you wrote: Another problem. My classes have the package name beginning not with org.* But building temporary file blocks-build.xml contains in the target target ... name=fins-compile the following instruction: jar jarfile=${build.blocks}/fins-block.jar fileset dir=${build.blocks}/fins/dest include name=org/**/ include name=META-INF/**/ /fileset /jar where fins is the name of my block. So the resulting jar is empty. LM try substituting the jar element with: LM jar LMjarfile={string('${build.blocks}')}/{$block-name}-block.jar LMbasedir={string('${build.blocks}')}/{$block-name}/dest/ I done the same with a little another way (in my previous mail). I used the value of /module/project/package element. LM Regards, LM P.S. LM BTW, I presume you're in the process of packaging the chart-making Cocoon-add-on called fins into a block, well... we've just done LM it ! Yes. It was for fins. In any case it was the great experience for me. LM In a few days we'll release the new version of fins as a Cocoon block (thanks to Daniel Fagerstrom for his guidance on Cocoon LM blocks). It's very nice. Thank you. I'm awaiting your new release. LM -- LMLuca Morandini LMGIS Consultant LM [EMAIL PROTECTED] LM http://space.virgilio.it/kumora/index.html LM -- I han't found any means to add third part jars to {$my_block}.classpath for block sources compiling. Does the possibility exist? SM local.build.properties: SM validate.jars=false SM Stephan. Thank you. That's really simple :-). What is the global reason to validate jar-libraries? SM To validate name of the jars, and if there exist SM a description from where the lib comes, where it is SM used. SM We have approximately 100 jars, this target helps to SM get the overview. Also I added the new element dependjar for project into the gump.xml and changed blocks-build.xsl to process the added element and it work also. SM Fine :) SM Have fun, Stephan. SM - SM To unsubscribe, e-mail: [EMAIL PROTECTED] SM For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] LM - LM To unsubscribe, e-mail: [EMAIL PROTECTED] LM For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Peter Velychko [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Samples with CastroTransformer
Hello, are there some running samples with the CastorTransformer in the cocoon distribution? Or somewhere else? Thanks Uwe -- Uwe Gerger_/_/_/ _/_/ _/_/ BMW AG, TG-53 IT-Technologie _/ _/ _/_/_/_/ _/_/ 80788 Muenchen _/_/_/ _/ _/ _/ _/ _/ _/ Tel: +49 89 382 35687 _/ _/ _/_/ _/_/_/_/ Fax: +49 89 382 49040 _/_/_/ _/_/ _/_/ mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dynamic encoding for html serialiser?
Yury Mikhienko wrote: On Thu, 17 Jul 2003 10:25:56 -0400 Geoff Howard [EMAIL PROTECTED] wrote: Yury Mikhienko wrote: On Thu, 17 Jul 2003 09:43:27 -0400 Geoff Howard [EMAIL PROTECTED] wrote: Sometime ago this question was already asked on cocoon-dev list, but setup() method is not implemented in serializers at this time (( ... Hope that clears it up, Geoff Yes, you are right, but implementation of the setup() method make serialize step more flexible. It was decided to purposely deny that flexibility. You should be able achieve anything you need to with matchers and selectors. Ok, you set the rules. ;)) Well, it wasn't me but we (before I was part of we incidentally) but i do think I get the logic. However we (including you) set the rules, so if you think you have a good case for adding this feature, don't be afraid to bring it up on [EMAIL PROTECTED] First, search the archives to see if you can find and understand the original reasoning (if not ask on dev). Then, explain your use and ask for opinions about whether this should challenge the original decision. Only be ready to accept alternative solutions which preserve other important architectural protections. Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to close a session in XSP applications
Hello, In fact that's the case: I start the XSP application from within the Cocoon portal but I need to open another session for this app (I know it's a bit tricky). I thought that maybe there is a possibity to define a destroy method? Hi: This is the action used to close a session in the authentication framework. map:action name=auth-logout src=org.apache.cocoon.webapps.authentication.acting.LogoutAction/ Antonio Gallardo Thanks Regards Sylvain -Message d'origine- De: Antonio Gallardo [mailto:[EMAIL PROTECTED] Date: vendredi, 18. juillet 2003 12:18 À: [EMAIL PROTECTED] Objet: Re: How to close a session in XSP applications I have a XSP application that create a session when you start it. My problem is when I close the browser the session isn't closed and you can't open the application a second time. Does someone have a solution for this problem? Use better the authentication framework. It will autmatically open a session and there is and action to close a session too. Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HSSFSerialzer and fonts
For some reason the HSSFSerializer does not seem to honor the font specified in the XML below (Broadway). I have stared at this for awhile but cannot see the problem. Does anybody know of a problem related to this. I saw a post in another group in December that looked like it might be related. I think this is the link. http://www.mail-archive.com/[EMAIL PROTECTED]/msg01634.html thanks [EMAIL PROTECTED] - gmr:StyleRegion endCol=4 endRow=0 startCol=0 startRow=0 - gmr:Style Back=:: Fore=0:0:0 Format=General HAlign=1 PatternColor=0:0:0 Shade=0 VAlign=4 WrapText=0 gmr:Font StrikeThrough=0 Underline=0 Unit=9 Bold=1 Italic=0Broadway/gmr:Font /gmr:Style /gmr:StyleRegion - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Action for Cookies ?
ther is a cookie selector in the 2.1m3 version. At 10:41 17/07/2003 +0200, you wrote: Hi all ! Is there any action for manipulating cookies ? I would like to set a cookie and redirect, but, if I'm not wrong, only actions can be used for that, ... I'm using the CVS version of Cocoon. Thanks in advance... -- Olivier BILLARD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Command Line Interface
Hello Joerg, Thank you for your response and help. I got the cocoon-2.1_20030718045249 CVS and built it. But I am still having problems... I do ./cocoon.sh cli -x cli.xconf (I had mistyped this as -x cocoon.xconf in my previous email) Now, after the .jars load, I get this error, ERROR: Unexpected children of logging node, followed by FATAL_E 2003-07-18 09:54:59.335 [] (): Please, specify at least one starting URI. Exception in thread main java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at Loader.invokeMain(Unknown Source) at Loader.run(Unknown Source) at Loader.main(Unknown Source) Caused by: org.apache.cocoon.ProcessingException: Please, specify at least one starting URI. at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:179) at org.apache.cocoon.Main.main(Main.java:374) ... 7 more So I try specifying a URI on the command line by doing ./cocoon.sh cli build/webapp/test/samples.xml -x cli.xconf After the .jars load, I now get this error, ERROR: Unexpected children of logging node with the following Cannot find CatalogManager.properties server.properties not found, using command line or default properties Opening database: /Users/steven/Library/Cocoon/WEB-INF/db/cocoondb HSQLDB server 1.7.1 is running Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly Exception in thread main java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at Loader.invokeMain(Unknown Source) at Loader.run(Unknown Source) at Loader.main(Unknown Source) Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionBindingListener at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(E xcaliburComponentSelector.java:404) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil. java:239) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De faultComponentFactory.java:315) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize( ThreadSafeComponentHandler.java:141) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(E xcaliburComponentManager.java:554) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCompone ntManager.java:530) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil .java:282) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:321) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil .java:282) at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:237) at org.apache.cocoon.Main.main(Main.java:374) ... 7 more Fri Jul 18 09:50:54 PDT 2003 Listening for connections ... I tend to assume the problem is with me because I am a newbie, but I believe I have
[2.1m2][xmlforms][wizard-flow] nested model-beans and continuations
Hello all, I've got kind of a hair-brained question here, forgive me if it is not completely clear. I'm having a hard time thinking of how to create a flow and forms for editing a complex, highly nested, and even recursively defined bean. Let's say I have a bean class A with property of class B. B also has an optional property of type B. My best thinking is that when I come to those items in the xmlform, I will display a link to another flow, so that a sub-form is navigated to. Cramming everything into one form is, of course, not a very good option. Anyway, the theoretical solution presents me with two problems: 1. Could the new form and continuation be passed the old continuation, and access objects from the old flow? 2. Could the new flow return to continue the old continuation once it was done? I might possibly go as much as two or three continuations deeps. Remember that each is pretty much an XMLForm wizard implementation, so I'm not writing any other low-level flow code except that to control the form wizard much like in the xmlform samples. I haven't looked into woody that much yet, so if I'm missing something easier there, let me know. If anybody has any good pointers or general suggestions I would appreciate it! Surely someone else has had to deel with beans that weren't skin-deep and contained further complex types. TIA /S __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [2.1m2][xmlforms][wizard-flow] nested model-beans and continuations
Steven Cummings dijo: Hello all, I've got kind of a hair-brained question here, forgive me if it is not completely clear. I'm having a hard time thinking of how to create a flow and forms for editing a complex, highly nested, and even recursively defined bean. Let's say I have a bean class A with property of class B. B also has an optional property of type B. My best thinking is that when I come to those items in the xmlform, I will display a link to another flow, so that a sub-form is navigated to. Cramming everything into one form is, of course, not a very good option. Anyway, the theoretical solution presents me with two problems: 1. Could the new form and continuation be passed the old continuation, and access objects from the old flow? I am not sure, but maybe a recursion of the same function would work here. Please comments. 2. Could the new flow return to continue the old continuation once it was done? See above. I might possibly go as much as two or three continuations deeps. If the recursion can work here, the answer is yes. :) Remember that each is pretty much an XMLForm wizard implementation, so I'm not writing any other low-level flow code except that to control the form wizard much like in the xmlform samples. I haven't looked into woody that much yet, so if I'm missing something easier there, let me know. If anybody has any good pointers or general suggestions I would appreciate it! Surely someone else has had to deel with beans that weren't skin-deep and contained further complex types. TIA /S __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [2.1m2][xmlforms][wizard-flow] nested model-beans and continuations
Antonio, But how do you make a recursive call within the xmlform functionality? Do you call it within the javascript or from a page to the desired pipeline? Thanks. Steven --- Antonio Gallardo [EMAIL PROTECTED] wrote: Steven Cummings dijo: Hello all, I've got kind of a hair-brained question here, forgive me if it is not completely clear. I'm having a hard time thinking of how to create a flow and forms for editing a complex, highly nested, and even recursively defined bean. Let's say I have a bean class A with property of class B. B also has an optional property of type B. My best thinking is that when I come to those items in the xmlform, I will display a link to another flow, so that a sub-form is navigated to. Cramming everything into one form is, of course, not a very good option. Anyway, the theoretical solution presents me with two problems: 1. Could the new form and continuation be passed the old continuation, and access objects from the old flow? I am not sure, but maybe a recursion of the same function would work here. Please comments. 2. Could the new flow return to continue the old continuation once it was done? See above. I might possibly go as much as two or three continuations deeps. If the recursion can work here, the answer is yes. :) Remember that each is pretty much an XMLForm wizard implementation, so I'm not writing any other low-level flow code except that to control the form wizard much like in the xmlform samples. I haven't looked into woody that much yet, so if I'm missing something easier there, let me know. If anybody has any good pointers or general suggestions I would appreciate it! Surely someone else has had to deel with beans that weren't skin-deep and contained further complex types. TIA /S __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]