On Sat, 17 Nov 2012 23:00:34 +0100, Thorsten Scherler
wrote:
> On 11/15/2012 11:45 AM, DIA Modou wrote:
>> hi,
>>
>> I'm working with coocon 2.1 and tomcat 6.0.32.
>>
>> I have a code which permit to use an xml file as a global variable. I
>> build that with a "component instance" and the package
On 11/15/2012 11:45 AM, DIA Modou wrote:
> hi,
>
> I'm working with coocon 2.1 and tomcat 6.0.32.
>
> I have a code which permit to use an xml file as a global variable. I
> build that with a "component instance" and the package
> "org.apache.cocoon.components.modules.input.XMLFileModule" like this
hi,
I'm working with coocon 2.1 and tomcat 6.0.32.
I have a code which permit to use an xml file as a global variable. I
build that with a "component instance" and the package
"org.apache.cocoon.components.modules.input.XMLFileModule" like this:
In my "pipelines", i use "userinfos-xml
Andrew Stevens escribió:
From: "Ard Schrijvers" <[EMAIL PROTECTED]>
Date: Tue, 2 May 2006 22:34:50 +0200
Think you can very easily solve your problems with a
LocationMapModule (and have the locationmap created dynamically from
the number of XML files you need). Look at forrest.
Is that Locat
Hi Andrew,
Very nice, the use of the XPathDirectoryGenerator works well in your case.
I was really talking about if you wanted to dynamically configure the
XMLFileModule *outside* of something like the LinkRewriter, so you could
use it directly in the variable expressions in the sitemap, just
From: Ellis Pritchard <[EMAIL PROTECTED]>
Date: Fri, 5 May 2006 08:20:46 +0100
Hi,
The LinkRewritingTransformer might be your thing, but given that you are
using map:redirect, I suspect that it isn't. You could sub-class
XMLFileModule to dynamically provide the configuration y
Hi,
The LinkRewritingTransformer might be your thing, but given that you
are using map:redirect, I suspect that it isn't. You could sub-class
XMLFileModule to dynamically provide the configuration you need via
modeConf (LinkRewritingTransformer provides the configuration this way).
atter, is
> > > it possible to include these within a pipeline matcher,
> and use any
> > > available sitemap variables in the configured values?
> > >
> > > My suspicion is the "dynamic" configuration isn't as dynamic
> > > as I ne
suspicion is the "dynamic" configuration isn't as dynamic
> as I need. I
> have a number of XML files (using the same DTD) and need to
> extract a value
> from one of them to pass into a map:redirect-to (which file
> to use being
> supplied as part of the request).
t of the request). If I was using a single
> file, I think I
> could handle it with the XMLFileModule; judging from the
> URLEncode & decode
> input modules' docs, it's okay to nest input module attributes (e.g.
> src="http://remote/page?param1={url-encode:
upplied as part of the request). If I was using a single file, I think I
could handle it with the XMLFileModule; judging from the URLEncode & decode
input modules' docs, it's okay to nest input module attributes (e.g.
src="http://remote/page?param1={url-encode:{request-param:p
, but I guess you can't have
everything...
Heiko
-Original Message-
From: Ralph Goers [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 27. April 2006 05:52
To: users@cocoon.apache.org
Subject: Re: XMLFileModule reload bug?
I'm in the process of (slowly) creating an alternate
I'm in the process of (slowly) creating an alternate version of
XMLFileModule. Unfortunately, I can't promise a delivery date at this
time. See http://issues.apache.org/jira/browse/COCOON-1574
Ralph
Baller, Heiko wrote:
Hello,
I'm having difficulties to get the XMLFil
Hello,
I'm having difficulties to get the XMLFileModule to work properly.
cocoon.xconf :
Sitemap.xmap :
Just simple reading of a XML File w/o any transformers.
So, when "&HTDOCS;/dd/it/admin/ud-browser/servicecatalogue.xml" changes,
cocoon://intranet
t; > Now, I've tried 2 configurations:
> > - the first was the cocoon directory pointed by a Tomcat 5
> > configuration; XMLFileModule doesn't work
> > - the second was cocoon with jetty and it works.
> >
> > So, I think I have to find what is missing
Hola,
you can try to copy all the cocoon's lib/endorsed jar into
$TOMCAT_HOME/common/endorsed and restart it.
Bye
> Thank's
> Now, I've tried 2 configurations:
> - the first was the cocoon directory pointed by a Tomcat 5
> configuration; XMLFileModule doesn't wor
Thank's
Now, I've tried 2 configurations:
- the first was the cocoon directory pointed by a Tomcat 5
configuration; XMLFileModule doesn't work
- the second was cocoon with jetty and it works.
So, I think I have to find what is missing with Tomcat but I'm not
very confort
Hola,
seems that some libs are missing, are you using embedded jetty in cocoon
release?
> Hello
>
> With Cocoon 2.1.8, when I try the XMLFileModule in the page
> http://localhost:8282/samples/modules/index.html
> I get:
> ==Etat HTTP 500
Hello
With Cocoon 2.1.8, when I try the XMLFileModule in the page
http://localhost:8282/samples/modules/index.html
I get:
===
Etat HTTP 500 -
type Rapport d'exception
message
description Le serveur a rencontré une erreur interne () qui l'a
Geert Josten wrote:
> You will most likely find it in cocoon.xconf, though it might have been
> better to put the definition of the myxml input module into the
> appropriate sitemap file.
>
> About choosing the XML file:
> What I did just the other day was, make the input module point to
> somethi
the XMLFileModule
we find
value="{myxml:/forrestconf/@version}"/>
which, as stated in the comment, is supposed to be read in the file
context://samples/modules/forrestconf.xml
But I'm unable to find where is defined the file used by the sitemap and
the XMLFileModule module (fo
In the sample /samples/modules/xml.html about the XMLFileModule
we find
which, as stated in the comment, is supposed to be read in the file context://samples/modules/forrestconf.xml
But I'm unable to find where is defined the file used by the sitemap and the XMLFileModule module (forrescon
[mailto:[EMAIL PROTECTED] wrote:
> I want to extract data with XPath from an XML file whoes
> name depends on
> request parameters.
> The XMLFileModule is statically configured, so the file name
> is fixed.
>
> Please, is it possible without writing my own mo
Hi!
I've resolved the problem in the following manner:
http://mynamespaceuri"/>
<... using the {xpathResult} variable ... >
The "xpath" action is written by myself. It applies the XPath expression
to a file and returns the result into its object model.
I think this can
Alexander Berezhnoy wrote:
> Well, here is the usecase.
> The mobile portal supports downloading binary resources for the various
> handsets (that's implemented via the reader).
>
> The resources to be downloaded depend of the handsets' parameterers, which
> are stored in xml-file.
> To pass the
So that's all.
Just now I've invented a solution: I can write a serializer instead of a
reader and extract all data in xslt's. But that's more ugly, and very sad if
the same is impossible with XMLFileModule.
Well, all I'd say is, if you can write yourself a serialize
I've invented a solution: I can write a serializer instead of a
reader and extract all data in xslt's. But that's more ugly, and very sad if
the same is impossible with XMLFileModule.
Alexander.
//
- Original Message -
From: "Jorg Heymans" <[EMAI
Alexander Berezhnoy wrote:
> Plain XSLT won't help here.
> I need to extract the string and pass it as a param, say, to a reader.
>
Well, TIMTOWTDI !
Explain your usecase, maybe there is another way to achieve the same result.
Jorg
Hello Alexander,
Alexander Berezhnoy wrote:
Dear friends,
I've been looking for this feature for a week already, nobody and nowhere
can't give me a definite answer.
I want to extract data with XPath from an XML file whoes name depends on
request parameters.
The XMLFileModule is
t; can't give me a definite answer.
> >
> > I want to extract data with XPath from an XML file whoes name depends on
> > request parameters.
> > The XMLFileModule is statically configured, so the file name is fixed.
> >
>
> Why not plain xslt ?
>
>
>
>
Alexander Berezhnoy wrote:
> Dear friends,
> I've been looking for this feature for a week already, nobody and nowhere
> can't give me a definite answer.
>
> I want to extract data with XPath from an XML file whoes name depends on
> request parameters.
>
Dear friends,
I've been looking for this feature for a week already, nobody and nowhere
can't give me a definite answer.
I want to extract data with XPath from an XML file whoes name depends on
request parameters.
The XMLFileModule is statically configured, so the file name is fixed.
It was a bug and is fixed in CVS.
- Joose
6.7.2004 kello 13:39, Stephan Coboos kirjoitti:
Seems like that it does not read new settings..
Hmm, seems to be a bug. Please ask this question in the dev group
[EMAIL PROTECTED]
--
"Always remember that you are unique, just like everyone else!"
* http://
Joose Vettenranta wrote:
Seems like that it does not read new settings..
I changed file line to:
then changed content of the config.xml
reloaded many times.. -> still reading old values
How to refresh those values?
Hmm, seems to be a bug. Please ask this question in the dev group
[EMAIL PROTECTE
.
I put in cocoon.xconf like this:
and in sitemap
and it's working well =)
Thanks,
Joose
5.7.2004 kello 19:55, Stephan Coboos kirjoitti:
I don't know wether it is what you want, but you can use the
PropertiesFileModule or the XMLFileModule to access config datas
coming from a
Does anyone know if the XMLFileModule supports retrieving values from a
namespaced XML file? Off of some basic testing that I have done, it doesn't
appear to. Perhaps there is a way to configure prefix to namespace mappings
in the cocoon.xconf input module definition, so that those prefixe
36 matches
Mail list logo