flow-jxpath in cform v2

2005-03-10 Thread Johnson



Hi!
 
I want to use database as list source,But I found 
the flow-jxpath doesn't work in cform flow script v2
How to do If I want to do the same in v2
 
Best Regards
 
Johnson


Re: How to pass an attaribute value from a resulting transformedxml

2005-03-10 Thread suryanarayana . murthy

Hi Jorg,

Thank you much for your suggestion. I will try with
WriteDomSessionTransformer.

Thanks & Regards,
Murthy

Jorg Heymans <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>
03/10/2005 19:29 CETPlease respond [EMAIL PROTECTED]

To   users@cocoon.apache.org
Subject  Re: How to pass an attaribute value from a resulting
transformedxml

Thanks for making your situation a bit more clear.
I had a look at the docs to find a component that might suit your needs.
Have you tried using the WriteDomSessionTransformer [1]? I have never
used it myself, but from the docs it seems like it could do the trick
for you :

   
   


Apparently, this transformer stores an object called "DBresult" in the
session, the object contains the DOM representation of your pipeline
encapsulated inside a root "rowset" element.

Inside the action that sets the response header you could fetch this
object, do some DOM searching until you find the title and voila!

HTH
Jorg

[1]http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transformer.html


Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Let's put some semantics

2005-03-10 Thread Petko Petkov
Hi guys,

First of all I want to thank you all. I have been receiving great
feedback from you.

Secondly, I am trying to build some sort of system that is based on
RDF and OWL. I have to say that it is a tedious job. Most of the time
I am working with XSLT which is not that reliable when It comes to
processing and aggregating meta data.

Now I am trygin to write RDF Aggregator by myself but I am still
doubting whether it is a good idea. I want to keep everything as
simple as possible but it just doesn't work that way. Don't get me
wrong, but it is hard to create simple stuff. I guess it is in our
nature to complicate everything.

Do you know anything that might help me?
Is there anyone who is interested in the same thing?

I know that, just for now, RDF and semantic web is hard to grasp, but
I belive that we could do some very intersting stuff with it.

Anyway, thank you for your attention.

Thank you!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cform fi:styling

2005-03-10 Thread Philippe Guillard
Thanks Chris.
Christian Könitzer wrote:
Hi
You define your field's in a file called e.g. "forms.xml":
(this is an example of a dropeDown List)

   
bookmarkCoplet.availableBookmarks 



   list-path="availableBookmarks"
   label-path="."
   value-path=".">



But your styling-information doesn't belong inside it.
For that you have an other file called e.g. "template.xml" (it's like 
yout HTML-file):


   
   

You see, for each styling information you can make an own entry.
So, if you like to make a radio-botton, but this example in your 
"forms.xml":
   
   OBJEKTART
   
   
   STRASSE
  ANDERE_ANGABEN 


  
and this example in your "template.xml":
   
   
[as much more styling as you like to have]
   
I hope you understand :)
Regards Chris

Philippe Guillard wrote:
Hi all,
It seems that the usual way to add some attributes to a field in 
CForms is to use  fi:styling tags.

I tried this on a fd:field without success : , it seems that i 
can only add one attribute, in that case list-type or onChange, but 
not the two. I checked forms-field-styling.xsl and added :

 
 
 

No result the onChange attribute is not copied.
Any idea?
Phil
-
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: JXTemplate and characters escaping

2005-03-10 Thread Ellis Pritchard
You could try wrapping the expression in a CDATA section; JXTemplate 
interprets expressions inside the CDATA, but then passes the CDATA 
itself through.

e.g.

Should output as:

The XSL can then select this out with , or you may not have to worry about 
that... have an experiment!

Ellis.
On 10 Mar 2005, at 15:42, Laurent Perez wrote:
Hello
Is the JXTemplateGenerator auto-escaping required HTML chars when they
are extracted as bean properties ? I have a weird problem with the
following piece of jx code + xsl transformation () :
é renders é.
however,
#{bean.bar} renders é (bar being "é" in my 
database)

The following being observed with a  right
after the jxtemplate generation, before the xslt transformation.
Is it possible to tell the jxtemplate not to escape these chars ?
Thanks
Laurent
-
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: How to install Cocoon 2.1.6 on Tomcat 4.1.30

2005-03-10 Thread Slein, Judith A
Yes, I was also wondering about the significance of "default".  All of the 
webapps (including cocoon) have upper-case WEB-INF, so I don't think that's the 
problem -- all the rest load successfully.

--Judy 

-Original Message-
From: Marc Salvetti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 09, 2005 8:39 PM
To: users@cocoon.apache.org
Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30

Hello

from what i see in the error message, it says "default web.xml" i think that 
maybe it means tomcat doesn't find the cocoon/web-inf/web.xml maybe because of 
lower case  with the web-inf folder ?

cheers

Marc

Slein, Judith A a écrit :

>Antonio,
>
>Thanks for your suggestion.  It is true that the cocoon web.xml file 
>was UTF-8, while the tomcat web.xml file was ISO-8859-1, but when I 
>saved them both as ISO-8859-1 I still got the same error.  (I also 
>tried both as UTF-8, which didn't make a difference either.)
>
>--Judy Slein
>
>-Original Message-
>From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 09, 2005 1:58 PM
>To: users@cocoon.apache.org
>Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30
>
>Hi:
>
>What distribution you downloaded? tar.gz or zip? under wich OS are you 
>deploying and building cocoon? Is posible this is an encoding problem.
>
>Best Regards,
>
>Antonio Gallardo.
>
>On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo:
>  
>
>>I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30,
>>
>>
>
>  
>
>>just building and copying the cocoon webapp directory to tomcat's 
>>webapps, with the following result:
>>
>>2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default 
>>web.xml
>>org.apache.commons.logging.LogConfigurationException:
>>org.apache.commons.logging.LogConfigurationException:
>>org.apache.commons.logging.LogConfigurationException: Class 
>>org.apache.commons.logging.impl.Log4JLogger does not implement Log
>>  at
>>org.apache.commons.digester.Digester.createSAXException(Digester.java:
>>27
>>84)
>>  at
>>org.apache.commons.digester.Digester.createSAXException(Digester.java:
>>28
>>10)
>>  at
>>org.apache.commons.digester.Digester.endElement(Digester.java:1066)
>>  at
>>org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
>>  at
>>org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
>>Source)
>>  at
>>org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
>>Source)
>>  at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
>>Source)
>>  at
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(U
>>nk
>>nown Source)
>>  at
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD
>>is
>>patcher.dispatch(Unknown Source)
>>  at
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk
>>no
>>wn Source)
>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>Source)
>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>Source)
>>  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>>Source)
>>  at
>>org.apache.commons.digester.Digester.parse(Digester.java:1569)
>>  at
>>org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.
>>ja
>>va:549)
>>  at
>>
>>
>>
>org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>  
>
>>  at
>>org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig
>>.j
>>ava:243)
>>  at
>>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
>>Su
>>pport.java:166)
>>  at
>>org.apache.catalina.core.StandardContext.start(StandardContext.java:35
>>87
>>)
>>  at
>>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
>>ja
>>va:821)
>>  at
>>
>>
>>
>org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>  
>
>>  at
>>org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
>>  at
>>org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl
>>oy
>>er.java:307)
>>  at
>>org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
>>  at
>>org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.ja
>>va
>>:559)
>>  at
>>org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
>>  at
>>org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
>>  at
>>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
>>35
>>8)
>>  at
>>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
>>Su
>>pport.java:166)
>>  at
>>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>>  at
>>org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
>>  at
>>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>>  at
>>org.apache.catalina.core

RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30

2005-03-10 Thread Slein, Judith A
Good suggestions.  Thanks.  I'm also trying to find out from the vendor
bundling Tomcat what customizations they might have done.

--Judy Slein 

-Original Message-
From: Antonio Gallardo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 09, 2005 3:30 PM
To: users@cocoon.apache.org
Subject: RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30

I will suggest to try to install first on a "clean" tomcat installation.
Then you can move to the other one.

BTW, are you copy the endorsed libs to tomcat endorsed?

shutdown tomcat,
Check inside cocoon_home/lib/endorsed and copy all of them to tomcat.
After that, restart tomcat.

Another tip, please be sure that tomcat is really down after doing the
shutdown. Somtimes happens that you have more than 1 tomcat instance
running.

Best Regards,

Antonio Gallardo



On Mie, 9 de Marzo de 2005, 13:46, Slein, Judith A dijo:
> I'm working from a zip of Cocoon on XP.  The tomcat I am trying to 
> install under came bundled with another software package, so I don't 
> have any details about what download was used for it.
>
> --Judy Slein
>
> -Original Message-
> From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 09, 2005 1:58 PM
> To: users@cocoon.apache.org
> Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30
>
> Hi:
>
> What distribution you downloaded? tar.gz or zip? under wich OS are you

> deploying and building cocoon? Is posible this is an encoding problem.
>
> Best Regards,
>
> Antonio Gallardo.
>
> On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo:
>> I've been trying to install cocoon 2.1.6 as a webapp on tomcat 
>> 4.1.30,
>
>> just building and copying the cocoon webapp directory to tomcat's 
>> webapps, with the following result:
>>
>> 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default 
>> web.xml
>> org.apache.commons.logging.LogConfigurationException:
>> org.apache.commons.logging.LogConfigurationException:
>> org.apache.commons.logging.LogConfigurationException: Class 
>> org.apache.commons.logging.impl.Log4JLogger does not implement Log
>>  at
>>
org.apache.commons.digester.Digester.createSAXException(Digester.java:
>> 27
>> 84)
>>  at
>>
org.apache.commons.digester.Digester.createSAXException(Digester.java:
>> 28
>> 10)
>>  at
>> org.apache.commons.digester.Digester.endElement(Digester.java:1066)
>>  at
>> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
>>  at
>> org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
>> Source)
>>  at
>> org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
>> Source)
>>  at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
>> Source)
>>  at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
>> U
>> nk
>> nown Source)
>>  at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
>> D
>> is
>> patcher.dispatch(Unknown Source)
>>  at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
>> k
>> no
>> wn Source)
>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> Source)
>>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>> Source)
>>  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
>> Source)
>>  at
>> org.apache.commons.digester.Digester.parse(Digester.java:1569)
>>  at
>>
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.
>> ja
>> va:549)
>>  at
>>
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639
> )
>>  at
>> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
>> g
>> .j
>> ava:243)
>>  at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
>> e
>> Su
>> pport.java:166)
>>  at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:3
>> 5
>> 87
>> )
>>  at
>>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
>> ja
>> va:821)
>>  at
>>
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807
> )
>>  at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
>>  at
>> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
>> l
>> oy
>> er.java:307)
>>  at
>> org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
>>  at
>> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
>> a
>> va
>> :559)
>>  at
>>
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
>>  at
>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
>>  at
>>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
>> 35
>> 8)
>>  at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
>> e
>> Su
>> pport.java:166)
>>  at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:

Re: [FLOWSCRIT] Equivalent Action to processPipeline

2005-03-10 Thread Ellis Pritchard
The org.apache.cocoon.acting.CopySourceAction may be what you want; it  
executes a pipeline and writes the result to a ModifiableSource, e.g. a  
file.




You may also want to look at  
http://wiki.apache.org/cocoon/XModuleSource to write the output to e.g.  
a request attribute; if you can figure that stuff out you are a genius!

Ellis.
On 9 Mar 2005, at 15:59, Lionel Crine wrote:
Hi all,
I'm looking  for a Action which is doing the same thing as this  
flowscript method : cocoon.ProcessPipeline

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

 
-
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 : Migrating from Cocoon 2.0.x to 2.1.3

2005-03-10 Thread Olivier RICHAUD
Thanks.

It's a classloader problem. Jboss shares classes among applications !
And a previous version of commons-lang is present elsewhere.

Many thanks for your help.

-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Gregor J. Rothfuss
Envoyé : mercredi 9 mars 2005 20:41
À : users@cocoon.apache.org
Objet : Re: Migrating from Cocoon 2.0.x to 2.1.3


Olivier RICHAUD wrote:

> I'm upgrading our Cocoon application to Cocoon 2.1.3 and I'm facing 
> some

why not 2.1.6?

> weird errors with XSP. When calling a very simple XSP page 
> (simple.xsp), I get the following exception (SystemUtils is packaged 
> in
> commons-lang-2.0-20041007T2305.jar) :

> java.lang.NoSuchMethodError: 
> org.apache.commons.lang.SystemUtils.isJavaVersionAtLeast(I)Z

> My environment :
>   Jboss 3.2.3 with Jetty

looks like a class loading problem. jboss probably has its own copy of 
commons lang. try moving commons-lang into endorsed

-- 
Gregor J. Rothfuss
COO, Wyona   Content Management Solutionshttp://wyona.com
Apache Lenya  http://lenya.apache.org
[EMAIL PROTECTED]   [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: TextSerializer and UTF-8

2005-03-10 Thread Adam Ratcliffe
Hi Andreas

Have you tried setting the encoding configuration parameter for the
serializer in your
sitemap configuration?

For example:


  UTF-8


Cheers
Adam


> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Andreas Hartmann
> Sent: Friday, 11 March 2005 3:02 a.m.
> To: users@cocoon.apache.org
> Subject: TextSerializer and UTF-8
>
>
> Hi Cocoon community,
>
> when I use the text serializer with UTF-8 encoding, Internet Explorer
> does not recognize the encoding and screws up the umlauts.
>
> With the XML serializers from the serializers block, the problem
> does not appear. Is there any workaround for the text serializer?
>
> Setting the Content-Type header using the HttpHeaderAction does
> not work, I guess it is overridden by the serializer:
>
> 
>   
> 
>
> Thanks in advance!
>
> -- Andreas
>
>
> -
> 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: [FLOWSCRIT] Equivalent Action to processPipeline

2005-03-10 Thread Adam Ratcliffe
Hi Lionel

I think the answer to what you want to do really depends upon what you wish
to do with the
pipeline output. For example, I use processPipelineTo() (in flowscript) to
process a JXTemplate
that builds a document that is the input to an XML-RPC call. The output
stream is passed directly
to a Java component from the flowscript.

Error handling is also achievable via flowscript by surrounding the call in
a try/catch block.

I'm not sure if this helps but I'm still not clear on what you're trying to
do.

Cheers
Adam

> -Original Message-
> From: Lionel Crine [mailto:[EMAIL PROTECTED]
> Sent: Friday, 11 March 2005 2:24 a.m.
> To: users@cocoon.apache.org
> Subject: Re: [FLOWSCRIT] Equivalent Action to processPipeline
>
>
> In fact, I just want to execute a pipeline (which can't generate errors).
> I know I can use the flowscript but I don't want to complicate things
> because I won't develop.
> So I was wondering if the same things exist with action .
> Moreover, I can't use a  because I put
> something else in the flow.
>
> If there is another way, let me know.
>
>
> Lionel
>
> Adam Ratcliffe wrote:
>
> >Hi Lionel
> >
> >I don't know of such an action, what are you trying to do with
> the output of
> >the pipeline? Maybe there's
> >another way of doing this that will meet your needs.
> >
> >Cheers
> >Adam
> >
> >
> >
> >>-Original Message-
> >>From: Lionel Crine [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, 10 March 2005 5:00 a.m.
> >>To: users@cocoon.apache.org
> >>Subject: [FLOWSCRIT] Equivalent Action to processPipeline
> >>
> >>
> >>Hi all,
> >>
> >>I'm looking  for a Action which is doing the same thing as this
> >>flowscript method : cocoon.ProcessPipeline
> >>
> >>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
> >>
> >>
> >>
> >>
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> 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
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TextSerializer and UTF-8

2005-03-10 Thread Geert Josten
Hi Cocoon community,
when I use the text serializer with UTF-8 encoding, Internet Explorer
does not recognize the encoding and screws up the umlauts.
With the XML serializers from the serializers block, the problem
does not appear. Is there any workaround for the text serializer?

just use the xml serializer? or do

Does this set the encoding to utf-8?
Cheers
--
[EMAIL PROTECTED]
IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464
GPG: 1024D/12DEBB50
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: TextSerializer and UTF-8

2005-03-10 Thread Gregor J. Rothfuss
Andreas Hartmann wrote:
Hi Cocoon community,
when I use the text serializer with UTF-8 encoding, Internet Explorer
does not recognize the encoding and screws up the umlauts.
With the XML serializers from the serializers block, the problem
does not appear. Is there any workaround for the text serializer?
just use the xml serializer? or do

--
Gregor J. Rothfuss
COO, Wyona   Content Management Solutionshttp://wyona.com
Apache Lenya  http://lenya.apache.org
[EMAIL PROTECTED]   [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to add processing instruction in XSP?

2005-03-10 Thread Geert Josten
Hi,
I don't think you can do this inside the XSP page, the page is always wrapped in page, head and body 
kind of elements. Quickest fix would be to put an xsl transform step right after the xsp generator 
with a root template like:


  progid="Excel.Sheet"
  

Hope this helps..
Cheers
Ilya Vyatkin wrote:
Hi all!
 
I have the XSP page. The xml it generates is then opened in Microsoft Excel.
How to add such processing instruction in resul xml?


I tried to experiment with something like this:

  ..

But I could generate only  this way.
Moreover i need to place this p.i. right after  in
result xml!
Please help.
Lars
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
[EMAIL PROTECTED]
IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464
GPG: 1024D/12DEBB50
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: TextSerializer and UTF-8

2005-03-10 Thread Geert Josten
Hi,
I'm not certain whether it really works, but TextSerializer and XmlSerializer are very much similar. 
Ever tried to define a new TextSerializer with the encoding explicitly set to utf-8?


  UTF-8

Cheers,
Geert
Andreas Hartmann wrote:
Hi Cocoon community,
when I use the text serializer with UTF-8 encoding, Internet Explorer
does not recognize the encoding and screws up the umlauts.
With the XML serializers from the serializers block, the problem
does not appear. Is there any workaround for the text serializer?
Setting the Content-Type header using the HttpHeaderAction does
not work, I guess it is overridden by the serializer:
   
 
   
Thanks in advance!
-- Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
[EMAIL PROTECTED]
IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464
GPG: 1024D/12DEBB50
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Generating from definition from JXTemplate

2005-03-10 Thread Robin Wyles
Adam,
processToDOM() was just what I was looking for - thanks!
Robin
On 10 Mar 2005, at 04:31, Adam Walsh wrote:
Hi Robin,
I've submitted a patch so that you can do just that, but I don't know 
if it will see it's way into a release any time soon. 
http://issues.apache.org/bugzilla/show_bug.cgi?id=33237

You could also try Sylvain's suggestion in that bugzilla entry 
"Another way to do the same is to use PipelineUtils.processToDOM() and 
then use the DOM to build the form."

An alternative that's not quite as clean is to stick the bean in the 
session, then pull it back out of the session from the JXTemplates.

HTH,
Adam
Robin Wyles wrote:
Hi,
Can anyone tell me if it is possible to dynamically generate a forms 
definition and binding by do something like this using flowscript:

var form = new Form("cocoon:/forms/form-model.jx", {"bean": bean});
var binding = createBinding("cocoon:/forms/form-binding.jx", {"bean": 
bean});

If not, is there another way I could generate the definition and 
binding using JXTemplate, then passing the result to the above 
functions.

Thanks,
Robin
-
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: ClassCastException when running welcome report using Cocoon 2.1.6 on Sun Java Application Server 8 Update 1

2005-03-10 Thread Jorg Heymans
Sean Dockery wrote:
Well, that is a little discouraging.  I was hoping to have received a reply 
on this.

Is it just that no one has seen this problem (because they don't use SJAS), 
or that no one has a solution?
Guess not too many people around here use SJAS :(

Questions:
a) What steps do I need to perform to get Cocoon 2.1.6 operational under 
Sun Java Application Server 8 Update 1.
Did you try setting the paranoid classloader in web.xml ? Replace 
o.a.c.s.CocoonServlet with o.a.c.s.ParanoidCocoonServlet, this has known 
to help people experiencing classloader issues. Alternatively, set the 
init-classloader param, i can't tell you what it does exactly but the 
comment above it looks promising ;)


b) Should I be concerned about the fact that the latest Cocoon "release" 
(2.1.6) makes use of a development releases of the JAXP jars?  For 
example, Cocoon 2.1.6 uses a dev release of Xalan 2.6.1--when 2.6.0 is the 
sanctioned GA release.
naah, don't worry about it. Cocoon tries to stick to main releases as 
much as it can, but sometimes it's just not possible because of certain 
bugs.

c) Do I have to use a previous release of Cocoon?
nope. The contrary rather, although in your case it won't help anything.
d) Can I build Cocoon from the source, and bind it against the Sun 
Application Server JAXP jars?
that's beyond me, sorry.
If you do get it to work pls report back to the mailinglist or write an 
entry in the wiki.

Goodluck,
Jorg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to pass an attaribute value from a resulting transformed xml

2005-03-10 Thread Jorg Heymans
Thanks for making your situation a bit more clear.
I had a look at the docs to find a component that might suit your needs.
Have you tried using the WriteDomSessionTransformer [1]? I have never 
used it myself, but from the docs it seems like it could do the trick 
for you :





Apparently, this transformer stores an object called "DBresult" in the 
session, the object contains the DOM representation of your pipeline 
encapsulated inside a root "rowset" element.

Inside the action that sets the response header you could fetch this 
object, do some DOM searching until you find the title and voila!

HTH
Jorg
[1]http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transformer.html
[EMAIL PROTECTED] wrote:
Hi,
I apologize for the previous unformatted mail.  some how it was corrupted.
I am resendign this for readability.
This is the step-by-step process I am following.
We have a content management server. Users upload all the documents,
reports etcto this server. All the realted documents are stored/grouped
under one documentID.
In the intranet portal, when the users search for a particular documentID,
they get some search results. ifthe user clicks on any link it opens the
summary of that document giving links to download each attachment or all
the attachments in a zip format (with name of the zip file as
.zip).
we have site map in which when the user clicks on the download button,
which ends with a pattern
http://servername:port//?view=download,
my pipeline in the sitemap will be invoked.
In that pipeline, I execute  to get the document summary
xml. Then I will transform that xml to another xml which has required
format to use ZipArchiveSerialzer as shown below:

http://apache.org/cocoon/zip-archive/1.0";
title="sometitle.zip">



After getting this xml on-fly from the transformer, I will call  . In that resource, I call an action which sets
the
response.setHeader("content-disposition","attachment;filename="+myfilename);
This "myfilename" is supposed to be the title attribute in the above on-fly
generated  zip-archive xml. So, now my problem is, how can I get this
title?
Is there any other way where I can send this title as parameter from my
transformer?
Please guide me.
Thanks & Regards,
Murthy

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: re-use form definition

2005-03-10 Thread Tim Larson
On Thu, Mar 10, 2005 at 03:27:00PM +0200, Arsen A. Gutsal wrote:
> Thanks for your answer.
> Use pipeline for dynamic creation was my idea, but to be honest I
> thought there is some easiest way (e.g. something like fd:include). As I
> guess that only thing needed for dynamic creation is to re-use some
> parts of common controls at many forms.

A feature like that is being developed for the form definition, binding,
and template over in the svn whiteboard.  If you are interested in
helping with coding or guiding the design take a look at:
  http://wiki.apache.org/cocoon/WhiteBoardCocoonForms

--Tim Larson

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to add processing instruction in XSP?

2005-03-10 Thread Ilya Vyatkin
Hi all!
 
I have the XSP page. The xml it generates is then opened in Microsoft Excel.
How to add such processing instruction in resul xml?


I tried to experiment with something like this:

  ..

But I could generate only  this way.
Moreover i need to place this p.i. right after  in
result xml!

Please help.

Lars


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ClassCastException when running welcome report using Cocoon 2.1.6 on Sun Java Application Server 8 Update 1

2005-03-10 Thread Sean Dockery
Well, that is a little discouraging.  I was hoping to have received a reply 
on this.

Is it just that no one has seen this problem (because they don't use SJAS), 
or that no one has a solution?

"Sean Dockery" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello.
>
> We are exploring replacing the current reporting framework in a web 
> application with the Cocoon 2.1.6.  Part of our mandate is to ensure that 
> we can run on a variety of J2EE platforms, including Tomcat, SAP WebAS, 
> Bea WebLogic, Sun Java Application Server, and others.  I have been able 
> to deploy our application to Sun Java Application Server, but the Cocoon 
> welcome page (/ourwebapp/cocoon/welcome) fails with a ClassCastException, 
> which seems routed in the Xerces/Xalan/XPath libraries.
>
> Here's a little history about things that I've attempted so far:
>
> 1) In the /Sun/AppServer/lib/endored folder, there exists the following 
> jar files (with relevant information from the MANIFEST.MF files):
>
> dom.jar!META-INF/MANIFEST.MF
> Specification-Title: DOM Level 2
> Specification-Version: DOM Level 2
> Implementation-Title: DOM Implementation
> Implementation-Version: Xerces-J_2_3_0
>
> xalan.jar!META-INF/MANIFEST.MF
> Specification-Title: Java API for XML Processing
> Specification-Version: 1.2
> Implementation-Title: Main Xalan Engine Implementation
> Implementation-Version: xalan-j_2_5_2
>
> xercesImpl.jar!META-INF/MANIFEST.MF
> Specification-Title: Java API for XML Processing
> Specification-Version: 1.2
> Implementation-Title: Xerces 2 Implementation
> Implementation-Version: Xerces-J_2_3_0
>
> I attempted to replace dom.jar, xalan.jar, and xercesImpl.jar with the 
> content of the cocoon-2.1.6-src/cocoon-2.1.6/lib/endorsed folder (bcel, 
> regexp, xalan, xerces, and xml-apis).  Unfortunately, Sun Application 
> Server fails to even start.
>
> 2) I tried placing the xalan.jar, xercesImpl.jar, and xml-apis.jar in the 
> /Sun/AppServer/domains/domain1/lib.  I then went into the Application 
> Server/JVM Settings/Path Settings page and added the absolute paths to the 
> jars to the domain classpath prefix.  (This is the same mechanism by which 
> you add JDBC drivers to a given domain's classpath).
>
> I still received a ClassCastException when accessing 
> /ourwebapp/cocoon/welcome.
>
> Note:  I didn't think that this would work as the older versions of dom, 
> xalan, and xerces and higher up on the classpath foodchain, but I had to 
> try it anyway.
>
> 3) I modified the xml-parser class attribute in our cocoon.xconf to be 
> "org.apache.excalibur.xml.impl.XercesParser" (from 
> "org.apache.excalibur.xml.impl.JaxpParser").
>
> I still received a ClassCastException when accessing 
> /ourwebapp/cocoon/welcome.
>
> Everything else in our Cocoon configuration is "stock" (or so I have been 
> told).
>
> I have searched the web and groups using Google.  The only related item 
> was the final reply in a discussion thread at this URL:
> http://swforum.sun.com/jive/thread.jspa?threadID=46088&messageID=143344
> The stack trace seen in the 7th reply is exactly what I am getting. 
> Unfortunately, no one has replied as to a possible resolution.
>
> Questions:
>
> a) What steps do I need to perform to get Cocoon 2.1.6 operational under 
> Sun Java Application Server 8 Update 1.
>
> b) Should I be concerned about the fact that the latest Cocoon "release" 
> (2.1.6) makes use of a development releases of the JAXP jars?  For 
> example, Cocoon 2.1.6 uses a dev release of Xalan 2.6.1--when 2.6.0 is the 
> sanctioned GA release.
>
> c) Do I have to use a previous release of Cocoon?
>
> d) Can I build Cocoon from the source, and bind it against the Sun 
> Application Server JAXP jars?
>
> Thanks for your time... and your assistance. 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to pass an attaribute value from a resulting transformed xml

2005-03-10 Thread suryanarayana . murthy

Hi,
I apologize for the previous unformatted mail.  some how it was corrupted.
I am resendign this for readability.

This is the step-by-step process I am following.

We have a content management server. Users upload all the documents,
reports etcto this server. All the realted documents are stored/grouped
under one documentID.

In the intranet portal, when the users search for a particular documentID,
they get some search results. ifthe user clicks on any link it opens the
summary of that document giving links to download each attachment or all
the attachments in a zip format (with name of the zip file as
.zip).

we have site map in which when the user clicks on the download button,
which ends with a pattern
http://servername:port//?view=download,
my pipeline in the sitemap will be invoked.

In that pipeline, I execute  to get the document summary
xml. Then I will transform that xml to another xml which has required
format to use ZipArchiveSerialzer as shown below:


http://apache.org/cocoon/zip-archive/1.0";
title="sometitle.zip">




After getting this xml on-fly from the transformer, I will call  . In that resource, I call an action which sets
the
response.setHeader("content-disposition","attachment;filename="+myfilename);

This "myfilename" is supposed to be the title attribute in the above on-fly
generated  zip-archive xml. So, now my problem is, how can I get this
title?

Is there any other way where I can send this title as parameter from my
transformer?

Please guide me.

Thanks & Regards,

Murthy




Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fw: How to pass an attaribute value from a resulting transformed xml asparameter to

2005-03-10 Thread suryanarayana . murthy
Hi, this is the step-by-step process I am following.We have a content management server. Users upload all the documents, reports etcto this server. All the realted documents are stored/grouped under one documentID. In the intranet portal, when the users search for a particular documentID, they get some search results. ifthe user clicks on any link it opens the summary of that document giving links to download each attachment or all the attachments in a zip format (with name of the zip file as .zip).we have site map in which when the user clicks on the download button, which ends with a pattern http://servername:port//?view=download, my pipeline in the sitemap will be invoked.In that pipeline, I execute  to get the document summary xml. Then I will transform that xml to another xml which has required format to use ZipArchiveSerialzer as shown below:After getting this xml on-fly from the transformer, I will call  . In that resource, I call an action which sets the response.setHeader("content-disposition","attachment;filename="+myfilename);This "myfilename" is supposed to be the title attribute in the above on-fly generated  zip-archive xml. So, now my problem is, how can I get this title? Is there any other way where I can send this title as parameter from my transformer?Please guide me.Thanks & Regards,Murthy [EMAIL PROTECTED]03/10/2005 21:02Please respond [EMAIL PROTECTED] To   users@cocoon.apache.org cc   bcc   Subject  How to pass an attaribute value from a resulting transformed xml asparameter to   Hi,In the sitemap, in a pipeline, after xsl transfomration, I am gettign an xml file. After that I am calling  to zip the contents using zipArchiveSerialzer. Now I am gettign the document title as an attribute to the root element in my xml.Following is my xml which is dynamically created using XSL transformation:My problem is:Now how can I pass the title attibute to ?Please help me. this is very urgent requirement for me.Thanks & Regards,MurthyForwardSourceID:NT4212 Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]ForwardSourceID:NT4236 =Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JXTemplate and characters escaping

2005-03-10 Thread Laurent Perez
Hello

Is the JXTemplateGenerator auto-escaping required HTML chars when they
are extracted as bean properties ? I have a weird problem with the
following piece of jx code + xsl transformation () :

é renders é.
however,
#{bean.bar} renders é (bar being "é" in my database)

The following being observed with a  right
after the jxtemplate generation, before the xslt transformation.

Is it possible to tell the jxtemplate not to escape these chars ?

Thanks

Laurent

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to pass an attaribute value from a resulting transformed xml asparameter to

2005-03-10 Thread suryanarayana . murthy
Hi,In the sitemap, in a pipeline, after xsl transfomration, I am gettign an xml file. After that I am calling  to zip the contents using zipArchiveSerialzer. Now I am gettign the document title as an attribute to the root element in my xml.Following is my xml which is dynamically created using XSL transformation:My problem is:Now how can I pass the title attibute to ?Please help me. this is very urgent requirement for me.Thanks & Regards,MurthyForwardSourceID:NT4212 =Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

i18n: high-level def. of src-locale

2005-03-10 Thread Merico Raffaele
Dear Community

Is there any possibility to define a "src-locale" value for the i18n at a
higher-level than on ? Many thx in advance ...

Raffaele

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TextSerializer and UTF-8

2005-03-10 Thread Andreas Hartmann
Hi Cocoon community,
when I use the text serializer with UTF-8 encoding, Internet Explorer
does not recognize the encoding and screws up the umlauts.
With the XML serializers from the serializers block, the problem
does not appear. Is there any workaround for the text serializer?
Setting the Content-Type header using the HttpHeaderAction does
not work, I guess it is overridden by the serializer:
   
 
   
Thanks in advance!
-- Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to pass an attaribute value from a resulting transformed xml as parameter to

2005-03-10 Thread Jorg Heymans

[EMAIL PROTECTED] wrote:
Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign an
xml file. After that I am calling  to zip the contents
using zipArchiveSerialzer. Now I am gettign the document title as an
attribute to the root element in my xml.
Following is my xml which is dynamically created using XSL transformation:

http://apache.org/cocoon/zip-archive/1.0";
title="sometitle.zip">
  
  

My problem is:
Now how can I pass the title attibute to ?
Why do you want to pass it as an attribute? Explain a bit more, there 
might be another way to achieve what you want. There is no easy way to 
extract xml contents and pass it somehow as a parameter through the 
pipeline. It is counter-intuitive as well, as your xml contents flows 
through the whole pipeline anyway, so why passing it once more?

Jorg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: re-use form definition

2005-03-10 Thread Derek Hohls
Sorry, but then I think that pipelines are easy ;-) and
adding special cases for each new "things" would make
Cocoon overly complex and unwieldy.  Lego (tm) works!!

>>> [EMAIL PROTECTED] 2005/03/10 03:27:00 PM >>>
Thanks for your answer.
Use pipeline for dynamic creation was my idea, but to be honest I
thought there is some easiest way (e.g. something like fd:include). As
I
guess that only thing needed for dynamic creation is to re-use some
parts of common controls at many forms.

Thanks anyway.
On Thu, 2005-03-10 at 13:01 +0200, Derek Hohls wrote:
> Arsen
> 
> No, the form definitions are not necessarily fixed files,
> as I tried to say below... they are "XML streams"
> which can as readily come from a pipeline output
> as from a fixed file.  The form processing pipeline is
> a different one from the "form definition creation"
> pipeline - and *this* pipeline can readily use cinclude.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2005/03/10 12:51:28 PM >>>
> Thanks for quick answer, but how about DEF files?
> DEF file is used by Cocoon's Form processor without ANY
> transformations
> So, I can't use CINLUDE within fomr definition file as I can't
specify
> cinlude transformation in sitemap for that module.
>   
> On Thu, 2005-03-10 at 12:45 +0200, Derek Hohls wrote:
> > Arsen
> > 
> > >From a Cocoon POV this is not that difficult... you 
> > need to think about the form binding not as "a file" per se
> > but as a Cocoon "source"; in other words, the result of 
> > a  pipeline process.
> > 
> > Think about the components / sections of your forms: 
> > e.g. one might be:
> > 
> >   
> > 
> >   
> > -MM-dd
> >   
> > 
> >   
> > 
> > another:
> > 
> >  
> > 
> > and a third:
> >   
> > 
> >   
> > 
> > Now each of these could, for example, reside in a different
> > source file and be assembled, via a "master" file, for each 
> > form, via a set of cincludes:
> > 
> >   
> >   
> > 
> > or, in another form master file:
> > 
> >   
> >   
> > 
> > (where there is a corresponding pipeline match for
> > the "form-*" to retrieve all the precreated fragments.)
> > 
> > You could, of course, make it more complex, and
> > have the retrieval pipeline doing further transforms
> > to "customize" each fragment for a particular form...
> > 
> > HTH
> > Derek
> > 
> > 
> > >>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
> > My question was how to INCLUDE some fields to form definition file
> > from
> > another form definition file. I'm not interested in RE-USING whole
> > file.
> > I know that's possible :)
> > 
> > On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> > > Hello List.
> > > 
> > > I have the problem. I have 2 forms which uses almost same fields.

> > > Can I re-use form definition/binding files? It seems I can
> template
> > > items by using cinclude, xinclude, but what about def/bind?
> > > 
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
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: re-use form definition

2005-03-10 Thread Arsen A. Gutsal
Thanks for your answer.
Use pipeline for dynamic creation was my idea, but to be honest I
thought there is some easiest way (e.g. something like fd:include). As I
guess that only thing needed for dynamic creation is to re-use some
parts of common controls at many forms.

Thanks anyway.
On Thu, 2005-03-10 at 13:01 +0200, Derek Hohls wrote:
> Arsen
> 
> No, the form definitions are not necessarily fixed files,
> as I tried to say below... they are "XML streams"
> which can as readily come from a pipeline output
> as from a fixed file.  The form processing pipeline is
> a different one from the "form definition creation"
> pipeline - and *this* pipeline can readily use cinclude.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2005/03/10 12:51:28 PM >>>
> Thanks for quick answer, but how about DEF files?
> DEF file is used by Cocoon's Form processor without ANY
> transformations
> So, I can't use CINLUDE within fomr definition file as I can't specify
> cinlude transformation in sitemap for that module.
>   
> On Thu, 2005-03-10 at 12:45 +0200, Derek Hohls wrote:
> > Arsen
> > 
> > >From a Cocoon POV this is not that difficult... you 
> > need to think about the form binding not as "a file" per se
> > but as a Cocoon "source"; in other words, the result of 
> > a  pipeline process.
> > 
> > Think about the components / sections of your forms: 
> > e.g. one might be:
> > 
> >   
> > 
> >   
> > -MM-dd
> >   
> > 
> >   
> > 
> > another:
> > 
> >  
> > 
> > and a third:
> >   
> > 
> >   
> > 
> > Now each of these could, for example, reside in a different
> > source file and be assembled, via a "master" file, for each 
> > form, via a set of cincludes:
> > 
> >   
> >   
> > 
> > or, in another form master file:
> > 
> >   
> >   
> > 
> > (where there is a corresponding pipeline match for
> > the "form-*" to retrieve all the precreated fragments.)
> > 
> > You could, of course, make it more complex, and
> > have the retrieval pipeline doing further transforms
> > to "customize" each fragment for a particular form...
> > 
> > HTH
> > Derek
> > 
> > 
> > >>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
> > My question was how to INCLUDE some fields to form definition file
> > from
> > another form definition file. I'm not interested in RE-USING whole
> > file.
> > I know that's possible :)
> > 
> > On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> > > Hello List.
> > > 
> > > I have the problem. I have 2 forms which uses almost same fields. 
> > > Can I re-use form definition/binding files? It seems I can
> template
> > > items by using cinclude, xinclude, but what about def/bind?
> > > 
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [FLOWSCRIT] Equivalent Action to processPipeline

2005-03-10 Thread Lionel Crine
In fact, I just want to execute a pipeline (which can't generate errors).
I know I can use the flowscript but I don't want to complicate things 
because I won't develop.
So I was wondering if the same things exist with action .
Moreover, I can't use a  because I put 
something else in the flow.

If there is another way, let me know.
Lionel
Adam Ratcliffe wrote:
Hi Lionel
I don't know of such an action, what are you trying to do with the output of
the pipeline? Maybe there's
another way of doing this that will meet your needs.
Cheers
Adam
 

-Original Message-
From: Lionel Crine [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 March 2005 5:00 a.m.
To: users@cocoon.apache.org
Subject: [FLOWSCRIT] Equivalent Action to processPipeline
Hi all,
I'm looking  for a Action which is doing the same thing as this
flowscript method : cocoon.ProcessPipeline
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
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
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: How to pass an attaribute value from a resulting transformed xml as parameter to

2005-03-10 Thread Derek Hohls
Murthy

Its not clear from your description:
(a) what the exact step-by-step process is; and
(b) what the actual source of the "sometitle.zip" text is?

>>> [EMAIL PROTECTED] 2005/03/10 01:59:59 PM >>>

Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign
an
xml file. After that I am calling  to zip the
contents
using zipArchiveSerialzer. Now I am gettign the document title as an
attribute to the root element in my xml.
Following is my xml which is dynamically created using XSL
transformation:

http://apache.org/cocoon/zip-archive/1.0";
title="sometitle.zip">
  
  


My problem is:
Now how can I pass the title attibute to ?
Please help me. this is very urgent.

Thanks & Regards,
Murthy


Notice: The information contained in this e-mail message and/or
attachments to it may contain confidential or privileged information.  
If you are not the intended recipient, any dissemination, use, review,
distribution, printing or copying of the information contained in this
e-mail message and/or attachments to it are strictly prohibited.   If
you have received this communication in error, please notify us by reply
e-mail or telephone and immediately and permanently delete the message
and any attachments.  Thank you

-
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]



How to pass an attaribute value from a resulting transformed xml as parameter to

2005-03-10 Thread suryanarayana . murthy

Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign an
xml file. After that I am calling  to zip the contents
using zipArchiveSerialzer. Now I am gettign the document title as an
attribute to the root element in my xml.
Following is my xml which is dynamically created using XSL transformation:

http://apache.org/cocoon/zip-archive/1.0";
title="sometitle.zip">
  
  


My problem is:
Now how can I pass the title attibute to ?
Please help me. this is very urgent.

Thanks & Regards,
Murthy


Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to pass an attaribute value from a resulting transformed xml as parameter to

2005-03-10 Thread suryanarayana . murthy

Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign an
xml file. After that I am calling  to zip the contents
using zipArchiveSerialzer. Now I am gettign the document title as an
attribute to the root element in my xml.
Following is my xml which is dynamically created using XSL transformation:

http://apache.org/cocoon/zip-archive/1.0";
title="sometitle.zip">
  
  


My problem is:
Now how can I pass the title attibute to ?
Please help me. this is very urgent.

Thanks & Regards,
Murthy


Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Unable to retrieve xml source - Email has different SMTP TO: and MIME TO: fields in the email addresses

2005-03-10 Thread David Merrilees
Thanks Jorg, solved : ) 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans
Sent: 10 March 2005 11:04
To: users@cocoon.apache.org
Subject: Re: Unable to retrieve xml source - Email has different SMTP
TO: and MIME TO: fields in the email addresses

Are you running your servlet container as a service? If yes, then make
sure that the user it is running as has permissions for this drive.

Otherwise it should just work.

David Merrilees wrote:
> I am unable to retrieve an xml source from a mapped network drive. The

> drive is mapped as letter 'E' on the computer running cocoon and the 
> path to the file is correct.
> 
> Any idea why this isn't working?
> 
> Thanks
> 
> David
> 
> 
> Code sample:
> 
>   
>   
>   
> 


-
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: re-use form definition [OT]

2005-03-10 Thread Derek Hohls
Yeah; this was my second "wow" moment... coming after the
first one when I realised the awesome potential of XML... and
both moments have kept on echoing with new discoveries
and insights ever since.

[goes all misty-eyed for a moment.  dabs with virtual hanky.]

>>> [EMAIL PROTECTED] 2005/03/10 01:24:20 PM >>>
The first time you realise that any of your XML files can be modified
through a pipeline, there is a sort of wow moment as the true
flexibility of
cocoon starts to sink in.

Ben Pope



Derek Hohls wrote:

> Arsen
> 
> No, the form definitions are not necessarily fixed files,
> as I tried to say below... they are "XML streams"
> which can as readily come from a pipeline output
> as from a fixed file.  The form processing pipeline is
> a different one from the "form definition creation"
> pipeline - and *this* pipeline can readily use cinclude.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2005/03/10 12:51:28 PM >>>
> Thanks for quick answer, but how about DEF files?
> DEF file is used by Cocoon's Form processor without ANY 
> transformations So, I can't use CINLUDE within fomr 
> definition file as I can't specify cinlude transformation in 
> sitemap for that module.
>   
> On Thu, 2005-03-10 at 12:45 +0200, Derek Hohls wrote:
> > Arsen
> > 
> > >From a Cocoon POV this is not that difficult... you
> > need to think about the form binding not as "a file" per se 
> but as a 
> > Cocoon "source"; in other words, the result of a  pipeline
process.
> > 
> > Think about the components / sections of your forms:
> > e.g. one might be:
> > 
> >   
> > 
> >   
> > -MM-dd
> >   
> > 
> >   
> > 
> > another:
> > 
> >  
> > 
> > and a third:
> >   
> > 
> >   
> > 
> > Now each of these could, for example, reside in a different source

> > file and be assembled, via a "master" file, for each form, 
> via a set 
> > of cincludes:
> > 
> >   
> >   
> > 
> > or, in another form master file:
> > 
> >   
> >   
> > 
> > (where there is a corresponding pipeline match for
> > the "form-*" to retrieve all the precreated fragments.)
> > 
> > You could, of course, make it more complex, and
> > have the retrieval pipeline doing further transforms
> > to "customize" each fragment for a particular form...
> > 
> > HTH
> > Derek
> > 
> > 
> > >>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
> > My question was how to INCLUDE some fields to form definition file

> > from another form definition file. I'm not interested in RE-USING 
> > whole file.
> > I know that's possible :)
> > 
> > On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> > > Hello List.
> > > 
> > > I have the problem. I have 2 forms which uses almost same
fields.
> > > Can I re-use form definition/binding files? It seems I can
> template
> > > items by using cinclude, xinclude, but what about def/bind?
> > > 
> -- 
> Sincerely,
> Arsen A. Gutsal
> SOFTSKY Ltd CEO/Executive
> SOFTSKY - Cost effective Software Development
> 
> 
>
-
> 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] 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: re-use form definition

2005-03-10 Thread Ben Pope
The first time you realise that any of your XML files can be modified
through a pipeline, there is a sort of wow moment as the true flexibility of
cocoon starts to sink in.

Ben Pope



Derek Hohls wrote:

> Arsen
> 
> No, the form definitions are not necessarily fixed files,
> as I tried to say below... they are "XML streams"
> which can as readily come from a pipeline output
> as from a fixed file.  The form processing pipeline is
> a different one from the "form definition creation"
> pipeline - and *this* pipeline can readily use cinclude.
> 
> Derek
> 
> >>> [EMAIL PROTECTED] 2005/03/10 12:51:28 PM >>>
> Thanks for quick answer, but how about DEF files?
> DEF file is used by Cocoon's Form processor without ANY 
> transformations So, I can't use CINLUDE within fomr 
> definition file as I can't specify cinlude transformation in 
> sitemap for that module.
>   
> On Thu, 2005-03-10 at 12:45 +0200, Derek Hohls wrote:
> > Arsen
> > 
> > >From a Cocoon POV this is not that difficult... you
> > need to think about the form binding not as "a file" per se 
> but as a 
> > Cocoon "source"; in other words, the result of a  pipeline process.
> > 
> > Think about the components / sections of your forms:
> > e.g. one might be:
> > 
> >   
> > 
> >   
> > -MM-dd
> >   
> > 
> >   
> > 
> > another:
> > 
> >  
> > 
> > and a third:
> >   
> > 
> >   
> > 
> > Now each of these could, for example, reside in a different source 
> > file and be assembled, via a "master" file, for each form, 
> via a set 
> > of cincludes:
> > 
> >   
> >   
> > 
> > or, in another form master file:
> > 
> >   
> >   
> > 
> > (where there is a corresponding pipeline match for
> > the "form-*" to retrieve all the precreated fragments.)
> > 
> > You could, of course, make it more complex, and
> > have the retrieval pipeline doing further transforms
> > to "customize" each fragment for a particular form...
> > 
> > HTH
> > Derek
> > 
> > 
> > >>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
> > My question was how to INCLUDE some fields to form definition file 
> > from another form definition file. I'm not interested in RE-USING 
> > whole file.
> > I know that's possible :)
> > 
> > On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> > > Hello List.
> > > 
> > > I have the problem. I have 2 forms which uses almost same fields.
> > > Can I re-use form definition/binding files? It seems I can
> template
> > > items by using cinclude, xinclude, but what about def/bind?
> > > 
> -- 
> Sincerely,
> Arsen A. Gutsal
> SOFTSKY Ltd CEO/Executive
> SOFTSKY - Cost effective Software Development
> 
> 
> -
> 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: Unable to retrieve xml source

2005-03-10 Thread Jorg Heymans
Are you running your servlet container as a service? If yes, then make 
sure that the user it is running as has permissions for this drive.

Otherwise it should just work.
David Merrilees wrote:
I am unable to retrieve an xml source from a mapped network drive. The
drive is mapped as letter 'E' on the computer running cocoon and the
path to the file is correct. 

Any idea why this isn't working?
Thanks
David
Code sample:






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: re-use form definition

2005-03-10 Thread Derek Hohls
Arsen

No, the form definitions are not necessarily fixed files,
as I tried to say below... they are "XML streams"
which can as readily come from a pipeline output
as from a fixed file.  The form processing pipeline is
a different one from the "form definition creation"
pipeline - and *this* pipeline can readily use cinclude.

Derek

>>> [EMAIL PROTECTED] 2005/03/10 12:51:28 PM >>>
Thanks for quick answer, but how about DEF files?
DEF file is used by Cocoon's Form processor without ANY
transformations
So, I can't use CINLUDE within fomr definition file as I can't specify
cinlude transformation in sitemap for that module.
  
On Thu, 2005-03-10 at 12:45 +0200, Derek Hohls wrote:
> Arsen
> 
> >From a Cocoon POV this is not that difficult... you 
> need to think about the form binding not as "a file" per se
> but as a Cocoon "source"; in other words, the result of 
> a  pipeline process.
> 
> Think about the components / sections of your forms: 
> e.g. one might be:
> 
>   
> 
>   
> -MM-dd
>   
> 
>   
> 
> another:
> 
>  
> 
> and a third:
>   
> 
>   
> 
> Now each of these could, for example, reside in a different
> source file and be assembled, via a "master" file, for each 
> form, via a set of cincludes:
> 
>   
>   
> 
> or, in another form master file:
> 
>   
>   
> 
> (where there is a corresponding pipeline match for
> the "form-*" to retrieve all the precreated fragments.)
> 
> You could, of course, make it more complex, and
> have the retrieval pipeline doing further transforms
> to "customize" each fragment for a particular form...
> 
> HTH
> Derek
> 
> 
> >>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
> My question was how to INCLUDE some fields to form definition file
> from
> another form definition file. I'm not interested in RE-USING whole
> file.
> I know that's possible :)
> 
> On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> > Hello List.
> > 
> > I have the problem. I have 2 forms which uses almost same fields. 
> > Can I re-use form definition/binding files? It seems I can
template
> > items by using cinclude, xinclude, but what about def/bind?
> > 
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
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: re-use form definition

2005-03-10 Thread Arsen A. Gutsal
Thanks for quick answer, but how about DEF files?
DEF file is used by Cocoon's Form processor without ANY
transformations
So, I can't use CINLUDE within fomr definition file as I can't specify
cinlude transformation in sitemap for that module.
  
On Thu, 2005-03-10 at 12:45 +0200, Derek Hohls wrote:
> Arsen
> 
> >From a Cocoon POV this is not that difficult... you 
> need to think about the form binding not as "a file" per se
> but as a Cocoon "source"; in other words, the result of 
> a  pipeline process.
> 
> Think about the components / sections of your forms: 
> e.g. one might be:
> 
>   
> 
>   
> -MM-dd
>   
> 
>   
> 
> another:
> 
>  
> 
> and a third:
>   
> 
>   
> 
> Now each of these could, for example, reside in a different
> source file and be assembled, via a "master" file, for each 
> form, via a set of cincludes:
> 
>   
>   
> 
> or, in another form master file:
> 
>   
>   
> 
> (where there is a corresponding pipeline match for
> the "form-*" to retrieve all the precreated fragments.)
> 
> You could, of course, make it more complex, and
> have the retrieval pipeline doing further transforms
> to "customize" each fragment for a particular form...
> 
> HTH
> Derek
> 
> 
> >>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
> My question was how to INCLUDE some fields to form definition file
> from
> another form definition file. I'm not interested in RE-USING whole
> file.
> I know that's possible :)
> 
> On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> > Hello List.
> > 
> > I have the problem. I have 2 forms which uses almost same fields. 
> > Can I re-use form definition/binding files? It seems I can template
> > items by using cinclude, xinclude, but what about def/bind?
> > 
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: re-use form definition

2005-03-10 Thread Derek Hohls
Arsen

>From a Cocoon POV this is not that difficult... you 
need to think about the form binding not as "a file" per se
but as a Cocoon "source"; in other words, the result of 
a  pipeline process.

Think about the components / sections of your forms: 
e.g. one might be:

  

  
-MM-dd
  

  

another:

 

and a third:
  

  

Now each of these could, for example, reside in a different
source file and be assembled, via a "master" file, for each 
form, via a set of cincludes:

  
  

or, in another form master file:

  
  

(where there is a corresponding pipeline match for
the "form-*" to retrieve all the precreated fragments.)

You could, of course, make it more complex, and
have the retrieval pipeline doing further transforms
to "customize" each fragment for a particular form...

HTH
Derek


>>> [EMAIL PROTECTED] 2005/03/10 12:03:02 PM >>>
My question was how to INCLUDE some fields to form definition file
from
another form definition file. I'm not interested in RE-USING whole
file.
I know that's possible :)

On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> Hello List.
> 
> I have the problem. I have 2 forms which uses almost same fields. 
> Can I re-use form definition/binding files? It seems I can template
> items by using cinclude, xinclude, but what about def/bind?
> 
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
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: re-use form definition

2005-03-10 Thread Arsen A. Gutsal
My question was how to INCLUDE some fields to form definition file from
another form definition file. I'm not interested in RE-USING whole file.
I know that's possible :)

On Thu, 2005-03-10 at 11:31 +0200, Arsen A. Gutsal wrote:
> Hello List.
> 
> I have the problem. I have 2 forms which uses almost same fields. 
> Can I re-use form definition/binding files? It seems I can template
> items by using cinclude, xinclude, but what about def/bind?
> 
-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Unable to retrieve xml source

2005-03-10 Thread David Merrilees
I am unable to retrieve an xml source from a mapped network drive. The
drive is mapped as letter 'E' on the computer running cocoon and the
path to the file is correct. 

Any idea why this isn't working?

Thanks

David


Code sample:







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



re-use form definition

2005-03-10 Thread Arsen A. Gutsal
Hello List.

I have the problem. I have 2 forms which uses almost same fields. 
Can I re-use form definition/binding files? It seems I can template
items by using cinclude, xinclude, but what about def/bind?

-- 
Sincerely,
Arsen A. Gutsal
SOFTSKY Ltd CEO/Executive
SOFTSKY - Cost effective Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Pipelines & caching

2005-03-10 Thread Ben Pope
OK, that makes sense then.  I'll give that a whirl, thanks for the advice.

Ben Pope

Geert Josten wrote:

> 
> Hi there,
> 
> Wrap (part of) the matches in a pipeline with 
> type="noncaching". As far as I know, request-params 
> are ignored in identifying cached results. :-(
> 
> Cheers,
> Geert
> 
> Ben Pope wrote:
> 
> > Anybody?
> > 
> > I should note that not putting an .html or .xml on the end works 
> > nicely, so it seems that the wrappers are to blame.
> > 
> > 
> > 
> > Ben Pope wrote:
> > 
> >>Hi,
> >>
> >>I have some generic pipelines that return data in xml.
> >>
> >>I then wrap those pipelines with generator / serialisers to
> >>choose the output type.  E.g.,
> >>
> >>
> >>
> >>   ...
> >>>>
> >>
> >>
> >>>>>>   
> >>
> >>
> >>
> >>
> >>
> >>
> >>   
> >>   
> >>
> >>
> >>
> >>   
> >>   
> >>   
> >>
> >>
> >>
> >>
> >>   
> >>   
> >>
> >>
> >>
> >>It looks as if the output gets cached, when I request a form like:
> >>
> >>http://localhost:82/foo/bar/Form.html?id=0
> >>
> >>I get the correct page, so I request:
> >>
> >>http://localhost:82/foo/bar/Form.html?id=1
> >>
> >>And get the correct page.  However, all other requests to the
> >>first (id=0), now result in the second pipeline (id=1), 
> >>including things like continuation IDs.  The problem must in 
> >>cocoon (as opposed to browser cache), as the console 
> >>correctly prints out debug data from the flow, every time I 
> >>make the request.
> >>
> >>How do I prevent this 'caching'?
> >>
> >>I hope that clear enough.
> >>
> >>Cheers for your time,
> >>
> >>Ben Pope
> >>
> >>
> >>
> -
> >>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]
> > 
> > 
> > 
> 
> -- 
> [EMAIL PROTECTED]
> IT-consultant at Daidalos BV, Zoetermeer (NL)
> 
> http://www.daidalos.nl/
> tel:+31-(0)79-3316961
> fax:+31-(0)79-3316464
> 
> GPG: 1024D/12DEBB50
> 
> -
> 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: Cforms and Garbage collection

2005-03-10 Thread gkrishna

> How long does the continuation stack stay alive ?

i just came across this file JavaInterpreter.java

 private int timeToLive = 60;

so continuations stack stays till the above time, and garbage collected after 
the same. 

Please share if there are any other issues with respect to continuation


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cforms and Garbage collection

2005-03-10 Thread Gunter D'Hondt
this can be configured in the cocoon.xconf; look for the flow 
configuration
Gunter
 



gkrishna <[EMAIL PROTECTED]> 
10-03-2005 09:56
Please respond to
users@cocoon.apache.org


To
users@cocoon.apache.org
cc

Subject
Cforms and Garbage collection






How long does the continuation stack stay alive ?

One of the solution of Cforms is java based (Continuation.java ) ?


-
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]



Cforms and Garbage collection

2005-03-10 Thread gkrishna
How long does the continuation stack stay alive ?

One of the solution of Cforms is java based (Continuation.java ) ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pipelines & caching

2005-03-10 Thread Geert Josten
Hi there,
Wrap (part of) the matches in a pipeline with type="noncaching". As far as I know, request-params 
are ignored in identifying cached results. :-(

Cheers,
Geert
Ben Pope wrote:
Anybody? 

I should note that not putting an .html or .xml on the end works nicely, so
it seems that the wrappers are to blame.

Ben Pope wrote:
Hi,
I have some generic pipelines that return data in xml.
I then wrap those pipelines with generator / serialisers to 
choose the output type.  E.g.,


  ...
  

  



  
  


  
  
  



  
  

It looks as if the output gets cached, when I request a form like:
http://localhost:82/foo/bar/Form.html?id=0
I get the correct page, so I request:
http://localhost:82/foo/bar/Form.html?id=1
And get the correct page.  However, all other requests to the 
first (id=0), now result in the second pipeline (id=1), 
including things like continuation IDs.  The problem must in 
cocoon (as opposed to browser cache), as the console 
correctly prints out debug data from the flow, every time I 
make the request.

How do I prevent this 'caching'?
I hope that clear enough.
Cheers for your time,
Ben Pope
-
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]

--
[EMAIL PROTECTED]
IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464
GPG: 1024D/12DEBB50
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]