RE: Cocoon 2.1.3 / Woody / Flow - Endless Loop?

2003-11-19 Thread Danny Bols
Pfff...this problem did cost me a lot of sweat and tears.cleaning up my tomcat working directory was the key to the solution. I guess exception handling in the cocoon cache/jisp was causing the hangup of tomcat...but I was not abe to track the problem further down. I hope this information

LinkRewriter transformer

2003-11-19 Thread Danny Bols
Hello, I want to use a similar linkrewriting approach as in Forrest (but much simlper) and I ran into 2 problems: 1. My documents are not in the default namespace and the LinkRewriter only acts upon the default namespace. Is there any chance the namespace for the LinkRewriter will be

Woody Transformer: absolute addressing of widgets

2003-11-19 Thread Danny Bols
Hello, is it possible in the Woody transformer to use absolute addressing for widgets in a repeater like: wt:widget id=repeater.row.name/ or for nested situations: wt:widget id=repeater1.row1.repeater2.row2.widgetname/ Usecase: in a repeater'-mode the order lines of a sales order only

XSP making call to fetch html to include for final output?

2003-11-19 Thread Tsui, Alban
Title: XSP making call to fetch html to include for final output? Hi I am thinking of writing an xsp page and internally it will try to make a POST request (hiding from the user that we are donig this...) to another web server to fetch a html page and serialises this back as my own html.

AW: XSP making call to fetch html to include for final output?

2003-11-19 Thread Markus Heussen
Title: XSP making call to fetch html to include for final output? why don't you use the html generator to do this? it uses jtidy to generate xhtml from the source html code which can be used in later transformations http://cocoon.apache.org/2.0/userdocs/generators/html-generator.html

AW: XSP making call to fetch html to include for final output?

2003-11-19 Thread Markus Heussen
Title: XSP making call to fetch html to include for final output? But you can also cinclude/ a sitemap resource. What about doing something like this in your xsp? cinclude xsp:attribute name="src"cocoon:/html-generator-matcher?param1=xsp-request:get-parameter

InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
Hi List, I wrote a very simple InflatedFileGenerator that takes a zip file and extract one item to use it as source for FileGenerator. It's useful if you want to use, for example, standart OpenOffice.org format .sxw instead of flat xml. Of course you can use it with .zip format. Usage example

URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago)

2003-11-19 Thread Simon Hutchinson
Hi, I am very new to coccon so please excuse any glaring errors in my question. I have written a transformer whose job in part is to extrat a uri from a knowledge article returned from our knowledgebase. swsolution cinclude:include select=*|text()

cocoon on windows 98

2003-11-19 Thread single cell
Hello! i am a new cocoon user. some experience: the only way i've managed to get cocoon running was to build it on a remote linux box, download and install cocoon.war. -- best regards, single cell - To unsubscribe, e-mail:

Re: Refined authentication: directory open for users, subdirectory for subgroup of users?

2003-11-19 Thread Sandor Spruit
Carsten Ziegeler wrote: Just an idea how to solve this: - during authentication you can pass the group information in the XML that is stored in the session. - you can then write a is-in-group-selector and use that in the sitemap. So if someone wants to access students/group 2, the selector looks

Re: Uploading files with Cocoon 2.1 (one more)

2003-11-19 Thread Josep Riudavets
Hi Steve I have achieved to upload a file with your action Today is a happy day !!! The problem was in the pipeline declaration But I have some questions to you: 1. In the pipeline, you specifies the upload-dir as incoming. It's ok ... my files are saved into /cocoon/incoming/

Webfrontend for FileMaker DB using Cocoon

2003-11-19 Thread Kai Benndorf
Hi all, i'm pondering about realizing a web frontend to a FileMaker database using JDBC and Cocoon. As a test example i want to create a page, showing one record and a 'Back' and 'Forward' button, to browse through the complete records. In an older MySQL Webapplication i've realized this with

cocoon woody/flow question

2003-11-19 Thread Joakim Verona
Hello list, I'm trying to build a very simple woody/flow example, and have a question on how the woody/flow interaction works. 1) If I look at the guess a number game in the cocoon wiki, it doesn't use woody forms, just flow, and is pretty straightforward. 2) If I look at the woody/flow

Automatic wizard through continuations

2003-11-19 Thread Antonio Felguera
Hello everybody, I'm programming an automatic wizard through a continuation using jxform and three generic XSP templates. When I try to execute the wizard the first time it runs ok and I finish the continuation with the form.finish() method but when I execute it the second time with another

Re: URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago)

2003-11-19 Thread Tony Collen
Simon Hutchinson wrote: This solution works until I try to generate a uri with an illegal character ie a space. It appears that the request-param is (correctly) decoding the parameter I am passing it but unfortunately this is not the behaviour I require. Is there any way that I can

Re: web.xml init-params

2003-11-19 Thread Jeremy Quinn
On 18 Nov 2003, at 13:04, Upayavira wrote: Then I mount a site into that root sitemap which is in an entirely different place. It is this site that I would be sharing with others, not the Cocoon webapp itself. For that, I would share a build process that creates a Cocoon webapp with all the

excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
Where can I download the source for excalibur-sourceresolve-1.2-dev? Ralph Goers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Encoding problem - browser doesn\'t care of set encoding

2003-11-19 Thread Marcin Okraszewski
Hi, It really seams that this is the reason!! I had master copy on Tomcat 4.1.27, and the new copy on 4.1.29. As I changed to 4.1.27 everything is fine :-) I'm pretty suprised, I must say! Thanks for help! Marcin On Tue, Nov 18, 2003 at 11:10:38AM +0100, [EMAIL PROTECTED] wrote: Hi, I have

Re: Encoding

2003-11-19 Thread Marcin Okraszewski
Hi, I've asked the same question yesterday. And the solution (unfortunately) was exactly the same! Regards, Marcin This looks to be a problem with Tomcat 4.1.29. I'm not quite sure how to resolve it, but running Cocoon 2.1.3 in Tomcat 4.1.27 seems to work. - Justin On Nov 18, 2003, at 4:42

RE: excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
I am extremely frustrated. I have upgraded to Cocoon 2.1.3 and am trying to unit test my application, but it doesn't work because I cannot find the version of the source for ExcaliburTestCase used by 2.1.3. Please help!!! Ralph -Original Message- From: Ralph Goers Sent: Wednesday,

Re: Automatic wizard through continuations

2003-11-19 Thread Marcin Okraszewski
Hello everybody, I'm programming an automatic wizard through a continuation using jxform and three generic XSP templates. When I try to execute the wizard the first time it runs ok and I finish the continuation with the form.finish() method but when I execute it the second time with another

Serialization Exceptions

2003-11-19 Thread yuri
Hi, we are getting the following exception when the memory cache is free()'ed and it attempts to serialise the xslt processor (presumably) to the file cache. Has anyone seen this problem before? It happens even with Xalan 2.5.2. The class ExtensionNamespacesManager is not serializable, it

Re: Automatic wizard through continuations

2003-11-19 Thread Leszek Gawron
On Wed, Nov 19, 2003 at 05:46:42PM +0100, Marcin Okraszewski wrote: Hello everybody, I'm programming an automatic wizard through a continuation using jxform and three generic XSP templates. When I try to execute the wizard the first time it runs ok and I finish the continuation with the

Re: excalibur-sourceresolve

2003-11-19 Thread Roger I Martin PhD
Hi, What version is in 2.1.3? http://www.apache.org/dist/avalon/excalibur-sourceresolve/source/ from http://www.apache.org/dist/avalon/ are possibilities. I know it may not be useful at the moment but working from CVS check outs of everything has it's pros and cons. - Original Message

Authentication(Authentication Framework)

2003-11-19 Thread onet
I am using own authenticator class for authorization(Authentication Framework). I have no idea how check in authenticator if there is a user with the same ID logged ??? -- Best regards, onetmailto:[EMAIL PROTECTED]

Re: URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago)

2003-11-19 Thread Simon Hutchinson
Tony Collen wrote: Simon Hutchinson wrote: This solution works until I try to generate a uri with an illegal character ie a space. It appears that the request-param is (correctly) decoding the parameter I am passing it but unfortunately this is not the behaviour I require. Is there

RE: excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
Obviously, whoever did the 2.1.3 build did a CVS checkout from excalibur for these pieces. I really need the source code that the cocoon team used for this. Ralph -Original Message- From: Roger I Martin PhD [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 9:05 AM To:

RE: access input modules from stylesheet

2003-11-19 Thread Ralph Goers
You can write a source resolver that can then be used to import stylesheets. However, I ran into the same problem you are having and we are writing a generator to aggregate the parm data into the XML the stylesheet is processing. Ralph -Original Message- From: Leszek Gawron

Re: excalibur-sourceresolve

2003-11-19 Thread Ugo Cei
Ralph Goers wrote: I am extremely frustrated. I have upgraded to Cocoon 2.1.3 and am trying to unit test my application, but it doesn't work because I cannot find the version of the source for ExcaliburTestCase used by 2.1.3. Where can I download the source for excalibur-sourceresolve-1.2-dev?

RE: excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
It has nothing to do with ExcaliburTestCase except that it is the same problem. Cocoon ships with excalibur-sourceresolve-1.0.2-dev as you said and excalibur-component-1.2-dev. I can't find these at the Avalon site. If they are in Cocoon's CVS that would be sufficient and I'll get it from there.

Re: excalibur-sourceresolve

2003-11-19 Thread Roger I Martin PhD
I understand; to get going a possibility is to get the source from avalon CVS, build the sourceresolve jar and see if it performs as 1.2-dev or are you in a production situation that would frown at this? If it is Ok then your unit testing can continue. I do this for the sourceresolve component

RE: Authentication(Authentication Framework)

2003-11-19 Thread Carsten Ziegeler
You have to remember all authenticated users (IDs) in your authenticator class. Only one instance of this class is created, so it shoud work by simply using an instance variable to store the ids. The authenticator is also notified when a logout happens, BUT it's not notified when the session times

Source Writing Transformer

2003-11-19 Thread Jan Wielgus
Hello, I am using the source writing transformer to delete files and it works ok. The only problem is, that after a file is deleted, there is a message displayed in the output page, such as: success source deleted successfully deletedeletedcontext:/LetterMan/grafiken/user-1/stryn2004.gifnone

Re: Source Writing Transformer

2003-11-19 Thread Upayavira
Jan Wielgus wrote: Hello, I am using the source writing transformer to delete files and it works ok. The only problem is, that after a file is deleted, there is a message displayed in the output page, such as: success source deleted successfully

Re: Source Writing Transformer

2003-11-19 Thread Jan Wielgus
Hi, Just do an XSLT to remove it? Geez, what a simple idea :-) I've just done it using an xslt, as you wrote. Thanks for the tip :))) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Getting continuation before sending a page?

2003-11-19 Thread Stephan Coboos
Hello, is it possible to get the continuation id before calling sendPageAndWait? Thank you Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Getting continuation before sending a page?

2003-11-19 Thread Reinhard Poetz
-Original Message- From: Stephan Coboos [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 10:17 PM To: [EMAIL PROTECTED] Subject: Getting continuation before sending a page? Hello, is it possible to get the continuation id before calling sendPageAndWait? No, but

Re: excalibur-sourceresolve

2003-11-19 Thread Joerg Heinicke
On 19.11.2003 19:31, Ralph Goers wrote: It has nothing to do with ExcaliburTestCase except that it is the same problem. Cocoon ships with excalibur-sourceresolve-1.0.2-dev as you said and excalibur-component-1.2-dev. I can't find these at the Avalon site. If they are in Cocoon's CVS that would be

RE: excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
I can't get the source from Avalon unless it is tagged the same as the cocoon jar. Otherwise there is no guarantee that it is what Cocoon is using. Was the source for the snapshot releases of the components used by Cocoon captured? or is there no way to reconstruct what 2.1.3 is built upon?

RE: excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
There is no shipping component in Avalon named 1-2-dev from their downloads page. Our firewall precludes cvs access so I would have to use cvsgrab or some other means to get this. It would be much more useful for me to download a single file rather than for me to have to wade through Avalon's

Job opportunity in Boston

2003-11-19 Thread Alex Romayev
Hi, Sorry if this is not relevant. I was contacted by a recruiter (who saw Cocoon on my resume) for a position in Boston, MA which requires the knowledge of Cocoon. Let me know if you're interested and I'll put you in contact with him. Here is the description: One of our clients in Boston, MA

ESQL Problem in 2.1.3

2003-11-19 Thread Corey Keith
The recent changes in xsp.xsl in 2.1.3 seem to be breaking the esql logicsheet or theyare uncovering a bug in the esql logic-sheet. ESQL is pretty much broken in 2.1.3 for me. Can someone forward to the dev list? Thanks, Corey 1.3 xsp.xsl xsl:template match="text()" xsl:choose

Xindice and Cocoon

2003-11-19 Thread Heiner Braun privat
I am using Cocoon and Xindice already for some time. With the latest CVS-snapshop of Cocoon and Xindice I don't succeed in getting the pseudo proticol running. I am using the servlet variant. Which I succeed to access via XML-RPC from perl. Only the Cocoon pseudo-protocol is not working. What do

Re: excalibur-sourceresolve

2003-11-19 Thread Joerg Heinicke
On 19.11.2003 23:16, Ralph Goers wrote: There is no shipping component in Avalon named 1-2-dev from their downloads page. Our firewall precludes cvs access so I would have to use cvsgrab or some other means to get this. It would be much more useful for me to download a single file rather than

RE: excalibur-sourceresolve

2003-11-19 Thread Ralph Goers
Let me put it another way. To do my debugging I need the source code that ships with the Cocoon release. Ideally, this could be downloaded from Cocoon's website as a companion zip file. However, it is acceptable to me to be able to go to the other project's web site and download their source as a

Re: Job opportunity in Boston

2003-11-19 Thread Tony Collen
Alex Romayev wrote: Hi, Sorry if this is not relevant. I was contacted by a recruiter (who saw Cocoon on my resume) for a position in Boston, MA which requires the knowledge of Cocoon. Let me know if you're interested and I'll put you in contact with him. Here is the description: I'm not

Re: Job opportunity in Boston

2003-11-19 Thread Alex Romayev
I have my resume on Monster.com, so I assume this is where he found me. From what I've seen from job postings in the US, it's usually a nice to have skill listed together with Struts and Velocity (don't ask me...) and after all the core must have java skills have been listed. Cheers, -Alex

Re: Job opportunity in Boston

2003-11-19 Thread Tony Collen
Alex Romayev wrote: I have my resume on Monster.com, so I assume this is where he found me. From what I've seen from job postings in the US, it's usually a nice to have skill listed together with Struts and Velocity (don't ask me...) and after all the core must have java skills have been

map:redirect-to and error handling

2003-11-19 Thread Ralph Goers
I tried putting a map:redirect-to in my error handling section and got an error processing the sitemap saying that it isn't allowed? Anybody know why? However, the documentation on error handling shows an example using a (presumably) fictional action as map:act type=redirect and warning to do

Sendmail action declaration causes java.lang.OutOfMemory

2003-11-19 Thread Vladimir Marko
Hi all, I'm trying to use Sendmail action in my sitemap.xmap, but everytime I add: snip map:action logger=app name=sendmail src=org.apache.cocoon.acting.Sendmail/ /snip into the map:actions section, Container throws OutOfMemory exception upon any request. Snippet from log: snip INFO: Starting

Re: InflatedFileGenerator

2003-11-19 Thread Tony Edwards
Hi Jean, We use the OpenOffice format a fair bit here for other projects. I did write a simple generator to extract the 'content.xml' from the .sxw file but it was a bit of a kludgey hack as my java skills are still a bit infantile! I'd be interested in utilising your offering if that's

RE: InflatedFileGenerator

2003-11-19 Thread Conal Tuohy
You can read zipped content with the regular FileGenerator, using the jar: protocol. See http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample -Original Message- From: Tony Edwards [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 November 2003 12:36 To: [EMAIL PROTECTED] Subject:

Re: Sendmail action declaration causes... (solved)

2003-11-19 Thread Vladimir Marko
Shortly after I sent a message I have looked once more into the problem and I've found out that mail.jar wasn't on the classpath. When i put it into WEB-INF/lib everything works fine. But still the previous error message may be quite puzzling :) Vladimir Marko wrote: Hi all, I'm trying to

Re: cocoon woody/flow question

2003-11-19 Thread Joe Latty
The form object is passed to your makereport function from the woody2.js this is due to the lines: map:call function=woody map:parameter name=function value=makereport/ !--using the following element for its form definition-- map:parameter name=form-definition value=forms/form1.xml/

Re: resin 3.0.3 and cocoon 2.1.2 jsp problems

2003-11-19 Thread Robert Andersson
JH == Joerg Heinicke [EMAIL PROTECTED] writes: JH On 08.11.2003 10:20, Robert Andersson wrote: thanks for your input, though a new release of resin, version 3.0.4, fixed the problem. so in short -- resin 3.0.4 and cocoon 2.1.2 seems to work well together... so far anyway, i suppose the jsp

how to use output of transform in sitemap

2003-11-19 Thread Lars Huttar
Hi all, I'm having a tough time figuring out how to use the output of a transformation in the sitemap. The task is fairly simple user authentication. Pseudocode for the desired operation: 1) check the id and password request params against the user database (users.xml) map:generate

Re: InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
I didn't know the FileGenerator zipped capabilities ... Here it is my source. It's pretty simple. It inherits from the FileGenerator. You have to give 4 parameters : * src : src archive path * directory : dir where you want to store the unzipped content * file : file to extract * newfile : new

Re: InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
Is extracted file of zipped content cached ? Conal Tuohy wrote: You can read zipped content with the regular FileGenerator, using the jar: protocol. See http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample -Original Message- From: Tony Edwards [mailto:[EMAIL PROTECTED] Sent: