Re: action + jxgenerator
dunno it's early morning here but, shouldn't you set it as a request attribute or session attribute instead? Joose Vettenranta wrote: Hi, I have an action, which creates java Object.. something like this: MyClass obj = new MyClass(); obj.setId (10); I'm trying to save that object to a requst object: obj Then I have in jxgenerator like this: http://apache.org/cocoon/templates/jx/1.0";> ${request.dong.id} #{request.dong.id} ${dong.id} and nothing comes out to between those elements.. what do I do wrong?=) In sitemap I have: Thanks, Joose -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
Brent Sure. Even good documentation will never substitute for being able to ask a "guru" and, as I said originally, the Cocoon community is one of its key strengths. Its just that to get people over the initial learning hurdle takes guidance; and most of us are prepared to "self learn" with a reasonable level of written material. I agree that part of the revised docs could/should be a FAQ; not too hard to do if you are prepared to wade through past archives! One of the subjects I would like to see addressed, and it does come up quite often, is a comprehensive guide to "Variables in the Cocoon Environment". There are a multitude of places where variable data can be stored and manipulated (XSP, XSLT, Flow, Sitemap, Java etc.) and passing data around an application can be just as hairy. This is a topic which cuts across a number of others and, for that reason, would give quite a good perspective on the "inner workings" of Cocoon as well as being helpful on where and how to deal with data. My 2 too. >>> [EMAIL PROTECTED] 2004/11/10 04:52:43 PM >>> Maybe there is one and Ive just never found it. But a Cocoon forum would be pretty helpful. Sure this list is great.. and most people on it are very helpful. It'd be nice to have an archive of helpful answers, stickyable topics, forum categories, etc. I realize marc.theaimsgroup.com mailing list searches are fairly helpful.. but a forum would be much nicer. Sure there could stand to be more documentation.. but I found when I was learning how to use Hibernate I frequently searched their forums for more obscure questions/answers than reviewing the documentation. Just my 2 cents. - Brent On Wed, 10 Nov 2004 09:45:16 +0200, Derek Hohls <[EMAIL PROTECTED]> wrote: > Ralph > > Yup. I am not envious of any other open source package > ito community support and the intrinsic capability of the system > but I if had the odd, spare $10k or even $100k lying around > the first thing I would do is offer to hire some people (tech expert > + writer/editor) to redo all the documents; including the main > website and wiki. Plus produce a high quality "getting going" guide > (such as the one that projects like Hibernate has.) > > I can dream, right? > > Derek > > PS Yes, in theory, the above could be done by the community, > but in practice some old-fashioned, top-down, focussed effort is > actually what it takes to get something like this together. > > >>> [EMAIL PROTECTED] 2004/11/10 08:54:17 AM >>> > > > Derek Hohls wrote: > > >I guess my 2c is that I do think Cocoon remains obscure. There > >seem to be lots of people doing lots of good things with it, but > >its never promoted [read - not discussed, written about, in forums > >outside of Cocoon groups, where others could sit up and take > >notice]. It is a chicken-and-egg situation... but these things can > >be changed. > > > My $.02. > > My experience with everyone who is now using Cocoon in our organization > > has gone something like this: > > 1. I already know Struts (and JSPs)... > 2. It's too complicated. > 3. The documentation is bad. The published books are old and don't > cover > the current release. > 4. Wow. It does that?! > 5. This is really ccol! > > Obviously, getting past 1, 2 and 3 are the hard part, with 1 and 2 > being > the worst. The irony is that the solution, IMO, is number 3. Cocoon > needs better documentation, more published articles, and better > documentation. > > Ralph > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > - > 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] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
So be it.. Let's get it underway... On 10 Nov 2004, at 23:16, David Crossley wrote: beyaNet wrote: Derek, I agree with the point you make, so lets start the ball rolling. Is there anybody out there that would like to document editor-in-charge? No-one is "in charge" in an Open Source community. The Cocoon developers and Project Management Committee make the decisions about the direction of the project. This current thread has the name [OT] meaning "Off Topic". A concrete Proposal would need to be made to the [EMAIL PROTECTED] list. -- David Crossley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <> +The home of urban music + http://www.beyarecords.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
beyaNet wrote: > Derek, > > I agree with the point you make, so lets start the ball rolling. Is > there anybody out there that would like to document editor-in-charge? No-one is "in charge" in an Open Source community. The Cocoon developers and Project Management Committee make the decisions about the direction of the project. This current thread has the name [OT] meaning "Off Topic". A concrete Proposal would need to be made to the [EMAIL PROTECTED] list. -- David Crossley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
URGENT Error during deseralization
I've been running cocoon 2.0.4 for about a 1.5 years in production. In the last few days we've been having problems after running cocoon after a couple hours. We get the following exception in the error.log file. I'm not exactly sure what we could have changed in the last few days which would cause the following error. Before the most recent restart of tomcat we cleared out the work directory. java 1.3.1 tomcat 3.3.1 aix 5.1 Thank you for any insight. ERROR (2004-11-10) 16:30.56:254 [core.store.persistent] (/cocoon/vhp-stories/loc.natlib.afc2001001.02054/) Thread-28/FilesystemStore: Error during deseralization.java.io.FileNotFoundException: /.mnt.local.jakarta/tomcat331/work/DEFAULT/cocoon/cocoon-files/cache-dir/PK_S-html-1_PK_G-file-1501448853731169250_T-xslt--6365172838749439061_ (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java(Inlined Compiled Code)) at java.io.FileInputStream.(FileInputStream.java(Inlined Compiled Code)) at org.apache.cocoon.util.IOUtils.deserializeObject(IOUtils.java(Compiled Code)) at org.apache.cocoon.components.store.FilesystemStore.get(FilesystemStore.java(Compiled Code)) at org.apache.cocoon.components.store.MRUMemoryStore.get(MRUMemoryStore.java(Compiled Code)) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java(Compiled Code)) at org.apache.cocoon.www.vhp_stories.sitemap_xmap.matchN1010D(sitemap_xmap.java(Compiled Code)) at org.apache.cocoon.www.vhp_stories.sitemap_xmap.process(sitemap_xmap.java(Compiled Code)) at org.apache.cocoon.www.vhp_stories.sitemap_xmap.process(sitemap_xmap.java(Compiled Code)) at org.apache.cocoon.sitemap.Handler.process(Handler.java(Compiled Code)) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java(Compiled Code)) at org.apache.cocoon.sitemap.AbstractSitemap.invoke(AbstractSitemap.java(Inlined Compiled Code)) at org.apache.cocoon.www.sitemap_xmap.matchN10273(sitemap_xmap.java(Compiled Code)) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java(Compiled Code)) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java(Compiled Code)) at org.apache.cocoon.sitemap.Handler.process(Handler.java(Compiled Code)) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java(Compiled Code)) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java(Compiled Code)) at org.apache.cocoon.Cocoon.process(Cocoon.java(Compiled Code)) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java(Compiled Code)) at org.apache.tomcat.core.Handler.invoke(Handler.java(Inlined Compiled Code)) at org.apache.tomcat.core.Handler.service(Handler.java(Compiled Code)) at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java(Compiled Code)) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java(Compiled Code)) at org.apache.tomcat.core.ContextManager.service(ContextManager.java(Compiled Code)) at org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Interceptor.java(Compiled Code)) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java(Compiled Code)) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Thread.java:513)
- Tried to write it myself, but failed
Hi there, so I tried to write the - Method. I failed. Here my code so far (the complete java and xsl-files are in the attachement). XSPSessionFwHelper: public static void setXML(ComponentManager cm, String context, String path, String xml) throws ProcessingException, Exception { SessionManager sessionManager = null; Document doc = null; try { // Start looking up the manager sessionManager = (SessionManager) cm.lookup(SessionManager.ROLE); // Create a DOM builder and parse the string DocumentBuilderFactory factory = DocumentBuilderFactory .newInstance(); Document d = factory.newDocumentBuilder().parse( new InputSource(new StringReader(xml))); // Import the nodes of the new document into doc so that they // will be compatible with doc Node node = doc.importNode(d.getDocumentElement(), true); // Create the document fragment node to hold the new nodes DocumentFragment docfrag = doc.createDocumentFragment(); // Move the nodes into the fragment while (node.hasChildNodes()) { docfrag.appendChild(node.removeChild(node.getFirstChild())); } sessionManager.setContextFragment(context, path, docfrag); } catch (ComponentException ce) { throw new ProcessingException( "Error during lookup of SessionManager component.", ce); } catch (Exception e) { } finally { // End releasing the sessionmanager cm.release((Component) sessionManager); } } Session-fw.xsl: XSPSessionFwHelper.setXML(this.manager, String.valueOf(), String.valueOf(), String.valueOf()) I get the following error using the setxml in a xsp: Original Exception: org.apache.cocoon.components.language.LanguageException: Error compiling session_xsp: ERROR 1 (org\apache\cocoon\www\samples\blocks\portal_fw\session_xsp.java): ... "context", "context", "CDATA", "authentication" // start error (lines 409-409) "Syntax error on token ";", ")" expected" ); // end error xspAttr.addAttribute( "", "path", ... Line 409, column 0: Syntax error on token ";", ")" expected at org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:204) at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:173) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl.java:399) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:311) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:362) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:646) Here the session_xsp.java; the error part: XSPSessionFwHelper.setXML(this.manager, String.valueOf(""), String.valueOf(""), String.valueOf( this.contentHandler.startElement( "http://apache.org/xsp/session-fw/1.0";, "setxml", "xsp-session-fw:setxml", xspAttr ); // Syntax error, insert ")" to complete Expression xspAttr.clear(); this.contentHandler.endElement( "http://apache.org/xsp/session-fw/1.0";, "setxml", "xsp-session-fw:setxml" ); )) // Syntax error on tokens, delete these tokens OK. This is my first attempt. If this is some kind of right approach, yeahh. If not, please dont laugh. Could someone give me a hint, if Im not so wrong. cheers jonny _ Tun Sie Ihrem Rechner was Gutes. MSN Hotmail mit McAfee® Anti-Virus. http://www.msn.de/email/antivirus/ Jetzt kostenlos anmelden! XSPSessionFwHelper.java Description: Binary data http://www.w3.org/1999/XSL/Transform"; xmlns:xsp="http://apache.org/xsp"; xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0";> org.apache.cocoon.environment.Session org.apache.avalon.framework.component.ComponentManager org.apache.cocoon.components.language.markup.xsp.XSPSessionFwHelper org.w3c.dom.DocumentFragment true false true /* Session session = request.getSession(); */
action + jxgenerator
Hi, I have an action, which creates java Object.. something like this: MyClass obj = new MyClass(); obj.setId (10); I'm trying to save that object to a requst object: obj Then I have in jxgenerator like this: http://apache.org/cocoon/templates/jx/1.0";> ${request.dong.id} #{request.dong.id} ${dong.id} and nothing comes out to between those elements.. what do I do wrong?=) In sitemap I have: Thanks, Joose -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Intermediate page in between request and response
Hi, I have a cocoon program that display huge now of rows when a user request for search for some information. When the user enters data in page1 and clicks GO I have a xsp to search information in the database and display it in page2.The time it takes for the search is 5 min or so I want to display an intermediate page which contains an animated image ( like in www.orbitz.com) and then take the user to page2 when the search is done. This is required because the users sometimes clicks GO 2,3 times resulting in multiple searches . Users do not realize that the search is going on hence causing many other problems. Right now this is how I have it in my sitemap. Is there a way I can show an intermediate page ?? by the way I am using cocoon portal server. Thanks you very much in advance, Anna. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JX-Template with repeater data... how to?
hello Cocooner's! i have a problem: want to display data from a repetar widget in a JX-Template. So data is passed to the template via a Flow: --- form2.showForm("goods"); var model2 = form2.getModel(); cocoon.sendPageAndWait("confrim_goods", {"model": model2}); -- with works fine with usual c-forms and jx-tempalets where i adress them like: -- >${model.WIDGET_NAME} -- but how can i do the same with a repeater (the c-forms tempalte is this): - - --- and the JX-Tempalte THAT DOES NOT WORK is this: --- goodsMaterialId description amount unit confiscate assignAbleToPerson ${model.goodsMaterialId} ${model.description} ${model.amount} ${model.unit} ${model.confiscate} ${model.assignAbleToPerson} --- i do not know what to put in the to adress the goods elements of the model Thanks in davance, thanks a lot indeed! phil- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JXtemplate session-context
That's interesting, for it is actually what I do all the time to solve this kind of problems (inject simple data into jxt). I wonder how you are using jxt as a "standalone" and what are the benefits e.g. over xsp (besides xsp being ugly, that is ...) - I am just curious, what can you do with jxt alone ? Jan Hoskens wrote: I know how to use flow/jxtemplate, but I was just wondering if I could get there without flow. It's a bit overhead to create an extra pipe to call a function and then only pass one extra piece of info retrieved from the session context to a display-pipeline. This seems like making a simple page more difficult, if you know what I mean ;-) Thanks for your reply Johannes, Kind Regards, Jan Johannes Textor wrote: Hi Jan, afaik there is no way to do this directly in jxt. Anyway I think that's more a design decision than a lacking feature, since you should not use jxt to do complex stuff - it's a mere formatting language. You can, of course, retrieve this information in your flow script and pass it to jxt using normal template parameters. (You can also pass complex objects like the complet authentication context, for example) HTH, Johannes Jan Hoskens wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
¿WSRP + Portal Engine?
I wonder if Portal Engine is intended to support Web Services for Remote Portlets. Thanks. Antonio Vera. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JXtemplate session-context
I know how to use flow/jxtemplate, but I was just wondering if I could get there without flow. It's a bit overhead to create an extra pipe to call a function and then only pass one extra piece of info retrieved from the session context to a display-pipeline. This seems like making a simple page more difficult, if you know what I mean ;-) Thanks for your reply Johannes, Kind Regards, Jan Johannes Textor wrote: Hi Jan, afaik there is no way to do this directly in jxt. Anyway I think that's more a design decision than a lacking feature, since you should not use jxt to do complex stuff - it's a mere formatting language. You can, of course, retrieve this information in your flow script and pass it to jxt using normal template parameters. (You can also pass complex objects like the complet authentication context, for example) HTH, Johannes Jan Hoskens wrote: Hi, Is there a way to get session-context information in JXTemplateGenerator? I know there's a session, but what if I need to retrieve the ID from the authencation context? (context=authentication and path=authentication/ID) Kind Regards, Jan - 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]
Re: [OT] This is quite disappointing...
Maybe there is one and Ive just never found it. But a Cocoon forum would be pretty helpful. Sure this list is great.. and most people on it are very helpful. It'd be nice to have an archive of helpful answers, stickyable topics, forum categories, etc. I realize marc.theaimsgroup.com mailing list searches are fairly helpful.. but a forum would be much nicer. Sure there could stand to be more documentation.. but I found when I was learning how to use Hibernate I frequently searched their forums for more obscure questions/answers than reviewing the documentation. Just my 2 cents. - Brent On Wed, 10 Nov 2004 09:45:16 +0200, Derek Hohls <[EMAIL PROTECTED]> wrote: > Ralph > > Yup. I am not envious of any other open source package > ito community support and the intrinsic capability of the system > but I if had the odd, spare $10k or even $100k lying around > the first thing I would do is offer to hire some people (tech expert > + writer/editor) to redo all the documents; including the main > website and wiki. Plus produce a high quality "getting going" guide > (such as the one that projects like Hibernate has.) > > I can dream, right? > > Derek > > PS Yes, in theory, the above could be done by the community, > but in practice some old-fashioned, top-down, focussed effort is > actually what it takes to get something like this together. > > >>> [EMAIL PROTECTED] 2004/11/10 08:54:17 AM >>> > > > Derek Hohls wrote: > > >I guess my 2c is that I do think Cocoon remains obscure. There > >seem to be lots of people doing lots of good things with it, but > >its never promoted [read - not discussed, written about, in forums > >outside of Cocoon groups, where others could sit up and take > >notice]. It is a chicken-and-egg situation... but these things can > >be changed. > > > My $.02. > > My experience with everyone who is now using Cocoon in our organization > > has gone something like this: > > 1. I already know Struts (and JSPs)... > 2. It's too complicated. > 3. The documentation is bad. The published books are old and don't > cover > the current release. > 4. Wow. It does that?! > 5. This is really ccol! > > Obviously, getting past 1, 2 and 3 are the hard part, with 1 and 2 > being > the worst. The irony is that the solution, IMO, is number 3. Cocoon > needs better documentation, more published articles, and better > documentation. > > Ralph > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > - > 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: JXtemplate session-context
Hi Jan, afaik there is no way to do this directly in jxt. Anyway I think that's more a design decision than a lacking feature, since you should not use jxt to do complex stuff - it's a mere formatting language. You can, of course, retrieve this information in your flow script and pass it to jxt using normal template parameters. (You can also pass complex objects like the complet authentication context, for example) HTH, Johannes Jan Hoskens wrote: Hi, Is there a way to get session-context information in JXTemplateGenerator? I know there's a session, but what if I need to retrieve the ID from the authencation context? (context=authentication and path=authentication/ID) Kind Regards, Jan - 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: [OT] This is quite disappointing...
Derek, I agree with the point you make, so lets start the ball rolling. Is there anybody out there that would like to document editor-in-charge? regards Andrew On 10 Nov 2004, at 10:30, Derek Hohls wrote: Andrew There have been attempts before to get the documentation more organised/comprehensive/up-to-date etc etc. People tend to get defensive - understandably so - if they feel this is directed "against" them. Clearly, we all do "what we can" and no one is saying that no documentation *at all* is better than what we have (!). Nonetheless, its my belief that a firm hand needs to be applied across the board... taking a big picture point-of-view to rationalise, rewrite, discard etc. to move to a higher standard. Not all of us are capable of this - I am sure that we'd all rather be doing system development anyway - but we could certainly comment and add our 2c on any drafts (bearing in mind that the "editors decision is final"). I am hopeful that a suitable person to take on this role exists in the community! [EMAIL PROTECTED] 2004/11/10 11:49:26 AM >>> Hi chaps, I think it would be a good idea then for a comprehensive documentation standard to be draw-up, against which the rest of the community to produce cohesive documentation against. regards Andrew On 10 Nov 2004, at 09:33, David Crossley wrote: Derek Hohls wrote: Ralph Yup. I am not envious of any other open source package ito community support and the intrinsic capability of the system but I if had the odd, spare $10k or even $100k lying around the first thing I would do is offer to hire some people (tech expert + writer/editor) to redo all the documents; including the main website and wiki. Plus produce a high quality "getting going" guide (such as the one that projects like Hibernate has.) I can dream, right? Derek PS Yes, in theory, the above could be done by the community, but in practice some old-fashioned, top-down, focussed effort is actually what it takes to get something like this together. Or some new-fashioned concept, like Bertrand just suggested. It must be a community effort. It would be almost impossible for a small group of "experts" to document Cocoon. I doubt that anyone could say that they knew every aspect in detail. So we need to mobilise our current community. -- David Crossley - 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] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <> +The home of urban music + http://www.beyarecords.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JXtemplate session-context
Hi, Is there a way to get session-context information in JXTemplateGenerator? I know there's a session, but what if I need to retrieve the ID from the authencation context? (context=authentication and path=authentication/ID) Kind Regards, Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Mine-type
Hi, I'm wondering how to get the mine-type of a serializer (in a custom transformer). I tried something like this, but I got an NPE: ServiceSelector selector = ( ServiceSelector )this.manager.lookup( Serializer.ROLE + "Selector" ); Serializer serializer = ( Serializer )selector.select( "html" ); if ( serializer.getMimeType().equals( "text/html" ) ) { // to something... } Configuration into the sitemap: -//W3C//DTD HTML 4.01 Transitional//EN ISO-8859-1 Help would be appreciated. Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reference design database xindice
hi andres: Are you trid on the xindice list?: http://xml.apache.org/xindice/mail.html Best Regards, Antonio Gallardo Andres Taborda dijo: > Hi, > Someone who can give me a good reference (tutorial and > samples) of design databases xml, > > Thanks very much > > > > > _ > Do You Yahoo!? > Información de Estados Unidos y América Latina, en Yahoo! Noticias. > Visítanos en http://noticias.espanol.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: WordML in cocoon
Hi: Not sure if this would help you: http://issues.apache.org/bugzilla/show_bug.cgi?id=31724 Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: WordML in cocoon
Is there xhtml2wordml xsl transformations? Can somebody share it? Regards, Oleksandr -Original Message- From: Markus Heussen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 10:56 AM To: [EMAIL PROTECTED] Subject: Re: WordML in cocoon use html generator and transform the xhtml to wordml using xslt - 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: oracle Database question
Lionel Crine wrote: Hello, I will work with Oracle and I have several questions about it. Access to the database : The requests to the database can only be done with esql or there another transformer or generator, etc ...? You can also use SQL Transformer or plain JDBC access. Cache : I will use the Oracle cache to get great performance because my requests can be important. But I also need to use the cocoon cache to put some results in the cache. So the caching process can allow me to do that with the sqltransformer, etc ...? I supposed that I need to configure the cocoon.xconf ? SQL Transformer is not cacheable I think. How do you plan to invalidate your data in cocoon cache? Package object in Oracle : I supposed I can execute a Package with a custom class ? Intermediary Indexes : I will need to make request with intermediary indexes. Sqltransformer will allow me to do that ? Could you post a sample of what you want to do. -- Leszek Gawron MobileBox [EMAIL PROTECTED] http://www.mobilebox.pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
oracle Database question
Hello, I will work with Oracle and I have several questions about it. Access to the database : The requests to the database can only be done with esql or there another transformer or generator, etc ...? Cache : I will use the Oracle cache to get great performance because my requests can be important. But I also need to use the cocoon cache to put some results in the cache. So the caching process can allow me to do that with the sqltransformer, etc ...? I supposed that I need to configure the cocoon.xconf ? Package object in Oracle : I supposed I can execute a Package with a custom class ? Intermediary Indexes : I will need to make request with intermediary indexes. Sqltransformer will allow me to do that ? Thanks Lionel -- Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.46.06.90 begin:vcard fn:Lionel Crine n:Crine;Lionel adr:;;22 rue Etienne de Jouy;JOUY EN JOSAS;;78353;FRANCE email;internet:[EMAIL PROTECTED] title:documentary systems engineer tel;work:01.34.58.70.70 tel;fax:01.39.46.06.90 x-mozilla-html:FALSE url:http://www.4dconcept.fr version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
Derek Hohls wrote: Ralph Yup. I am not envious of any other open source package ito community support and the intrinsic capability of the system but I if had the odd, spare $10k or even $100k lying around the first thing I would do is offer to hire some people (tech expert + writer/editor) to redo all the documents; including the main website and wiki. Plus produce a high quality "getting going" guide (such as the one that projects like Hibernate has.) Especially with the structure of the Website, I agree 100% ... Even if this Wiki is realy usefull sometimes. I always use it to read a little and learn by doing this. Every time I try to use it to solve a problem I get no satisfactory results. In my oppinion, learnng Cocoon hat gotten harder in the last year. I can dream, right? Derek PS Yes, in theory, the above could be done by the community, but in practice some old-fashioned, top-down, focussed effort is actually what it takes to get something like this together. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
Andrew There have been attempts before to get the documentation more organised/comprehensive/up-to-date etc etc. People tend to get defensive - understandably so - if they feel this is directed "against" them. Clearly, we all do "what we can" and no one is saying that no documentation *at all* is better than what we have (!). Nonetheless, its my belief that a firm hand needs to be applied across the board... taking a big picture point-of-view to rationalise, rewrite, discard etc. to move to a higher standard. Not all of us are capable of this - I am sure that we'd all rather be doing system development anyway - but we could certainly comment and add our 2c on any drafts (bearing in mind that the "editors decision is final"). I am hopeful that a suitable person to take on this role exists in the community! >>> [EMAIL PROTECTED] 2004/11/10 11:49:26 AM >>> Hi chaps, I think it would be a good idea then for a comprehensive documentation standard to be draw-up, against which the rest of the community to produce cohesive documentation against. regards Andrew On 10 Nov 2004, at 09:33, David Crossley wrote: > Derek Hohls wrote: >> Ralph >> >> Yup. I am not envious of any other open source package >> ito community support and the intrinsic capability of the system >> but I if had the odd, spare $10k or even $100k lying around >> the first thing I would do is offer to hire some people (tech expert >> + writer/editor) to redo all the documents; including the main >> website and wiki. Plus produce a high quality "getting going" guide >> (such as the one that projects like Hibernate has.) >> >> I can dream, right? >> >> Derek >> >> PS Yes, in theory, the above could be done by the community, >> but in practice some old-fashioned, top-down, focussed effort is >> actually what it takes to get something like this together. > > Or some new-fashioned concept, like Bertrand just suggested. > > It must be a community effort. It would be almost > impossible for a small group of "experts" to > document Cocoon. I doubt that anyone could say that > they knew every aspect in detail. So we need to mobilise > our current community. > > -- > David Crossley > > > - > 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] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
David Up to a point... but committees do NOT write good, clean and consistent documents (in my experience anyway). The central author needs to be someone with the most overall knowledge, ably assisted by a good editor, who pulls everything together. I expect that experts would be drawn in as needed... and then you have a whole community to proof-read, cross-check etc. etc. I would argue that *this* is the "new-fashioned" approach. Derek PS Remember we are not starting from scratch here. There is much that is excellent, some that is very good, and so on. But it does all need sorting out in a non ad-hoc way. >>> [EMAIL PROTECTED] 2004/11/10 11:33:53 AM >>> Derek Hohls wrote: > Ralph > > Yup. I am not envious of any other open source package > ito community support and the intrinsic capability of the system > but I if had the odd, spare $10k or even $100k lying around > the first thing I would do is offer to hire some people (tech expert > + writer/editor) to redo all the documents; including the main > website and wiki. Plus produce a high quality "getting going" guide > (such as the one that projects like Hibernate has.) > > I can dream, right? > > Derek > > PS Yes, in theory, the above could be done by the community, > but in practice some old-fashioned, top-down, focussed effort is > actually what it takes to get something like this together. Or some new-fashioned concept, like Bertrand just suggested. It must be a community effort. It would be almost impossible for a small group of "experts" to document Cocoon. I doubt that anyone could say that they knew every aspect in detail. So we need to mobilise our current community. -- David Crossley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
Hi chaps, I think it would be a good idea then for a comprehensive documentation standard to be draw-up, against which the rest of the community to produce cohesive documentation against. regards Andrew On 10 Nov 2004, at 09:33, David Crossley wrote: Derek Hohls wrote: Ralph Yup. I am not envious of any other open source package ito community support and the intrinsic capability of the system but I if had the odd, spare $10k or even $100k lying around the first thing I would do is offer to hire some people (tech expert + writer/editor) to redo all the documents; including the main website and wiki. Plus produce a high quality "getting going" guide (such as the one that projects like Hibernate has.) I can dream, right? Derek PS Yes, in theory, the above could be done by the community, but in practice some old-fashioned, top-down, focussed effort is actually what it takes to get something like this together. Or some new-fashioned concept, like Bertrand just suggested. It must be a community effort. It would be almost impossible for a small group of "experts" to document Cocoon. I doubt that anyone could say that they knew every aspect in detail. So we need to mobilise our current community. -- David Crossley - 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]
Antw: Custom Avalon component instantiation
Hello Peter, this works for me: cocoon.xconf mydb myroles.xconf: If yoo need a logger, then you can do something like this in cocoon.xconf: mydb The connection between cocoon.xconf and myroles.xconf is done with the shorthand. Martin >>> [EMAIL PROTECTED] Mittwoch, 10. November 2004 10:17:25 >>> Hi, I'm an "expert" user of Avalon Phoenix (and Merlin soon) containers so I know how to make Avalon components really. So I have been trying to use a Avalon component in the Cocoon (ECM) Avalon container but I'm having a problem. My component should exist only once, has a ROLE, a work interface, implements Contextualizable, Configurable, Initializable and Serviceable. The component is packed with debugging output and I have configured the logging category in logkit.xconf. I've added my own roles file to cocoon.xconf : ... and finally I've defined my component in cocoon.xconf. I tried two ways: or where mycomp.xconf is The problem is that the component does not get instantiated at all. I don't get any logging output except from Cocoon components that tell me that the role has been added under my shortcut etc. Also when I try to attach with a debugger I never get there, so it really seems that it does not get instantated and none of the contextualize(), service(), configure() and initialize() methods get called. A component (input module) that uses this component fails in the service() method because it cannot get the component. The question is why? I've crawled books, wikis, mailing lists, code samples and I cannot see what I'm doing wrong here. Can anybody that has already successfully written a custom component help please? Thanks, Peter -- Peter Klotz blue elephant systems GmbH Tel.: +49 711 451017-570 Wollgrasweg 49 Fax.: +49 711 451017-573 D-70599 StuttgartEmail: [EMAIL PROTECTED] WWW: www.blue-elephant-systems.com Sitz : Stuttgart, AG Stuttgart, HRB 24106 Geschäftsführer: Joachim Hörnle, Thomas Gentsch, Holger Dietrich - 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: [OT] This is quite disappointing...
Derek Hohls wrote: > Ralph > > Yup. I am not envious of any other open source package > ito community support and the intrinsic capability of the system > but I if had the odd, spare $10k or even $100k lying around > the first thing I would do is offer to hire some people (tech expert > + writer/editor) to redo all the documents; including the main > website and wiki. Plus produce a high quality "getting going" guide > (such as the one that projects like Hibernate has.) > > I can dream, right? > > Derek > > PS Yes, in theory, the above could be done by the community, > but in practice some old-fashioned, top-down, focussed effort is > actually what it takes to get something like this together. Or some new-fashioned concept, like Bertrand just suggested. It must be a community effort. It would be almost impossible for a small group of "experts" to document Cocoon. I doubt that anyone could say that they knew every aspect in detail. So we need to mobilise our current community. -- David Crossley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Street performers (was: [OT] This is quite disappointing...)
Le 10 nov. 04, à 10:28, David Crossley a écrit : ...This is very timely. This concept will surely get some discussion at the upcoming ApacheCon... Great! /me is growing sadder every day not to be there - but you know why David, my travel money is all gone for this year ;-) -Bertrand smime.p7s Description: S/MIME cryptographic signature
Re: Street performers (was: [OT] This is quite disappointing...)
Bertrand Delacretaz wrote: > Derek Hohls a écrit : > > > ...I if had the odd, spare $10k or even $100k lying around > > the first thing I would do is offer to hire some people (tech expert > > + writer/editor) to redo all the documents... > > Even if it's a dream, I like the idea: a hundred users times a hundred > dollars is $10k actually. > > If we could get some form of "street performer protocol" [1] setup to > allow users to get together and finance such work, I'm sure some of us > would be willing to take the job (I definitely would). > > We'd have to check with the ASF guidelines and make sure this is done > in a healthy way, but finding an easy way for people to sponsor work on > our projects is one of my top five dreams today. This is very timely. This concept will surely get some discussion at the upcoming ApacheCon. --David > Having the "easily sponsor someone else" option for fixing things, in > addition to "doing it yourself" or "waiting for someone to do it" could > be a very powerful addition to our collective toolbox. > > So we're at two dreams now ;-) > > -Bertrand > > [1] http://www.schneier.com/paper-street-performer.html - read "4 Our > Solution: The Street Performer Protocol", in particular. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon request and getServletPath() or getContextPath()
Hi all i need to have some path infos i have tried to use these methods: print ( cocoon.request.getPathInfo() ); print ( cocoon.request.getContextPath() ); print ( cocoon.request.getServletPath() ); But in all the methods i have this error message: org.apache.avalon.framework.CascadingRuntimeException: getPathInfo is not a function. org.apache.avalon.framework.CascadingRuntimeException: getContextPath is not a function. org.apache.avalon.framework.CascadingRuntimeException: getServletPath is not a function. Why this thing? And how can i have path infos? My environment is: Windows XP Home Edition, JBoss 3.2.5 Cocoon 2.1.5.1 Thanks to all Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. Abbonati subito su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Custom Avalon component instantiation
Hi, I'm an "expert" user of Avalon Phoenix (and Merlin soon) containers so I know how to make Avalon components really. So I have been trying to use a Avalon component in the Cocoon (ECM) Avalon container but I'm having a problem. My component should exist only once, has a ROLE, a work interface, implements Contextualizable, Configurable, Initializable and Serviceable. The component is packed with debugging output and I have configured the logging category in logkit.xconf. I've added my own roles file to cocoon.xconf : ... and finally I've defined my component in cocoon.xconf. I tried two ways: or where mycomp.xconf is The problem is that the component does not get instantiated at all. I don't get any logging output except from Cocoon components that tell me that the role has been added under my shortcut etc. Also when I try to attach with a debugger I never get there, so it really seems that it does not get instantated and none of the contextualize(), service(), configure() and initialize() methods get called. A component (input module) that uses this component fails in the service() method because it cannot get the component. The question is why? I've crawled books, wikis, mailing lists, code samples and I cannot see what I'm doing wrong here. Can anybody that has already successfully written a custom component help please? Thanks, Peter -- Peter Klotz blue elephant systems GmbH Tel.: +49 711 451017-570 Wollgrasweg 49 Fax.: +49 711 451017-573 D-70599 StuttgartEmail: [EMAIL PROTECTED] WWW: www.blue-elephant-systems.com Sitz : Stuttgart, AG Stuttgart, HRB 24106 Geschäftsführer: Joachim Hörnle, Thomas Gentsch, Holger Dietrich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Street performers (was: [OT] This is quite disappointing...)
Le 10 nov. 04, à 09:47, Derek Hohls a écrit : ...I take the example of the BoardGameGeek community; a completely ad-hoc group of 'net users who share a common passion for games. When the server the site was running on needed an upgrade, there was a call for donations (via pay-pal) and within in a *few days* there was enough money to do this (and this was just private individuals, mind you)... And mozilla raised 250k recently [1], so it's doable for sure. But it has to be done in a very strict and clean way - we don't want greed or politics to get in the way. And sponsoring should not favor committers vs. non-committers - we don't want committership to be related to money here. So there are some serious concerns to consider. But I'll keep dreaming about it, and hopefully find a way to do a concrete experiment... ...NB I assume here that people are contributing to get Cocoon as a whole improved and NOT for developers to work on their own "pet projects" - this should happen via normal workplace employment methods!.. Of course, agreed. -Bertrand [1] http://www.mozillazine.org/talkback.html?article=5442 smime.p7s Description: S/MIME cryptographic signature
Re: WordML in cocoon
use html generator and transform the xhtml to wordml using xslt Oleksandr Filatov schrieb: Hello all! Does anybody have experience with creation documents for MS Word 2003 in WordML format? I have to write something about transformation of html into wordml. What the best way to solve it? I think, that it will looks like next: 1. create custom reader (or smth.) that reads html from source, 2. turn it into wellformed document (xhtml) 3. and transform it into wordml by xsl transformation. Maybe somebody have other suggestions? Also interested in creating custom taglib that describes layout of word document. Can somebody share your own experience in working with creation documents for ms word? Regards, Oleksandr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] This is quite disappointing...
As a relative newbie who is still struggleing with the finer points of Cocoon here's my £0.02 worth. Ralph Goers wrote: Derek Hohls wrote: I guess my 2c is that I do think Cocoon remains obscure. There seem to be lots of people doing lots of good things with it, but its never promoted [read - not discussed, written about, in forums outside of Cocoon groups, where others could sit up and take notice]. It is a chicken-and-egg situation... but these things can be changed. About a week ago I started expanding the stub about Cocoon on Wikipedia. Hopefuly other list viewers can help improve this article further? My $.02. My experience with everyone who is now using Cocoon in our organization has gone something like this: 1. I already know Struts (and JSPs)... I heard about Cocoon before Struts. As I understood it Cocoon requires less programming from the standard user. So its main "selling" point is power combined with relative ease of use. Except for the beginner, moving forward with the current documentation is a bit of a struggle. 2. It's too complicated. 3. The documentation is bad. The published books are old and don't cover the current release. 4. Wow. It does that?! 5. This is really ccol! Obviously, getting past 1, 2 and 3 are the hard part, with 1 and 2 being the worst. The irony is that the solution, IMO, is number 3. Cocoon needs better documentation, more published articles, and better documentation. I agree totally. Amoungst others, I would like to see a "Cocoon Cookbook". An O'Reilly "Definitive Guide" would be nice (with a woocut image of a butterfly on the cover). For reference, and promotion! Remember though if 70% are using Struts - this does not mean that a portion of them are not using cocoon as well i.e. using the best tool for the particular project they are working on. Thanks, Neo99 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Street performers (was: [OT] This is quite disappointing...)
Interesting... and challenging. I know I do not pay license fees for Cocoon, but I am sure I should (if I have a good conscience!) find some way to do a cost recovery on each commercially sponsored project that involves use of Cocoon... provided, of course, there is some suitable financial arrangement in place. If I look back now and imagine that I had added a $100 "fee" to each project, I already might have been able to add hundreds of dollars to the "Cocoon Foundation". I take the example of the BoardGameGeek community; a completely ad-hoc group of 'net users who share a common passion for games. When the server the site was running on needed an upgrade, there was a call for donations (via pay-pal) and within in a *few days* there was enough money to do this (and this was just private individuals, mind you). So, yes, the "collective hat passing" (think of the model used in some churches) could definitely work in the OS community, especially if those who contribute get some say in what work is the most urgent (e.g. upgrade docs vs. fix some minor module). NB I assume here that people are contributing to get Cocoon as a whole improved and NOT for developers to work on their own "pet projects" - this should happen via normal workplace employment methods! >>> [EMAIL PROTECTED] 2004/11/10 10:20:38 AM >>> Le 10 nov. 04, à 08:45, Derek Hohls a écrit : > ...I if had the odd, spare $10k or even $100k lying around > the first thing I would do is offer to hire some people (tech expert > + writer/editor) to redo all the documents... Even if it's a dream, I like the idea: a hundred users times a hundred dollars is $10k actually. If we could get some form of "street performer protocol" [1] setup to allow users to get together and finance such work, I'm sure some of us would be willing to take the job (I definitely would). We'd have to check with the ASF guidelines and make sure this is done in a healthy way, but finding an easy way for people to sponsor work on our projects is one of my top five dreams today. Having the "easily sponsor someone else" option for fixing things, in addition to "doing it yourself" or "waiting for someone to do it" could be a very powerful addition to our collective toolbox. So we're at two dreams now ;-) -Bertrand [1] http://www.schneier.com/paper-street-performer.html - read "4 Our Solution: The Street Performer Protocol", in particular. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WordML in cocoon
Hello all! Does anybody have experience with creation documents for MS Word 2003 in WordML format? I have to write something about transformation of html into wordml. What the best way to solve it? I think, that it will looks like next: 1. create custom reader (or smth.) that reads html from source, 2. turn it into wellformed document (xhtml) 3. and transform it into wordml by xsl transformation. Maybe somebody have other suggestions? Also interested in creating custom taglib that describes layout of word document. Can somebody share your own experience in working with creation documents for ms word? Regards, Oleksandr
RE: Modifying an attribute with xpatch
Thanks Ralph, Your suggestion worked perfectly. -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 7:32 PM To: [EMAIL PROTECTED] Subject: Re: Modifying an attribute with xpatch Walsh, Mark wrote: > I am trying to use the task to change the attribute > check-reload from yes to no in the sitemap element in cocoon.xconf. > > > > Unfortunately, running my patch below causes the check-reload > attribute to change from "yes" to "yesno". > > > > My patch looks like this > > > > remove="/cocoon/sitemap/@check-reload/text()">no > > > > Before running the patch, the line in cocoon.xconf looks like this. > > > > > > After running my patch, the line in cocoon.xconf looks like this. > > > > > > Any ideas/help would be appreciated. I am using cocoon 2.1.4 > We do this with However, some enhancements were made to xpatch and I don't recall if they are in 2.1.4 or only in 2.1.5.1. Ralph - 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: Modifying an attribute with xpatch
Walsh, Mark wrote: I am trying to use the task to change the attribute check-reload from yes to no in the sitemap element in cocoon.xconf. Unfortunately, running my patch below causes the check-reload attribute to change from "yes" to "yesno". My patch looks like this remove="/cocoon/sitemap/@check-reload/text()">no Before running the patch, the line in cocoon.xconf looks like this. After running my patch, the line in cocoon.xconf looks like this. Any ideas/help would be appreciated. I am using cocoon 2.1.4 We do this with However, some enhancements were made to xpatch and I don't recall if they are in 2.1.4 or only in 2.1.5.1. Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Street performers (was: [OT] This is quite disappointing...)
Le 10 nov. 04, à 08:45, Derek Hohls a écrit : ...I if had the odd, spare $10k or even $100k lying around the first thing I would do is offer to hire some people (tech expert + writer/editor) to redo all the documents... Even if it's a dream, I like the idea: a hundred users times a hundred dollars is $10k actually. If we could get some form of "street performer protocol" [1] setup to allow users to get together and finance such work, I'm sure some of us would be willing to take the job (I definitely would). We'd have to check with the ASF guidelines and make sure this is done in a healthy way, but finding an easy way for people to sponsor work on our projects is one of my top five dreams today. Having the "easily sponsor someone else" option for fixing things, in addition to "doing it yourself" or "waiting for someone to do it" could be a very powerful addition to our collective toolbox. So we're at two dreams now ;-) -Bertrand [1] http://www.schneier.com/paper-street-performer.html - read "4 Our Solution: The Street Performer Protocol", in particular. smime.p7s Description: S/MIME cryptographic signature
Modifying an attribute with xpatch
I am trying to use the task to change the attribute check-reload from yes to no in the sitemap element in cocoon.xconf. Unfortunately, running my patch below causes the check-reload attribute to change from "yes" to "yesno". My patch looks like this remove="/cocoon/sitemap/@check-reload/text()">no Before running the patch, the line in cocoon.xconf looks like this. After running my patch, the line in cocoon.xconf looks like this. Any ideas/help would be appreciated. I am using cocoon 2.1.4