Re: Cache in logicsheet!!!!

2003-03-12 Thread Jakob Praher
logigsheets translate to java code, at least if you use them in an xsp page with @language=java, so you can do the following trick in your xsp page: xsp:page lanaguage=java xmlns:xsp=http://apache.org/xsp; xsp:logic /** @return null means not cacheable */ public

Re: [modules] url path of pipeline

2003-03-04 Thread Jakob Praher
Am Mon, 2003-03-03 um 12.17 schrieb Jakob Praher: Well, all the methods of o.a.c.environment.Request are available through JXPath here. getContextPath() and getSitemapURI() carry some of the information you are looking for. ok, thanks. But I thought I could get the url of the pipeline

Re: [modules] url path of pipeline

2003-03-03 Thread Jakob Praher
Well, all the methods of o.a.c.environment.Request are available through JXPath here. getContextPath() and getSitemapURI() carry some of the information you are looking for. ok, thanks. But I thought I could get the url of the pipeline where the call is made. like for instance:

[modules] url path of pipeline

2003-03-02 Thread Jakob Praher
hi all, definition: urlpath scheme://host:port:/urlpath in my cocoon-apps, it often turns out that I would like to know the UrlPath, that the current pipeline, that is handling the request has. Is there currently a module, sorry I hadn't had the time to look into the source files, which

Re: [modules] url path of pipeline

2003-03-02 Thread Jakob Praher
hi christian, You are looking for request.getServletPath(), thus {request:servletPath} not really. since servletPath for me returns the whole request, that comes in, not the pipeline, that processes the request. for instance a sitemap declares the pipeline listed below, the sitemap is mounted

howto get the context-root in a component registered incocoon.xconf

2003-02-09 Thread Jakob Praher
hi all, I want to load a component-manager from a selector, that I registered in cocoon.xconf. The problem is, that at configuration( .. ) time I have no way to access the objectModel, like for instance in an Action. But in order to get the configuration files properly, I somehow must have

Re: experiences with Morphon?

2003-02-03 Thread Jakob Praher
Am Mon, 2003-02-03 um 15.14 schrieb Martin Holz: Ines Robbers [EMAIL PROTECTED] writes: Hi there, Has anyone experiences with Morphon - XML Editor (http://www.morphon.com/xmleditor/index.shtml)? It would be a great tool, if interactive performance were better. On my Dual Pentium

Re: [XMLForm] xmlform-scope parameter

2003-01-15 Thread Jakob Praher
Am Mit, 2003-01-15 um 14.42 schrieb [EMAIL PROTECTED]: Hello, What is the difference between request and session for the value of xmlform-scope parameter? request means that the values are stored in the request attributes like: String formid = /*... */ Form frm = /* create the form */

Re: ORB/JDO and XMLForms

2003-01-12 Thread Jakob Praher
Am Son, 2003-01-12 um 23.09 schrieb Mark Horgan: Hi there, I'm a new user of cocoon and I'm trying to get the form part of cocoon setup. I've got XMLForms working, now I would like some way of automatically putting the info into a database. I'm exploring a method used in O'Reilly's Struts

Re: xmlform, javabeans and xml instances

2003-01-04 Thread Jakob Praher
Am Sam, 2003-01-04 um 20.27 schrieb Lee Pollington: Hi all, I am not that familiar with JavaBeans so please excuse me if this is a dumb question, it's not actually that Cocoon specific, anyways... XMLForm uses a JavaBean to store the form data, when I reach an end state I want to create

XMLForm: Binding of values

2002-12-18 Thread Jakob Praher
hi, I am dropping my xslt/xform impl in favour of the existing cocoon xform approach. Now I have come over some questions regarding the functionality: - Is it possible to bind to existing data? - If so how to do it ? thanks -- Jakob

Re: XMLForm: Binding of values

2002-12-18 Thread Jakob Praher
Am Mit, 2002-12-18 um 14.03 schrieb Konstantin Piroumian: From: Jakob Praher [EMAIL PROTECTED] hi, I am dropping my xslt/xform impl in favour of the existing cocoon xform approach. Now I have come over some questions regarding the functionality: - Is it possible to bind

cinclude and sitemap parameters

2002-11-12 Thread Jakob Praher
hi all, is it possible to access a sitemap parameter, within the cinclude tag in a page like this: sitemap: map:match pattern=composite/** map:generate src=aggreate.xml / map:transform type=cinclude map:parameter name=uri value=cocoon:/{1} / /map:transform map:serialize/

Re: cinclude and sitemap parameters

2002-11-12 Thread Jakob Praher
Try like: map:match pattern=composite/** map:generate src=aggreate.xml / map:transform src=sample.xsl map:parameter name=uri value=cocoon:/{1} / /map:transform map:transform type=cinclude/ map:serialize/ /map:match sample.xsl ?xml version=1.0?

Re: cinclude and sitemap parameters

2002-11-12 Thread Jakob Praher
... -- Jakob --- Geoff Howard [EMAIL PROTECTED] schrieb: IMHO it makes more sense to make aggreate.xml dynamic - a very simple xsp taking a parameter from the sitemap would do what you want and involves no further transforms beside the cinclude. Look into xsp. Geoff Howard --- Jakob Praher

catalog support for url rewriting

2002-11-11 Thread Jakob Praher
hi everybody, the oasis xml catalog format, that is in the xml-commons package, supports url rewriting. now I have configured the cocoon.xconf file and added the local-catalog parameter which points to a oasis catalog descriptor (which btw works with the resolver tool that comes with

the cocoon protocol

2002-03-28 Thread Jakob Praher
hi all, where can I find a specification of the cocoon:/ URI scheme and protcol handler? looking in cocoon.xconf [c2.0.2], there is only a protcol handler for resource:/ context:/ . as one can use the cocoon:/ in document() methods inside xslts, is it possible to access internal only

sitemap init parameters

2002-03-24 Thread Jakob Praher
hi all, I was wondering whether it is possible to state some initialization parameters in the sitemap, like it is possible to do in the web.xml descriptor? like map:initialization map:paramter name=my-param value=some-value / /map:initialization if not, is there a possibility to

java.net.URL and cocoon: URI-Scheme

2002-03-06 Thread Jakob Praher
hi all, I was wondering whether the cocoon:// URI-Scheme used in the sitemap is accessible through java.net.URL? And if so, could it thus be access by Xalan like this: xsl:value-of select=document( 'cocoon://foo/bar' ) / I have to confess that I haven't tried it out yet - it just came to my

xsp and XMLizable

2002-02-22 Thread Jakob Praher
hi all, system-state os name=linux kernel=2.4.17 / jdk version=1.3.1 vendor=blackdown / servlet-engine type=catalina version=4.0.1 / transformer type=xalan version=2.3.0 / cocoon version=2.0.1 / /system-state I have a problem with

Re: xsp and XMLizable

2002-02-22 Thread Jakob Praher
hi Torsten, Am Fre, 2002-02-22 um 12.46 schrieb Torsten Curdt: I have a problem with transformation and XMLizable objects: ( I also had the problem when I tried to wirte the this.contentHandler directly, or when I used the DOMStreamer ) Are you sure your SAXevents are correct? Namespace

[c2-b2] Cocoon 2 - Internal server error

2001-07-26 Thread Jakob Praher
hi, after successfully building and installing a untouched cocoon2-b2 on my tomcat [win2000], I get the below listet error when I try to access the default cocoon webapp (using the war package as well as installing the webapp) thanks in advance error Cocoon 2 - Internal server error type

AW: forms in coocon2, is SchemoX dead ?

2001-07-16 Thread Jakob Praher
hi, after talking to the founder of the schemoX project (and asking the same question) I know that it is not dead, suspended though. As I am highly in need for a (X)form rendering and validating engine, I will try to play with the schemoX codebase.. It would be great if anyone would join my