OXF (was Re: cocoon and related projects based on cocoon ...)

2002-11-04 Thread Ugo Cei
Matthew Langham wrote: 2.) http://www.orbeon.com/oxf/ i found this pointer today in the struts discussion trail. I did not really investigate on this although it sounds quite interesting but again i thought this belongs strongly to cocoon, if it is feasible... Again something

Re: Authorisation in Cocoon 2.0.3

2002-11-04 Thread Damian Chojna
Matthew Langham wrote: My idea was to use an action to do this check, like the auth-protect except that this action would set some parameters indicating which resource the pipeline should use. Use the auth-protect action. This action returns a map of values to the sitemap processing. Inside

RE: authentication frustration

2002-11-04 Thread Bert Van Kets
At 14:57 31/10/2002 +0100, you wrote: I too will be very hard at work on a SAP project from November 18th till February 2003. I will be developing iViews for the SAP Enterprise Portal. One of the things I'll be testing is integrating Cocoon in an iView. Should be interesting, specially

Re: Accessing the output of a modular db action in xsl

2002-11-04 Thread Christian Haul
On 03.Nov.2002 -- 12:03 PM, Phil Craven wrote: because that is going the wrong way, I don't want one level up, I want one level down. Also I would be just as happy getting the values out of the request attributes (in the xsl), but I cannot seem to figure out how to do so. If anyone has

Re: directory generator - sorting parameter works?

2002-11-04 Thread Bert Van Kets
Hi Sanne, This feature is not available. You'll have to add it and provide a patch. You can use sorting in XSLT though using xsl:for-each and then xsl:sort. HTH, Bert At 11:14 31/10/2002 +0100, you wrote: Hi, I've been trying to get a sorted file listing from the directory generator. Here's my

C2.1 installation problem

2002-11-04 Thread Senhaji
Hi, I've just finished building the C2.1 with the following configuration : JDK 1.4.1_01 Tomacat 4.1.12 Win2K When I try to access the starter link http://localhost:8080/cocoon/documents/index.html; I receive this exception : type fatal message Failed to execute pipeline. description

Ldap authentication

2002-11-04 Thread Olivier GUCKERT
Hello all Do someone know how to make an authentication with LdapTransformer. The client enter DN and passwd : how can i do the LDAP authentication with these informations ? Thanks - Please check that your question has not

Re: Pipeline vs Pipeline(S)

2002-11-04 Thread Diana Shannon
On Thursday, October 31, 2002, at 02:59 PM, Steven Punte wrote: What the difference between map:pipeline map:match=foo../ map:match=bar../ / and map:pipeline map:match=foo../ / map:pipeline map:match=bar../ / Please see:

XMLForm and pop-up menu

2002-11-04 Thread Sylvain.Thevoz
Hello, I use XMLForm and I want to implement pop-up menu in a form. Is there a solution? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting.

RE: XMLForm and pop-up menu

2002-11-04 Thread Reinhard Poetz
Sylvain, As far as I know - no. What should be the content of the pop-up menu? Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: Monday, November 04, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: XMLForm and pop-up menu

RE: XMLForm and pop-up menu

2002-11-04 Thread Sylvain.Thevoz
The content should be simply a list of word. The user should choose a word in the pop-up menu (and only these words) instead of enter a word. Sylvain -Message d'origine- De: Reinhard Poetz [mailto:reinhard_poetz;gmx.net] Date: lundi, 4. novembre 2002 14:49 À: [EMAIL PROTECTED] Objet:

RE: XMLForm and pop-up menu

2002-11-04 Thread Reinhard Poetz
Do you mean a selection field: Here an xml snippet from Ivelin's example: xf:selectOne ref=os selectUIType=radio xf:captionOS/xf:caption xf:item id=unix xf:captionUnix/Linux/xf:caption xf:valueUnix/xf:value /xf:item xf:item id=mac

RE: XMLForm and pop-up menu

2002-11-04 Thread Sylvain.Thevoz
yes, in the same way but instead of using a radio type where your choices are on the screen (and you put the point on your choice), I would like to use a pop-up list where the choices are hidden in a list (maybe the word menu is not very appropriate). This stuff is in all web forms. Sylvain

Re: Pipeline vs Pipeline(S)

2002-11-04 Thread jcallahan
You can use different different map:pipeline sections to: (1) Allow each map:pipeline to define its own error handling va map:handle-errors. Example: map:pipeline map:match pattern=foo.../map:match map:handle-errors !-- use one

webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Senhaji
Hi everybody, Can someone explain what is the difference between the Webapps authentication framework that comes with the auth-login, the auth-logout and the auth-loggedIn actions and the sunRise' actions. Why there are two authentication frameworks? Thanks

Cocoon 1.8.2 and Tomcat 4.1.12

2002-11-04 Thread Greg Jewell
Hi All, I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12. I've made significant progress, but am encountering an error that I don't understand. In order to get this far, I've had to configure Cocoon to use the SunXMLParser rather than Xerces. (The versions of Xerces found in

dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
Hello, all. Is it possible to choose what an action perform at runtime based on sitemap parameters? I have the pipeline below for processing XMLForms. It is working just nice for one form if I do not use the {1} param but hard code the Action name. I would like to make it work as described so I

RE: XMLForm and pop-up menu

2002-11-04 Thread Reinhard Poetz
I think you have to skip the attribute selectUIType=radio. Then a drop down list should be created. Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: Monday, November 04, 2002 4:20 PM To: [EMAIL PROTECTED] Subject: RE: XMLForm

RE: dynamically choosing an action at runtime

2002-11-04 Thread Artur Bialecki
Just use appropriate selector: http://xml.apache.org/cocoon/userdocs/selectors/selectors.html Artur... -Original Message- From: Josema Alonso [mailto:alonso;aafunky.com] Sent: November 4, 2002 11:39 AM To: Cocoon-Users Subject: dynamically choosing an action at runtime Hello,

Re: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Markdelanoy
sunrise I believe was the prototype, e.g. scratchpad, for the authentication framework. You should probably not use it. MD - Please check that your question has not already been answered in the FAQ before posting.

Re: Authentication: redirect

2002-11-04 Thread Alex Romayev
I'm afraid this e-mail got missed over the weekend. Carsten or anyone else familiar with 2.1 authentication would you be able to help? Thanks, -Alex --- Alex Romayev [EMAIL PROTECTED] wrote: Hello, I can't seem to figure out how to redirect back to a protected resource after the

Retrieving user data from portal

2002-11-04 Thread R
How does one retrieve the user data that is stored in the data tags when going through the authentication framework? I've traced into code and it seems that its being saved in the session somewhere, but I can't seem to be able to figure out how to pull it from the session using the session

Re: Ldap authentication

2002-11-04 Thread Markdelanoy
If you want to use the authentication framework look at the authenticate resource. You'll get passed in a password/username and really anything else you had in your login page. Then within the authenticate resource you can call LDAP. the resource can be a cocoon pipeline or some external

Re: Cocoon 1.8.2 and Tomcat 4.1.12

2002-11-04 Thread Joerg Heinicke
Hello Greg, is there anyway written a reference to a file on drive D:\? There must be written file://D:/... instead. Regards, Joerg Greg Jewell wrote: Hi All, I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12. I've made significant progress, but am encountering an error that

Re: Retrieving user data from portal

2002-11-04 Thread Markdelanoy
Look at the SessionTransformer. It retrieves it. Really session, authentication and the portal all work together. MD - Please check that your question has not already been answered in the FAQ before posting.

XMLForms and Java (repost)

2002-11-04 Thread Mauro Daniel Ardolino
Hi all! I'm sending this questions again because I'm still looking the answers. Thanks a lot and sorry for the repost. Mauro -- Forwarded message -- Date: Fri, 1 Nov 2002 12:42:40 -0300 (ARST) From: Mauro Daniel Ardolino [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL

Re: XMLForms and Java (repost)

2002-11-04 Thread Mauro Daniel Ardolino
I'm sending this questions again because I'm still looking the answers. oops...looking FOR the answers. Thanks a lot and sorry for the repost. Mauro -- Forwarded message -- Date: Fri, 1 Nov 2002 12:42:40 -0300 (ARST) From: Mauro Daniel Ardolino [EMAIL PROTECTED]

Re: Authentication: redirect

2002-11-04 Thread Markdelanoy
I did a hack because as you say currently the examples only work for a particular url/file/resource. I actually pass the resource given to me and store it within the login page as a hidden field. When the user submits username, password/etc this will come along too. Then if authenticated

Re: dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
Just use appropriate selector: http://xml.apache.org/cocoon/userdocs/selectors/selectors.html I already tried but haven't found a nice way of using them for this purpose. I can make something like the pipeline below, but i have dozens of similar cases and it doesn't seem like a good approach.

Re: Retrieving user data from portal

2002-11-04 Thread R
Right.. I've looked at the SessionTransformer. I'm assuming I will need to do some sort of: session:getxml context=??? path=/data/title/ or some such... but I don't know what context the authentication framework stores the user data in. Am I barking up the wrong tree? thanks, rob On Mon, 04

Re: Cocoon 1.8.2 and Tomcat 4.1.12

2002-11-04 Thread mercuron
Hi Greg, I had a similar problem under Win2k. I had to reinstall Tomcat in a directory without spaces in its path name. I do not know where the problem comes from, but I never had the problem with Tomcat 4.0. Marco Hi All, I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12.

RE: dynamically choosing an action at runtime

2002-11-04 Thread Artur Bialecki
Check out the Calling resources on this page http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html Maybe you can organize the 'meat' of your pipeline as as a resource and just map:call it from your main pipeline. Artur... -Original Message- From: Josema Alonso

Selecting serializer based on URI

2002-11-04 Thread Werner Guttmann
Hi, is it actually possible to select a serializer based on a regexp in the URI, iow something similar to the following sitemap fragment map:pipeline map:match type=wildcard pattern=publish/instruction-controller.html map:generate type=serverpages src=xml/instruction-controller.xml /

ForwardRedirector ???

2002-11-04 Thread Artur Bialecki
Is there a way to redirect internally (without going back to the browser) from an action? Actions get a Redirector but it is a SitemapRedirector that calls HttpEnvironment.redirect(). Is there any way I can get a ForwardRedirector in my action. Thanks, Artur...

RE: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Senhaji
Thank you Mark. Shall this information be in the authentication framework documentation. -Message d'origine- De : [EMAIL PROTECTED] [mailto:Markdelanoy;aol.com] Envoyé : lundi 4 novembre 2002 18:15 À : [EMAIL PROTECTED] Objet : Re: webapps Authentication framework vs sunRise

Re: Retrieving user data from portal

2002-11-04 Thread Markdelanoy
I personally don't use it, but remember going through the authentication code and seeing it. I'm not certain how well documented this is but take a look in Developer Section/webapps/session. There's probably some mention there. If not or not sufficient to your liking there's always the code.

Re: Retrieving user data from portal

2002-11-04 Thread Rob Johnston
Yup. It is context authentication. I totally missed this when tracing through the code. thanks! rob On Mon, 04 Nov 2002, [EMAIL PROTECTED] wrote: I personally don't use it, but remember going through the authentication code and seeing it. I'm not certain how well documented this is but

Re: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Markdelanoy
Shall this information be in the authentication framework documentation. I'm not sure what you mean by that. If your referring to my saying you should use the release version versus the scratchpad version... I'd take release version as presumeably scratchpad development would stop. beyond

Re: dynamically choosing an action at runtime

2002-11-04 Thread Joerg Heinicke
It's also possible to only have the map:generate/ as child of map:select/ and map:act/ and the rest comes after map:select/: map:match pattern=* map:select type=parameter map:parameter name=parameter-selector-test value={1}/ !-- Case #1 -- map:when test=EquipmentType

Re: OXF (was Re: cocoon and related projects based on cocoon ...)

2002-11-04 Thread Erik Bruchez
Ugo Cei wrote: It surely looks based on Cocoon as far as some architectural concepts are concerned. It does not look based on the Cocoon source code though. Or, at least, they don't say it is ;-). True: OXF doesn't use a single line of code from Cocoon (as a matter of fact we haven't even

RE: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Senhaji
I mean if the sunRise framework was really the prototype for the authentication framework, this information should be in the authentication framework doc. I was a little bit confused that C2 supports two frameworks for the same purpose and apparently there is no relationship between them. Senhaji

Re: Accessing uri-prefix from within sub-sitemaps?

2002-11-04 Thread Joerg Heinicke
Hello Justin, is it possible to use the RequestParamAction (http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/acting/RequestParamAction.html), to pass the {requestURI} to the stylesheet and to have there some logic to get the correct substring? Regards, Joerg Justin Fagnani-Bell wrote:

Re: Mixed XSL performance under Windows/UNIX?

2002-11-04 Thread Joerg Heinicke
What you read is the complaint of MSXML about the namespace declaration xmlns:xml= This declaration should not be in the output, it's implicit. Can you remove it in any way? Regards, Joerg Derek Hohls wrote: Does anyone know of a reason why an XSL stylesheet would exhibit different

Re: Accessing serialized output

2002-11-04 Thread Joerg Heinicke
It's not possible to access serialized output, you have to write the source earlier to disk. There exists a SourceWritingTransformer, but it's not available at http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/transformation/package-summary.html, so I assume it's only available in Cocoon

Re: Selecting serializer based on URI

2002-11-04 Thread Justin Fagnani-Bell
Werner, You'll need to use a selector to do this, parameter selector works well. Try something like this: map:match pattern=something.* map:generate src=something.xml/ map:select type=parameter map:parameter name=parameter-selector-test value={1}/ map:when

Re: Accessing uri-prefix from within sub-sitemaps?

2002-11-04 Thread Justin Fagnani-Bell
Thanks for the reply Joerg, I looked into your suggestion, but I don't quite see how to do it. For a project in development the URI will be something like: http://dev.myhost.com/projects/proj1/ and for a deployed project the URI will just be http://somehost.com/ but after that the URI

Re: dynamically choosing an action at runtime

2002-11-04 Thread Justin Fagnani-Bell
Josema, You don't have to include the parts of your pipeline that are the same in the map:when elements. You can just include the map:act element, since it appears that you're not returning any parameters from your action, and then you won't have to duplicate the part that doesn't vary.

Re: RequestExampleGenerator

2002-11-04 Thread Stefan JAKSCH
thanks for your hint, I got it working now... (it was an error in the sitemap, and - relaxed after a long weekend without computers - I found it rather quickly) for the tutorial: I didn't complete it yet (as I couldn't get the 2nd example to work...) but so far it has been useful and gave me a

deploy problems on sun one app server 7.0

2002-11-04 Thread Kyle Koss
Greetings all: I have recently installed the sun one app server 7.0 and am in the process of deploying our applications. Most of them have gone smoothly except when it comes to cocoon. I created a war file from our current cocoon, and also tried to deploy the current CVS version, and got this

Re: Anyone? (was Re: More sub-sitemap questions)

2002-11-04 Thread Justin Fagnani-Bell
Hi, Sorry for reposting this yet again, and to both lists, but I haven't been able to find a solution to something that I think should work, (at least according to the cocoon wiki, which specifically mentions that one of the uses for mounts having their own cocoon.xxonf files is to define

FW: Cocoon 1.8.2 and Tomcat 4.1.12

2002-11-04 Thread Greg Jewell
Joerg, I don't see any direct references to my D: drive, but thanks for explaining what the error means. Is there someplace specific I should be looking other than Tomcat's server.xml or Cocoon's web.xml or cocoon.properties? Thanks again, Greg -Original Message- From: Joerg

FW: Cocoon 1.8.2 and Tomcat 4.1.12

2002-11-04 Thread Greg Jewell
Marco, Unfortunately, there are no spaces in my path to Tomcat. Thank you for the suggestion though. You're help is appreciated. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:mercuron;gmx.ch] Sent: Monday, November 04, 2002 11:03 AM To: [EMAIL PROTECTED] Subject: Re:

Re: FW: Cocoon 1.8.2 and Tomcat 4.1.12

2002-11-04 Thread Joerg Heinicke
Hmm, I don't know. I have no experience with Cocoon 1.x. Have a look in every file involved in the processing. If one page works and another one not, it must be very specific, maybe the index.xml itself. Sorry, that I can't provide you more help. Regards, Joerg Greg Jewell wrote: Joerg, I

Re: dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
It's also possible to only have the map:generate/ as child of map:select/ and map:act/ and the rest comes after map:select/: ... I see, thanks. But for my eyes still everything seems to be the same except the action interna. Maybe it's better to use only one action and choosing there

Re: dynamically choosing an action at runtime

2002-11-04 Thread Josema Alonso
You don't have to include the parts of your pipeline that are the same in the map:when elements. You can just include the map:act element, since it appears that you're not returning any parameters from your action, and then you won't have to duplicate the part that doesn't vary. I'm

Re: XMLForm and pop-up menu

2002-11-04 Thread Ivelin Ivanov
For drop down list use: xf:selectOne For radio buttons, use xf:selectOne selectUIType='radio' - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 8:11 AM Subject: RE: XMLForm and pop-up menu The content should be simply a list of word.

Re: Accessing the output of a modular db action in xsl

2002-11-04 Thread Phil Craven
here is the sitemap segment that shows what I am trying to do. map:match pattern=group2.xsp map:act type=mod-db-sel action=sel-ci map:parameter name=table-set value=content_item/ map:generate type=serverpages src=group2.xsp/ map:transform

Pulling XML data out of database

2002-11-04 Thread Robert Ellis Parrott
This is probably an easy one: I want to pull a valid XML text out of a database using SQLTransformer if possible. Problem (1) everything is escaped away to gt;, lt;, and #13; Problem (2) the resulting text won't really be valid, since it would include a second ?xml version=1.0?. How do

Re: Mixed XSL performance under Windows/UNIX?

2002-11-04 Thread Derek Hohls
Yes, that's what I would like to know too - how to remove all the attribute data "attached' (not sure by which process or component) to the page tag Thanks Derek [EMAIL PROTECTED] 04/11/2002 10:03:32 What you read is the complaint of MSXML about the namespace declaration xmlns:xml="...".

Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

2002-11-04 Thread Mark Eggers
While trying to compile the lastest CVS version of cocoon, I ran into an issue with the scratchpad libraries: In part, from the file DelayedFileOutputStream.java: public void setFileOutputStream(File file, boolean append) throws FileNotFoundException { if (fos == null) { fos

Re: Accessing the output of a modular db action in xsl

2002-11-04 Thread Phil Craven
here is the sitemap segment that shows what I am trying to do. map:match pattern=group2.xsp map:act type=mod-db-sel action=sel-ci map:parameter name=table-set value=content_item/ map:generate type=serverpages src=group2.xsp/ map:transform

Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

2002-11-04 Thread Lajos Moczar
I just changed the relevant line to: fos = new FileOutputStream(file.getCanonicalPath(), append); Regards, Lajos Mark Eggers wrote: While trying to compile the lastest CVS version of cocoon, I ran into an issue with the scratchpad libraries: In part, from the file

Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

2002-11-04 Thread Mark Eggers
Thanks, I need to sit down and read the Java API (again). --- Lajos Moczar [EMAIL PROTECTED] wrote: I just changed the relevant line to: fos = new FileOutputStream(file.getCanonicalPath(), append); Regards, /mde/ just my two cents . . . .

Re: Anyone? (was Re: More sub-sitemap questions)

2002-11-04 Thread Justin Fagnani-Bell
Hi, Sorry for reposting this yet again, and to both lists, but I haven't been able to find a solution to something that I think should work, (at least according to the cocoon wiki, which specifically mentions that one of the uses for mounts having their own cocoon.xxonf files is to define