Developper address

2003-06-12 Thread Maxime.Gheysen
Hello, Does somebody know who developped the LDAP transformer, and what is his address? I would like to ask him some questions about the transformer because nobody seems to know how to solve my problem. Thanks - To unsubscribe,

Re: Mapping a htc file

2003-06-12 Thread Stavros Kounis
this is the way i use .htc and works i use cocoon 204 On Thu, 12 Jun 2003, Tim Bachta wrote: > I am trying to call a htc file but am not able to get it working. I > have it mapped in my sitemap like such: > > > > > > > > > > Am I doing this correct? > > Tim Bachta > > > > > >

Re: OOo and ZipArchive serializer

2003-06-12 Thread Upayavira
Let me know what version of Cocoon you're using and I'll try to send a correct patch. Upayavira On 12 Jun 2003 at 19:49, Georges Roux wrote: > Sorry, the patch fail I think, it's better to wait some time a next > version, to have a Zip serializer more efficient. > > patch < ZipSerializer.patch

RE: XML file

2003-06-12 Thread I-Lin Kuo
Conal's right. I didn't notice you were using a form. While his suggestions are valid, this is what I usually do for testing: 1) go to the submission form and save the html on my desktop 2) open up the html file and type in That way, I don't have to change anything in my cocoon app itself. I'll

Re: XMLType in Oracle9.2i

2003-06-12 Thread I-Lin Kuo
I'm just about to do this next week. I'd love to exchange notes. However, I don't quite understand what you meant by we no longer get results for the XML but as we select more columns we see that results are returned (i.e. the non XML containing columns can be visualised). And I wouldn't think

RE: XML file

2003-06-12 Thread I-Lin Kuo
I am getting an xml page back but it is not the same as what I would see. What is happening is that I have a login form that submits to this page. In this page I run a query to validate login. In the xml that I get back I am seeing invalid login but in the actual html that is produced the login

Re: Mapping a htc file

2003-06-12 Thread Daniel McOrmond
Try this: where resource is defined within your sitemap, up near the top within the map:readers element: ... ... This is how our project allows access to the .htc file See the cocoon api for more info: http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/reading/ResourceReader.htm

java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument

2003-06-12 Thread thomas loubrieu
Hi, I have a problem with the svg2jpeg serializer. First I worked with tomcat 4.0.3, cocoon 2.0.4 and j2sdk1.4.1_02 on debian linux, and everything was allright. Now, I have to make my work run on another debian with tomcat 4.0.3, cocoon 2.0.4, as before, but j2sdk1.4.0_02. I get the following

RE: Autoshape --> Rectangle (xsl:number processing error))

2003-06-12 Thread Yan, Charlene
Thank you for the information. That was the problem. from attribute takes a pattern not a string. Charlene -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: Re: Autoshape --> Rectangle (xsl:number pro

Re: Autoshape --> Rectangle (xsl:number processing error))

2003-06-12 Thread J.Pietschmann
Yan, Charlene wrote: I'm using xsl:number in the following. Every time after I add > from="27" in the tag, it will give me the error below. Is it > caused by changing Transform type xslt to xalan in the sitemap? No. According to the spec: http://www.w3.org/TR/xslt#number the 'from' attribute

Re: implementing <>

2003-06-12 Thread Vadim Gritsenko
Jorg Heymans wrote: Good pointer thanks Vladim :-) The difference with the xsp page ofcourse is that I cannot access the requestparameters from within the serializer. And you should not. As a matter of fact the generatekey and cachevalidity gets called before anything else in the serializer, so

Re: xml/xsl transform working, but fails thru cocoon?

2003-06-12 Thread J.Pietschmann
Paul Tomsic wrote: Hi, we can't seem to make a transformation work when retrieving the data from a SQL source. We do get the XML back correctly, but when it's displayed as PDF, everything is blank. You don't have a layout master set, but this may be a result of the snipping, and there is nothing el

Re: Using xsl:if

2003-06-12 Thread J.Pietschmann
Tim Bachta wrote: I am trying to do an if statement to select a template according to ... and I want to do : if(element(parameter-name) == BeginEndDate) { do this; } else if (element(parameter-name) == Locations) { do that; } XSLT questions are best sent to the XSL list: h

Mapping a htc file

2003-06-12 Thread Tim Bachta
I am trying to call a htc file but am not able to get it working. I have it mapped in my sitemap like such: Am I doing this correct? Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: xsl:import question

2003-06-12 Thread Joerg Heinicke
Hello Markus, no guarantee that it works, but what about the following: Now you must add a pipeline to your sitemap: With this solution you have added a further mapping layer: You can change the location of your trignm.xsl without changing the import statements in every refering stylesh

Re: xsl:import question

2003-06-12 Thread Richard in Public
Hi Markus I haven't tried any of this, but it occured to me that you could improve things somewhat by mounting a 'trig-sub-sitemap', or perhaps even a library sub-sitemap. (I cannot remember whether it would be sufficient to do this in your main sitemap only (i.e. the one in the cocoon root direc

Get values from Postgres database

2003-06-12 Thread Markus Blasl
Hello, i want to set up an application with a postgres database. It's my first contact with cocoon so far, maybe someone can help. What I did so far: Installed Postgres, Apache, Tomcat and Cocoon. Everything is working fine, and I also played a little bit with the cocoon features. Now I downlo

Re: OOo and ZipArchive serializer

2003-06-12 Thread Georges Roux
Sorry, the patch fail I think, it's better to wait some time a next version, to have a Zip serializer more efficient. patch < ZipSerializer.patch patching file ZipArchiveSerializer.java Hunk #1 FAILED at 111. Hunk #2 FAILED at 288. 2 out of 2 hunks FAILED -- saving rejects to file ZipArchiveSeri

JXTemplate and session beans

2003-06-12 Thread Hugo Burm
How can I access the members of a bean that is stored in the session? In an action I did something like: session.setAttribute("usr",myBean); And now I am trying to access the members of the bean in a JXTemplate view. I tried $(session.usr.lastname} and #{session/usr/lastname}. All documentation

Using xsl:if

2003-06-12 Thread Tim Bachta
I am trying to do an if statement to select a template according to values of an element. I have this - < - <

Dynamic model for Cocoon XMLForm

2003-06-12 Thread Jeroen Cranendonk
Hi all, I want to create a screen which contains an unknown number of person information input types, there's namely a button on the screen which add, every time it is pressed, 5 extra persons input types. So i've 5, 10, 15, 20, n persons input types displayed on a screen. Actually the numbe

Re: FOP Serializer configuration

2003-06-12 Thread Joerg Heinicke
Shortly after writing this, I had to realize that the servlet context can be jndi:/localhost/..., which is not what I want and that has changed between Tomcat 4.0 and 4.1 (both in combination with JBoss 3.x). Changing the to cocoon:/ protocol does not work as you already have experienced. This

Re: implementing <>

2003-06-12 Thread Jorg Heymans
Good pointer thanks Vladim :-) The difference with the xsp page ofcourse is that I cannot access the requestparameters from within the serializer. As a matter of fact the generatekey and cachevalidity gets called before anything else in the serializer, so I can't generate a key based on the conte

Re: FOP Serializer configuration

2003-06-12 Thread Joerg Heinicke
What Cocoon version do you use? I have 2.0.4 and use context://doc/fop/config.xml without any problems. Joerg Carmona Perez, David wrote: Hi all, Alter reading this page: http://cocoon.apache.org/2.0/userdocs/serializers/pdf-serializer.html I've tried to configure the FOPSerializer with a fi

FOP Serializer configuration

2003-06-12 Thread Carmona Perez, David
Hi all, Alter reading this page: http://cocoon.apache.org/2.0/userdocs/serializers/pdf-serializer.html I've tried to configure the FOPSerializer with a file generated through a Cocoon pipeline in this way: cocoon:/config-fop.xsp

RE: from an XSP page

2003-06-12 Thread Antonio Gallardo
hi: OKAY! I hear your voice :) I attach 3 files: 1- bienvenidos.xsp - a welcome page after authentication that get the user name from the authentication framework. Is an example of how to use it. Please check the XSP header. 2-XSPSessionHelper1.java - The Helper class that have a helper method

what's WRONG?

2003-06-12 Thread Maxime.Gheysen
What is wrong? I don't know why it doesn't work!!! Everything seems right?! SITEMAP.XMAP = ldap://{request-param:serverurl}.NET"/> LDAP.XML = http://apache.org/cocoon/LDAP/1.0";> com.sun.jndi.ldap.LdapCtxFactory 3 389 SUBTREE_

Caching Questions

2003-06-12 Thread David LAGARDERE
Hello. I have two questions dealing with the caching process in Cocoon. 1. I want to refer to an internal Pipeline as the XML source of other pipelines without aggregating it or calling it as a resource (because it would never return). The only trick I know is to make the internal Pipeline the so

Re: use an http attribute in an action

2003-06-12 Thread Lionel Crine
you can try : public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws Exception { Request request = ObjectModelHelper.getRequest(objectModel); String num = request.getParameter("numero"); String protection = request.getParameter("

RE: from an XSP page

2003-06-12 Thread Maxime.Gheysen
I get the error : The prefix "xsp-session" for element "xsp-session:getxml" is not bound I have a real problem! Because we have two applications with cocoon. I developped in XSP and the other with XML-Forms. He made the authentification and portal. Now in my application (there is a link between t

what are the possible values for :

2003-06-12 Thread Maxime.Gheysen
what is for? I mean I didn't found (neighter in the books neighter on the internet) anything about the ldap:authentification! All what is said is that its default value is "simple". That's it!!! So, what is it for and what are the possible values?

Re: Persistent Cookies

2003-06-12 Thread Upayavira
> I'm playing with using Cookies from flow, and I've got a basic system > going, which is great. > > However, I'd like to make the the cookie persistent (i.e. stays > forever), but the servlet cookie class setMaxAge takes an int, which > only allows me to persist for 27 days > > How can I extend

[SUMMARY] RE: combine values and variables for parameters in the sitemap

2003-06-12 Thread Maxime.Gheysen
I have found the problem. The tag is obligatory in case of setting both rootdn & password as parameter in the sitemap. If rootdn is in the ldap.xml is not needed (in my case it was missing, so the ldap query didn't use the rootdn & passwd parameters and returned an authentification error) ---

Re: implementing <>

2003-06-12 Thread Vadim Gritsenko
Jorg Heymans wrote: Hi all, How can I add caching to my custom written serializer? On average my serializer takes 3 seconds to complete (regardless whether I implement the cacheable interface or not) My serializer implements 2 interfaces : Serializer and Cacheable. Implementation of the caching

Re: AW: from an XSP page

2003-06-12 Thread Antonio Gallardo
Markus Heussen dijo: > Did you try > > String role = path="/parameter/role"/>.toString(); > > ? I dont believe this can work. :( But you can try! :) Best Regards, Antonio Gallardo > > > -Ursprungliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag,

RE: from an XSP page

2003-06-12 Thread Antonio Gallardo
> So how can I get the user information from my portal? I dont know. XSP does not support: Because this is a transformer tag. I dont use portal block at all. This is a good question that I posted last year and appears like nobody has interest in use sesion tags with XSP. I have a code that can

AW: from an XSP page

2003-06-12 Thread Markus Heussen
Did you try String role = .toString(); ? -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juni 2003 13:53 An: [EMAIL PROTECTED] Betreff: from an XSP page Is it possible (and how) to set into a variable in XSP? I tried String role =

implementing <>

2003-06-12 Thread Jorg Heymans
Hi all, How can I add caching to my custom written serializer? On average my serializer takes 3 seconds to complete (regardless whether I implement the cacheable interface or not) My serializer implements 2 interfaces : Serializer and Cacheable. Implementation of the caching interface :

RE: warpConnection crash tomcat

2003-06-12 Thread Geoff Howard
I've had bad luck with warp in general. There's JK2 now and the old JK. Also you should check out wiki.cocoondev.org and look for the ApacheModProxy page that may get you out of any of those connectors. Geoff > -Original Message- > From: Stavros Kounis [mailto:[EMAIL PROTECTED] > Sent:

RE: problem with setting up cocoon in webLogic

2003-06-12 Thread Geoff Howard
There should be no need to build from source - but you need to ensure that you get the binary version appropriate for your java version.  Your choices are JDK1.4 or JDK1.2 (for this purpose, JDK1.3 is the same as 1.2).   Look in the WEB-INF/lib directory and look for a file/files that hav

Re: OOo and ZipArchive serializer

2003-06-12 Thread Georges Roux
Thanks I try that way, it' usable with compression but I don't know why not to be OOo fully compliant there is a lot of documentation on SXW file format. http://xml.openoffice.org/faq.html#4 and http://xml.openoffice.org/faq.html#10 Georges Upayavira wrote: Georges, Well, I m not ready

RE: from an XSP page

2003-06-12 Thread Maxime.Gheysen
So how can I get the user information from my portal? -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 1:58 PM To: [EMAIL PROTECTED] Subject: Re: from an XSP page The tag is not part of the Cocoon distribution. See error 13070 in bugzill

Persistent Cookies

2003-06-12 Thread Upayavira
I'm playing with using Cookies from flow, and I've got a basic system going, which is great. However, I'd like to make the the cookie persistent (i.e. stays forever), but the servlet cookie class setMaxAge takes an int, which only allows me to persist for 27 days How can I extend beyond this?

Re: from an XSP page

2003-06-12 Thread Antonio Gallardo
The tag is not part of the Cocoon distribution. See error 13070 in bugzilla. Antonio Gallardo. > Is it possible (and how) to set path="/parameter/role"/> into a variable in XSP? I tried > String role = path="/parameter/role"/>; > > But cocoon returns the error > "Type mismatch: cannot convert f

from an XSP page

2003-06-12 Thread Maxime.Gheysen
Is it possible (and how) to set into a variable in XSP? I tried String role = ; But cocoon returns the error "Type mismatch: cannot convert from void to String" thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Cache Key Uniqueness

2003-06-12 Thread Geoff Howard
The cache used to use String but switched after some discussion - a primary reason was speed on cache lookups IIRC. Do you need more than 64 bytes? The key only has to be unique within the scope of your component, not all components/cache items. Geoff Howard > -Original Message- > From:

RE: can't resolve session in xsp

2003-06-12 Thread Geoff Howard
Remember that xsp (like jsp) gets compiled into a java class - a Cocoon Generator. In order to account for all the things people might want to do (define additional methods, etc) only the code inside the first tag gets placed inside the generate() method of the resulting generator. XSP defines so

Re: OOo and ZipArchive serializer

2003-06-12 Thread Upayavira
Georges, > Well, I m not ready to post, because have some problems with > ZipArchive serializer In OpenOffice Writer document (sxw) there is 4 > files: meta.xml styles.xml content.xml settings.xml and a directory > META-INF/ > > meta.xml is not compressed to allow easy searching and extraction

Re: OOo and ZipArchive serializer

2003-06-12 Thread Upayavira
The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your sy

Re: Desperately need help with installing Cocoon on webLogic 7

2003-06-12 Thread Alexandre Victoor
Hello Anne I have tried by mistake to install Cocoon 2.0.4 compiled for the jdk1.4 on weblogic 7. I had the same error page you have. With cocoon compiled for the jdk1.3 there is no problem at all. Hope it helps Alex At 20:34 11/06/2003 -0700, you wrote: Dear all, I am really really stuck with

Authentication: XSP & Database

2003-06-12 Thread Ternes, Oliver
Hi everyone, I have problems using the authentication framework and session management. I read the user documentation thousand times and I tried to modify the Portal framework to suit my needs, but it doesn't work at all. Well, I want to create a login using a database. I need to retrieve the righ

RE: POI --Setting logger Level

2003-06-12 Thread Geoff Howard
It's a whole separate sub project: http://jakarta.apache.org/poi/ After reading through the documentation there, if your question is still unanswered, there are mail lists linked from that main page. Geoff > -Original Message- > From: Mehra, Vishal [mailto:[EMAIL PROTECTED] > Sent: Wedne

Re: can't resolve session in xsp

2003-06-12 Thread morten svanæs
Hi all, seems like I finaly found the solution myself. Maybe it's pretty obvious but anyway. It seems like you can't get session before the first tag in a xsp. THIS DON'T WORK! ,reports "can't resolve session" String sessionvar = (String)session.getAttribute("foo"); THIS WORKS!

How to redirect this?

2003-06-12 Thread Mato Mira, Fernando
Hello, I have a matcher for customized logins, if a resource is not found, I want to redirect to the standard login processing: ... ... ... act if resource found ... However, this does not work. If for the uri foo/login the resource is not found,

Re: OOo and ZipArchive serializer

2003-06-12 Thread Georges Roux
Well, I m not ready to post, because have some problems with ZipArchive serializer In OpenOffice Writer document (sxw) there is 4 files: meta.xml styles.xml content.xml settings.xml and a directory META-INF/ meta.xml is not compressed to allow easy searching and extraction of the meta data. We

Cache Key Uniqueness

2003-06-12 Thread David LAGARDERE
Hello. I have read that BuzHash algorithm is more efficient for keys whose length is lower than 64 bytes. Do I have a strong probability of collision if my key is greater than 64 bytes ? What about using String as cache key ? Thanks in advance. David LAGARDERE __

XMLType in Oracle9.2i

2003-06-12 Thread Majcen, Kurt
Hi, has anyone already used the 'get-xml' from esql taglib with the ORACLE9.2i datatype XMLType? We are working with Cocoon 2.0.3. We have already used the CLOB datatype and their everything works fine with get-xml (i.e. we receive the content and can display it after a transformation). After

xsl:import question

2003-06-12 Thread Markus Alin
Hi!! I'm using a computational stylesheet with alot of trigonometry templates which I include into whatever style sheet which needs it with the tag. I ofcourse want the computational stylesheet to be available all over the application and I don't want to keep duplicate copies of it. The only way

Re: can't resolve session in xsp

2003-06-12 Thread morten svanæs
Hi, I forgot to say the xsp called is called from within another xmlform script. Seems like something happens when you use a xsp inside another match ? - Original Message - From: "morten svanæs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 12:47 AM Subject: ca

shared "context" for all users

2003-06-12 Thread andi
Hi, i'd like to have a shared context (or similar) for all users (to see who else is online etc ). is there a solution fro this in cocoon? otherwise i thought about implementing a threadsafe-component (which is shared for all requests i think). anyone any ideas? TIA andi ___

use an http attribute in an action

2003-06-12 Thread Olivier GUCKERT
Hello all, Y have a HTTP request like : chargement-decision.html?numero=3805&protection=inter and y want to use the numero and protection attributes in an action. Do some one know how to do that ? Thanks - To unsubscribe, e-m

Re: Alias in database descriptor file

2003-06-12 Thread Christian Haul
On 12.Jun.2003 -- 12:42 AM, Amelie Cordier wrote: > > On 11.Jun.2003 -- 03:42 PM, Amelie Cordier wrote: > >> > How do you know it doesn't work? > >> > >> I've two forms : one to fill the DB according to the first description > >> and the other to fill it according to the second one... when I use th

Re: TeX to PDF serializator

2003-06-12 Thread Stephan Michels
On Wed, 11 Jun 2003, Alexander Schatten wrote: > Peter Flynn wrote: > >TeX systems are for formatting: you use them to typeset something > >which was created/edited/stored/manipulated in (for example) XML. > >Because of the way history happened, TeX preceded XML, so we have > >a lot of legacy TeX

RE: combine values and variables for parameters in the sitemap

2003-06-12 Thread Maxime.Gheysen
I think the problem isn't from {request-param:username} , but from the parameter itself! Because in my log I get errors that the username is not entered and that the filter is empty. Even if I "hardcode" the username and filter. Is there anywhere some precise documentation about the ldap transforme

RE: combine values and variables for parameters in the sitemap

2003-06-12 Thread Maxime.Gheysen
Ok, I see what you mean. But in the following case I can get the two parameters sitemap xsl = ... But here I can't : sitemap -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 5: