Re: Strange output from aggregator (bug?)

2004-03-01 Thread Jorg Heymans
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

Re: Coplets in cocoon

2004-03-01 Thread Hochleiter
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

getting mount point

2004-03-01 Thread Zamek
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}/

Re: getting mount point

2004-03-01 Thread Jan Hoskens
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

Send Page, continue processing

2004-03-01 Thread Jan Hoskens
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

Adding users via the authentication framework

2004-03-01 Thread Bart Molenkamp
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

How to set system identifier in cocoon transformer ?

2004-03-01 Thread Wouter . DERUYCK
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

XSP generated .java debuging

2004-03-01 Thread gounis
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

authentication

2004-03-01 Thread Li, Wangqian
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/

Caching issues

2004-03-01 Thread Oscar Picasso
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,

Re: SVG conversion with Jeuclid

2004-03-01 Thread Tetsu Yamagishi
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

Re: TestCase doubts

2004-03-01 Thread Stephan Michels
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

Re: Coplets in cocoon

2004-03-01 Thread Anna Bikkina
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

Re: Writing Testcases for JUnit

2004-03-01 Thread Stephan Michels
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

Re: getting mount point

2004-03-01 Thread Zamek
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

Re: Cocoon installing on weblogic 8.x Step by Step

2004-03-01 Thread Patrick Hess
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

mysql - No suitable driver

2004-03-01 Thread Schult, Pascal
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

RE: Non-Ascii from Postgres

2004-03-01 Thread Yves Vindevogel
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

Re: mysql - No suitable driver

2004-03-01 Thread Anna Bikkina
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

RE: SOAP LogicSheet and request parameters

2004-03-01 Thread Markus Heussen
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

execute xsp and then redirect

2004-03-01 Thread Zamek
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/

Re: Coplets in cocoon

2004-03-01 Thread Hochleiter
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

Re: Coplets in cocoon

2004-03-01 Thread Anna Bikkina
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

Re: Send Page, continue processing

2004-03-01 Thread Bruno Dumon
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

Sub-sitemap static initialization

2004-03-01 Thread Jean-Luc Mathieu
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

Re: Help [Woody] Decimal Format incorrect from binding

2004-03-01 Thread Bruno Dumon
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/

Re: Help [Woody] Decimal Format incorrect from binding

2004-03-01 Thread JD Daniels
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

Re: Help [Woody] Decimal Format incorrect from binding

2004-03-01 Thread Bruno Dumon
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

Re: Avalon's role

2004-03-01 Thread Unico Hommes
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

Re: execute xsp and then redirect

2004-03-01 Thread Unico Hommes
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

Re: Sub-sitemap static initialization

2004-03-01 Thread Unico Hommes
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

RE: OpenOfficeGeneration

2004-03-01 Thread Yves Vindevogel
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 ?

How do deal with embeded repeaters in woody binding? Is there variable to use?

2004-03-01 Thread yuanliang liu
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

Re: OpenOfficeGeneration

2004-03-01 Thread Upayavira
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

(Aggregated) Document Entities Serialize Incorrectly

2004-03-01 Thread Julian
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

Re: (Aggregated) Document Entities Serialize Incorrectly

2004-03-01 Thread Julian
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

Authentication

2004-03-01 Thread Li, Wangqian
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

Re: Help [Woody] Decimal Format incorrect from binding

2004-03-01 Thread JD Daniels
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

RE: Sub-sitemap static initialization

2004-03-01 Thread Jean-Luc Mathieu
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

Re: Send Page, continue processing

2004-03-01 Thread Ugo Cei
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

Aggregation and XInclude ?

2004-03-01 Thread Stefan Geelen
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"

fop png problem

2004-03-01 Thread Pakalns
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

call sitemap from Java?

2004-03-01 Thread Mark Lundquist
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

Re: call sitemap from Java?

2004-03-01 Thread Mark Lundquist
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

RE: call sitemap from Java?

2004-03-01 Thread Ralph Goers
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

Re: Aggregation and XInclude ?

2004-03-01 Thread Jan Hoskens
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

Re: (Aggregated) Document Entities Serialize Incorrectly

2004-03-01 Thread Jan Hoskens
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:

Re: Sub-sitemap static initialization

2004-03-01 Thread Jorg Heymans
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?

A different luceneIndexTtransformer

2004-03-01 Thread Nicolas Maisonneuve
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