Are you in a position to quickly test this against 2.1.4 ? If not post
your a.xml file so we can test this.
Thanks
Jorg
David Leangen wrote:
Hi!
It's probably embedded as a quote if you're using mozilla
so more like
r
a
asdf
/a/r
Note the quotes around the
When I look at the XML source
Hi Anna,
the name of the fields inside the form
can be the same. You can even use the same coplet inside one page. What
needs to be different is the id of the coplet-instance-data.(Configure
it in profiles/copletinstancedate/portal.xml and use it in profiles/layout/portal.xml)
Nicole
Hi All,
I use my cocoon app by my home directory like
http://server/~zamek/app/params...
And I would like to get mount point in my xsp page:
map:match pattern=do-delete-**
map:generate src=java/delete.xsp type=serverpages
map:parameter name=file value={1}/
I don't know if there's an input module to do that, but if you need a file
or dir within your home dir (so an absolute path to your file/dir) then you
can also use the resolver like this:
xsp:structure
xsp:includeorg.apache.excalibur.source.Source/xsp:include
Hi,
I'm having a lot of data in my app that can be accessed and changed by
users. At a given time these users will click a link and a pdf will be
generated by aggregating all the data and serializing it with fop. This
process can take quite a bit of time (and if they cancel after a while, they
Hello,
I want to use the authentication framework in my application. How can I
use the user management capabilities of that framework? The
documentation tells me how to declare this, but doesn't tell me how I
can use this functionality from within my code. I know that the
portal-fw sample uses
Hello ,
I'm migrating my application towards cocoon. In my old code I have the code
below in which I initialize a transformer. I would like to know the
equivalent of the setSystemId method in cocoon. Is there a way to set the
system Identifier in the cocoon sitemap ? I need the system identifier
hi people
is it possible to set break points in .java files that are generated from
xsp. i have try using netbeans to open a generated from xsp .java file and
set a breakpoint but unsuccesfull.
is any other way to debug those files?
your hints?
thnx
--stavros
Hi, Kieran,
I have a question on authentication. Could you help me on this?
I read somewhere that the cocoon action provides authentication functions.
map:actions
map:action name=authenticator
src=org.apache.cocoon.acting.DatabaseAuthenticatorAction/
Hi,
On various docs, like the TraxTransformer api doc, we read that using
use-request-parameter, use-cookies, use-session-info etc might have
issues concerning cachability of the generated output.
From what I have seen, Cocoon generate a new output if the request parameters,
user cookies,
map:transformer name=mml2svg
src=net.sourceforge.jeuclid.cocoon.MathTransformer/
map:generate src={1}.mml/
map:transform type=mml2svg/
map:serialize type=xml/
Thank you very much for your response, Stephan.
Cheers
Tetsu
Am Mo, den 01.03.2004 schrieb Ann um 14:54:
Dear Stephan
Lets keep these things in the mailinglist ;-)
Thank you for the tips on how to write testcases .
I have some doubts here
First of all SitemapComponentTestCase class.is a part of Cocoon 2.1.4 .Do we have to
migrate to Cocoon 2.1.4
Thank you for the reply.
I gave different id's for my coplet but still the same problem
This is in my coplet-instance-data.
coplet-instance-data id=security-1 name=standard
coplet-datasecurity/coplet-data
/coplet-instance-data
coplet-instance-data id=marketmaker-1
Am Mo, den 01.03.2004 schrieb Ann um 15:04:
Dear Stephan
The SitemapComponentTestCase class. which you mentioned is a part of cocoon 2.1.4.
We are using 2.1.3.
Is it possible for us to use this class or do we have to migrate to 2.1.4!!
Secondly the .xtest file which you have mentioned
Hello All,
Thanks, it works well ...
On Monday 01 March 2004 13.21, Jan Hoskens wrote:
I don't know if there's an input module to do that, but if you need a
file or dir within your home dir (so an absolute path to your file/dir)
then you can also use the resolver like this:
xsp:structure
reza x wrote:
hi all
i want to use cocoon in my web application.but i encounter some
problems.one is thet weblogic can't deploy my war file and generate
folowing exception:
Cocoon works fine for me on several version of Weblogic (up from 7).
Easiest way to start was for me to unpack the WAR
hello all,
i have a problem to connect to my mysql database. i tried the hole day to get a
connection but it does not work. I read about 5 tutorials to get the MySQL Connector/J
installed, but no result.
Could anybody give me a hint?
I'm using Cocoon 2.1.4 with Tomcat 4.1.29 on Windows 2000
The encoding thing does not help. Could this be a bug in 2.1.(4) ?
I checked my connection, it includes charSet=iso-8859-1.
I checked every single file, all have iso-8859-1.
Is there content in the database that cannot be depicted ?
-Original Message-
From: Yves Vindevogel
In cocoon.xconf did you add driverorg.mmit... /driver tag in your database
connection tags.
Also it requires a driver that supports jdbc type 3. Check it out.
Anna.
On Monday 01 March 2004 11:24 am, Schult, Pascal wrote:
ad about 5 tutorials to get the MySQL Connector/J installed, but no
Try
test
xsp:attribute name=paramxsp-request:get-parameter
name=param//xsp:attribute
/test
Markus
-Original Message-
From: Andreas Wombacher [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 4:08 PM
To: [EMAIL PROTECTED]; anwo
Subject: SOAP LogicSheet and request parameters
Hello All,
I have a pattern like:
map:match pattern=list
map:generate type=directory src=.
map:parameter name=depth value=20/
map:parameter name=exclude value=\.xmap$/
/map:generate
map:transform src=dir2html.xsl/
map:serialize/
Is it possible that both forms react
on the same action? This would explain the problem.
In this case you could e.g. use a flowscript
to consider which coplet was send (with the copletId) and then save the
state in the session.
e.g. you have
form method=post action="">
then you have am matcher
Both my forms have different actions.
Security.xsp
form href=cocoon:/coplets/search/securityresult.xsp
method=post
input type=hidden name=visited value=true/
!-- also store username or session id here--
input
On Mon, 2004-03-01 at 19:14, Ugo Cei wrote:
Jan Hoskens wrote:
If I use sendPage() instead of sendPageAndWait() the pipelineprocessing is
given back to cocoon (in the docs), so if I place some code after that, will
cocoon first end that function (and thus giving a response) and goes on with
Hello!
I have to launch an init script (a Java piece of
program) at Cocoon startup (more precisely on the time the first user to
connect requests a specific sub-sitemap). Is it a simple way to do this using for
example sitemaps only, or I have to override CocoonServlet ?
Thank you in
On Sun, 2004-02-29 at 06:45, JD Daniels wrote:
This is probably and easy fix.. I am very tired
I have in a mysql table:
assetRetail DECIMAL (9,2)
My woody Definition:
wd:field id=assetRetail
wd:labelAssest Retail $/wd:label
wd:datatype base=decimal/
Bruno Dumon wrote:
On Sun, 2004-02-29 at 06:45, JD Daniels wrote:
This is probably and easy fix.. I am very tired
I have in a mysql table:
assetRetail DECIMAL (9,2)
My woody Definition:
wd:field id=assetRetail
wd:labelAssest Retail $/wd:label
wd:datatype
On Mon, 2004-03-01 at 20:03, JD Daniels wrote:
Bruno Dumon wrote:
On Sun, 2004-02-29 at 06:45, JD Daniels wrote:
This is probably and easy fix.. I am very tired
I have in a mysql table:
assetRetail DECIMAL (9,2)
My woody Definition:
wd:field id=assetRetail
Cocoon is build on top of the Avalon framework, meaning that relative to
Avalon it is a set of components that are managed by an Avalon container.
This may help too:
http://cocoon.apache.org/2.1/developing/avalon.html
Unico
sevtov wrote:
Hello, folks!
I have been styding Cocoon documentation
What you want is not possible. A pipeline consists of at least a
generator and a serializer. Putting a map:redirect-to after a
map:generate is incorrect. What you may want to do is use actions or
else flowscript (the latter being the preferred method).
Something like this (not tested, so will
I'm not sure I understand what you are trying to do.
At least you won't know what sitemap is going to process your request in
the CocoonServlet.
One thing I can think of that you could do is to wrap your sitemap mount
with an action.
The mounting sitemap:
map:match pattern=blah/**
map:act
Hmm, I see my name is this document since I wrote the original thing.
I have never tested this on Cocoon 2.1. But it seems David already answered
this.
I don't know whether I should revisit my code and update it for 2.1 ?
David: what's that about Forrest ?
How will those two combine ?
Hi,
This is my first time of using the cocoon mailing
list for asking questions. I have read all FAQ and
links and searched the archive. I want to get in part
in the cocoon mailing list for the future help.
I have problem in using cocoon 2.1.3 woody binding.
If I want to embed repeater inside
Yves Vindevogel wrote:
Hmm, I see my name is this document since I wrote the original thing.
I have never tested this on Cocoon 2.1. But it seems David already answered
this.
I don't know whether I should revisit my code and update it for 2.1 ?
If you can, please do.
David: what's that about
Hi,
I am using Cocoon 2.1 with j2sdk 1.4.1_02.
When I transform an aggregated document, I am
inserting the to separate various strings. After
transforming the document, it is serialized as xml.
Finally, the serialized document has  instead of a
white space (otherwise known as Â). When I
Sorry folks, but I meant:
When I transform an aggregated document, I am
inserting the amp;160; to separate various strings.
After.
--- Julian [EMAIL PROTECTED] wrote:
Hi,
I am using Cocoon 2.1 with j2sdk 1.4.1_02.
When I transform an aggregated document, I am
inserting the to
Hi,
Does anybody know to handle authentication in Map Action, using the cocoon build-in
actions like
map:action name=authenticator
src=org.apache.cocoon.acting.DatabaseAuthenticatorAction/
Thanks in advance for your reply.
Lee
Bruno Dumon wrote:
On Mon, 2004-03-01 at 20:03, JD Daniels wrote:
Bruno Dumon wrote:
On Sun, 2004-02-29 at 06:45, JD Daniels wrote:
This is probably and easy fix.. I am very tired
I have in a mysql table:
assetRetail DECIMAL (9,2)
My woody Definition:
wd:field
This solution suits my needs. Thanks a lot! :-)
-Message d'origine-
De : Unico Hommes [mailto:[EMAIL PROTECTED]
Envoyé : lundi 1 mars 2004 21:45
À : [EMAIL PROTECTED]
Objet : Re: Sub-sitemap static initialization
I'm not sure I understand what you are trying to do.
At least
Bruno Dumon wrote:
On Mon, 2004-03-01 at 19:14, Ugo Cei wrote:
If I understand your question correctly, yes, code following
cocoon.sendPage will be execute immediately, _while_ the response in
being sent to the client.
hmm, with while you imply that both are executed on separate threads?
This
Hi,
I aggregate some content:
...
map:aggregate
element="page"
map:part element="topnavbar" ns="http://www.xmlmill.com/topnavbar"
src=""/
map:part element="mainnavbar" ns="http://www.xmlmill.com/mainnavbar"
src=""/
map:part element="content" ns="http://www.xmlmill.com/content"
Hi,
I've upgraded to cocoon 2.1.4 and can't get *.png in my pdf documents. The
Acrobat says that 'a file read error has occured'... Any ideas?
Thank's,
Roberts
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I would like to be able to do something like
cocoon.processPipelineTo(), but from within a Java class instead of
flowscript.
Can I do that?
Thanks a lot,
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Mar 1, 2004, at 6:41 PM, I wrote:
Hi,
I would like to be able to do something like
cocoon.processPipelineTo(), but from within a Java class instead of
flowscript.
Can I do that?
Thanks a lot,
Mark
hmmm... since the Cocoon URIResolver is in effect, then something like
(new
From Java you can use:
Source source = SourceUtil.getSource(resource, null, parameters, resolver);
Document doc = SourceUtil.toDom(source);
For a complete example of this take a look at the PipelineAuthenticator
class in the authentication-fw block.
Ralph
-Original Message-
From: Mark
It would be strange that this combination doesn't
work, I use an aggregation too but afterwards do XSLT transformations, and this
does work (so it should work with other transformers, if syntax is right). Some
things to be sure of: is you're namespacing correct? Is there an
You mean when you do an XSLT transformation you want to have space between
sentences? If you want to insert a space in XSLT you can use xsl:text
/xsl:text. If not check you're encodings with each page, those might
reveal something...
Hope this helps,
Jan
- Original Message -
From:
One thing I can think of that you could do is to wrap your sitemap mount
with an action.
The mounting sitemap:
map:match pattern=blah/**
map:act type=initscript
map:mount src=sitemap uri-prefix=blah /
/map:act
/map:match
How does the above guarantee that the action is only run once?
hy,
i updated a old modified luceneIndexTransformer
that i made last year.
This LuceneIndexTransformer is more general (more
low level) and can be used to index all kind of resources (not only HTML page).
a typic pipeline to index would be :
ressource - XSLT -
LuceneIndexTransformer- xml
49 matches
Mail list logo