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
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]
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
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
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
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
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:
map:match pattern=*.test
map:generate
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
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:
fb:value id=birthday
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
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
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 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
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
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
Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign an
xml file. After that I am calling map:call resource 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
Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign an
xml file. After that I am calling map:call resource 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
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
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 map:generate src=cocoon:// because I put
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,
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
[EMAIL PROTECTED] wrote:
Hi,
In the sitemap, in a pipeline, after xsl transfomration, I am gettign an
xml file. After that I am calling map:call resource 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
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
Dear Community
Is there any possibility to define a src-locale value for the i18n at a
higher-level than on /i18n:? Many thx in advance ...
Raffaele
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,In the sitemap, in a pipeline, after xsl transfomration, I am gettign an xml file. After that I am calling map:call resource 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
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 (xsl:value-of
select=/foo) :
foo#233;/foo renders #233;.
however,
foo#{bean.bar}/foo renders amp;#233;
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
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
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
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?
?mso-application progid=Excel.Sheet?
I tried to experiment with something like this:
xsp:pi target=mso-application
..
/xsp:pi
But I could generate only
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
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 :
map:transform
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 :(
bigsnip/
Questions:
a) What steps
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.
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?
map:serializer logger=sitemap.serializer.utf8-text mime-type=text/plain
name=utf8-text
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:
xsl:template match=/
xsl:processing-instruction
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
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
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
Hi Andreas
Have you tried setting the encoding configuration parameter for the
serializer in your
sitemap configuration?
For example:
map:serializer logger=sitemap.serializer.text mime-type=text/plain
name=text src=org.apache.cocoon.serialization.TextSerializer
encodingUTF-8/encoding
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
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.
map:act type=copy-source src=cocoon://pipeline.xml
map:parameter name=dest value=context://WEB-INF/data/file.xml/
/map:act
You may also want
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
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,
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.
foo![CDATA[#{bean.bar}]]/foo
Should output as:
foo![CDATA[#233;]]/foo
The XSL can then select this out with xsl:value-of select=foo
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)
fd:field id=availableBookmarks required=false
fd:labeli18n:textbookmarkCoplet.availableBookmarks/i18n:text/fd:label
fd:datatype
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
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
Hi!
I want to use database as list source,But I found
theflow-jxpath doesn't work in cform flow script v2
How to do If I want to do the same in v2
Best Regards
Johnson
49 matches
Mail list logo