Re: Cocoon use worldwide

2003-01-31 Thread Thor Heinrichs-Wolpert
I'm just North of you in BC and I'm using Cocoon on my project. I'm sure there are others, but the 2 biggest things I've seen is the lack of diverse clients locally. By that I mean the really poor telephony networks across NA compared to other areas means I rarely see or build stuff for local

Re: name an output-file dynamically in cocoon?

2003-01-31 Thread Konstantin Piroumian
From: [EMAIL PROTECTED] Hi again, is it possible to name an output-file dynamically in cocoon. E.g. a pdf is created that has the name report_31_01_2003.pdf because its the 31 Jan 2003 (or report_GSM.pdf because I got a parameter with the value GSM). Is this possible at runntime? What

Re: convert text in xml wel form

2003-01-31 Thread jtacaoio
Hi Angelo, You can convert structured text to XML with Chaperon parser generator (a parser because it parses the text and generator because it creates an XML document) which is integrated in cocoon as a generator. See for more details: http://chaperon.sourceforge.net/

Problem with special character (JSP) éà

2003-01-31 Thread CARLETTA ANGELO
--- Reçu de INFETUDE.G145193 02/250.96.71 31-01-03 09.39 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 28 Jan 2003 13:11:00 +0100 Subject: special character (JSP) éà --- Reçu de INFETUDE.G145193 02/250.96.71 28-01-03 13.11 Hi, I have a problem

Re: name an output-file dynamically in cocoon?

2003-01-31 Thread Johannes . Becker
Hi Konstantin, I thought that I've already answered to this. See my previous post on your question. Generally, the 'type' attribute cannot be dynamic, because the pipeline is constructed before processing. I asked because you posted this before:

Re: substring-before()

2003-01-31 Thread Thorsten Scherler
Thanks! Joerg Heinicke wrote: Thorsten Scherler wrote: Jupp, thanks! What would be an appropriate XSLT forum? Any recommendations? http://www.mulberrytech.com/xsl/xsl-list/ Joerg - Please check that your question has

Re: name an output-file dynamically in cocoon?

2003-01-31 Thread Andreas Bednarz
Ho Dorthe, kannst Du uns zwei Resieanträge in Blanko ausdrucken? Andreas Am Fre, 2003-01-31 um 09.47 schrieb [EMAIL PROTECTED]: Hi Konstantin, I thought that I've already answered to this. See my previous post on your question. Generally, the 'type' attribute cannot be dynamic, because

Re: Cocoon use worldwide

2003-01-31 Thread Antonio Gallardo
Jeff Ramsdale dijo: Hi all, I'm just curious about something. I've been reading the Cocoon-users list for a couple of weeks or so and I see a lot of folks in Europe (and Australia--Jeff T!) interested in Cocoon. I'm sure it's not a matter of Americans ( Canadians?) not being interested, I'm

Multiple matches in a protected resource

2003-01-31 Thread Lionel Crine
Hello, I use sunrise framework. I'd like to protected multiple patterns but I don't know how. Here is what I tried : !-- the handle -- ... map:action name=sunRise_auth src=org.apache.cocoon.sunshine.sunrise.acting.AuthAction handlers handler name=foo_handler

RE: Cocoon use worldwide

2003-01-31 Thread Luca Morandini
-Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon use worldwide -dont know. I have no acces to printed publications, since BYTE (http://www.byte.com) stop sending magazines and I

RE: Multiple matches in a protected resource

2003-01-31 Thread Carsten Ziegeler
Lionel Crine wrote: Hello, I use sunrise framework. I'd like to protected multiple patterns but I don't know how. Here is what I tried : snip/ map:match pattern=protected* map:act type=sunRise_auth map:parameter name=handler value=foo_handler/

AW: date translation

2003-01-31 Thread Scherler, Thorsten
xsl:value-of select=translate($your-date, '/', '.') / Would be if only I need to change all the '/' into '.' -Ursprüngliche Nachricht- Von: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 08:57 An: [EMAIL PROTECTED] Betreff: Re: date translation Yes,

xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello group, is there an equivalent in xsp to the xsl: xsl:param name=date/? e.g. guess my request is like that: ...?date=30%2F01%2F2003. And esql:query select * from info_bericht where Info_datum = #xsp-request:get-parameter name=date/# /esql:query is working fine. But

Re: Cocoon use worldwide

2003-01-31 Thread John Callahan
Jeff, I live and work in Washington, D.C. USA and see the need for Cocoon rising rapidly in government and industry. The primary reason is the lack of content scalability from other solutions (ASP,JSP,CFM). These technologies suffer from poor support for pipelining XML easily and their

Re: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 14:31, Scherler, Thorsten wrote: Hello group, is there an equivalent in xsp to the xsl: xsl:param name=date/? Yes, see below e.g. guess my request is like that: ...?date=30%2F01%2F2003. And esql:query select * from info_bericht where Info_datum =

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello Andrew, with: xsp:logic try{ String timeOfDay = (new SimpleDateFormat(MM/dd/)).format(parameters.getParameter(date); }catch(Exception e){} /xsp:logic I get: type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception:

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Jan Harms
Andrew Timberlake wrote: try{ String timeOfDay = (new SimpleDateFormat(MM/dd/)).format(parameters.getParameter (date); }catch(Exception e){} /xsp:logic You will need to wrap the code in a try/catch block or alternatively use the syntax: parameters.getParameter(date, default

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello jan, with the request I get a similar error like with the parameters. But here are all the files: my sitemap.xmap: ?xml version=1.0? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; !-- === Components --

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Jan Harms
Are you sure these are the correct files? I don´t see the xsp:logic tag with the SimpleDateFormat(MM/dd/)).format(... The error message looks like you have forgotten to close some curly braces. That´s just a guess though... -Jan -Ursprüngliche Nachricht- Von: Scherler,

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Sorry jan, ...and thabks a lot for your help! I posted the working one! ;-) The NOT working logic/IDC2_info_int.xsp: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xsp:logic try{

RE: xsp-element equivalent to xsl:param?

2003-01-31 Thread Geoff Howard
Wast that cut and pasted? It looks like you're missing an end ) - should be: getParameter(date)); Geoff -Original Message- From: Scherler, Thorsten [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 7:48 AM To: [EMAIL PROTECTED] Subject: AW: xsp-element equivalent to

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Yes, I've noticed that as well but with getParameter(date)); - same exception. Thanks -Ursprüngliche Nachricht- Von: Geoff Howard [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 14:17 An: [EMAIL PROTECTED] Betreff: RE: xsp-element equivalent to xsl:param? Wast that cut

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Jan Harms
Thorsten, here is a tip that might be useful: When you get a message Error compiling foo.xsp you should have a look at the generated java class. Like JSPs, XSPs are transformed into a .java source file. Afterwards cocoon tries to compile this .java file into a .class file. These files can be

Get session variables for a generator

2003-01-31 Thread Lionel Crine
Hello, I' d like to get two session variables and use them as parameter for my custom generator. 1/Should I get them in the sitemap and use map:parameter ? in the sitemap. how do I write that ? 2/Or should I get them direclty in the generator ? How do I do that ? Lionel

Passing User-Agent as a map:parameter

2003-01-31 Thread Lenya L. Khachaturov
Hello, I'd like to know if it's possible. I would like to do the following: map:transform src=blog/blog.xsl type=xslt map:parameter name=browser value=USERAGENT/ /map:transform So that in my XSL I could write the following: xsl:if test=$browser='ie' link

RE: Cocoon use worldwide

2003-01-31 Thread Geoff Howard
I've been working with Cocoon for a little over a year now (in the US) and have certainly have had that feeling. There have been some really good points so far which I won't recapitulate. I'll just add a couple of tidbits: - I have been looking for Cocoon related jobs in the US and haven't

Re: Get session variables for a generator

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 16:01, Lionel Crine wrote: Hello, I' d like to get two session variables and use them as parameter for my custom generator. 1/Should I get them in the sitemap and use map:parameter ? in the sitemap. how do I write that ? map:generator ... map:parameter name=var1

AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello Jan, I couldn't find the error. But I attached it. -Ursprüngliche Nachricht- Von: Jan Harms [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 14:31 An: [EMAIL PROTECTED] Betreff: AW: xsp-element equivalent to xsl:param? Thorsten, here is a tip that might be useful:

AW: Get session variables for a generator

2003-01-31 Thread Sternath Elmar
I used WildcardSessionAttributeMatcher to get session attributes: map:match type=sessionstate pattern=* map:parameter name=attribute-name value=YourParam/ map:generate type=YourGenerator src=YourSource map:parameter name=YourParam value={1} / Here is

Re: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 16:09, Scherler, Thorsten wrote: Hello Jan, I couldn't find the error. But I attached it. The following code looks VERY wrong as you seem to have java code that resides outside of a method. /*snip*/ try{ String timeOfDay = (new

Re: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 16:09, Scherler, Thorsten wrote: Hello Jan, I couldn't find the error. But I attached it. I was reading your previous post in which you posted your xsp source. Instead of this: esql:execute-query esql:query select * from info_bericht where country

Re: XMLForm Xindice howto at Wiki refactored and ready

2003-01-31 Thread Ivelin Ivanov
Josema, The new revision is excelent. Please follow the instructions to submit an official HOWTO http://xml.apache.org/cocoon/howto/howto-author-howto.html Diana will take it from there. I would recommend the following minor corrections to the code: In the fragment below, why use //. Is it a

Re: Cocoon use worldwide

2003-01-31 Thread jcallahan
Geoff, I'm game for a DC CHUG. I already partipate in the DC SGML/XML UG and the Baltimore HJUG, but my S.O. won't mind another night per month. Right? :-) Let's talk on Wed. Feb 19th at the DC SGML/XML UG meeting (at the AGU Bldg. on Florida and Connecticut Aves. NW north of Dupont Circle).

AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello Andrew, my final xsp should look like this: ... dataset xsp:logic try{ String timeOfDay = (new SimpleDateFormat(MM/dd/)).format(request.getParameter(date)); }catch(Exception e){} /xsp:logic esql:connection esql:poolIDC2_int/esql:pool esql:execute-query esql:query select * from

AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
I found out that (1): ... xsp:logic String timeOfDay = (new SimpleDateFormat(MM/dd/)).format(new Date()); /xsp:logic ... esql:query select * from info_bericht where country ='xsp-request:get-parameter name=GETcountry/' AND Info_datum = #xsp:exprtimeOfDay/xsp:expr# /esql:query

Re: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
Try this ... dataset xsp:logic String timeOfDay = ; try{ timeOfDay = (new SimpleDateFormat(MM/dd/)).format(request.getParameter(date)); }catch(Exception e){} /xsp:logic esql:connection esql:poolIDC2_int/esql:pool esql:execute-query esql:query select * from

How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Cyril Vidal
Hello, I would like to retrieve the language of the user's browser, so that I could call the I18n Trasnformer in the right way (by passing the locales's value equal to the browser's language). To retrieve the language set up in the browser, I've used the Request Generator, and applied the

RE: proposal: The Newbies Competence Center (XSP?)

2003-01-31 Thread Hunsberger, Peter
I think we are agreeing (?) on the issue of proprietary : in essence, any code that you do not write yourself is 'proprietary' in some way - it belongs to someone. Uh, no, but it's not worth worrying about... - Please check

Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Konstantin Piroumian
From: Cyril Vidal [EMAIL PROTECTED] Hello, I would like to retrieve the language of the user's browser, so that I could call the I18n Trasnformer in the right way (by passing the locales's value equal to the browser's language). Simply use the LocaleAction as it is done in i18n samples.

AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Thanks, but now I am not getting any results because is always timeOfDay = . I will look into using esql:parameter tags. Thanks for your patience. -Ursprüngliche Nachricht- Von: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 16:07 An: [EMAIL PROTECTED]

Question on generators...

2003-01-31 Thread SriKumar Kareti
Thanks for you help in advance... I am a new user to Cocoon. I have searched the site pretty well and could not answer this question. Could someone help... My goal is to move from current servlet based solution to Cocoon. The general flow of my current program is 1) Take the request, 2)

session variables from sunshine framework

2003-01-31 Thread Lionel Crine
I have a smal portal with a login page. I get them with : map:parameter name=parameter_name value=request:name/ map:parameter name=parameter_password value=request:password/ to check them with an xsl page. I presume this two variable are stored in a sunshine context. If yes : how can i get

Re: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
I think that the request parameter is returning a string and the format object is expecting a Date object. (I should have recognised this earlier). I think the XSP page is throwing an exception which we have been ignoring. Try the following code and then check the sitemap.log and errors.log (can't

Re: Question on generators...

2003-01-31 Thread Lionel Crine
Yes you can do a generator : Here is what I did, this is a main structure : import your_package; public class your_class extends ComposerGenerator (or absctractGenerator) { ... public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws

AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello everyone, I hope I don't bother you. At the moment only if I use xsp-request:get-parameter name=date/ I get the parameter. Otherwise I get s**t (sorry for being rude, I spent now more than 12h)- nothing. So is that a bug? should I post to the dev-list? -Ursprüngliche

AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
You're patience and so brilliant: sitemap.log: ERROR (2003-01-31) 16:36.32:707 [sitemap.generator.serverpages] (/weidmueller-dev/IDC2/info_int.xml) Thread-9/IDC2_info_int_xsp: XSP date error: java.lang.IllegalArgumentException: Cannot format given Object as a Date at

RE: Cocoon use worldwide

2003-01-31 Thread Matthew Langham
1) Open Source projects seem to grow virally, infecting those closest to the source first. Sooner or later a carrier makes their way to some place new and a new source of infection grows up. With Cocoon I think there are now enough sources of infection that it will propagate at a pretty

RE: Cocoon use worldwide

2003-01-31 Thread Hunsberger, Peter
We're using Cocoon on health care projects that need to protect XML content at a fine-grain level based on a user's role, context, and state of the data. Rather than embedding this logic completely in the persistence layer or code (a DB or EJBs), we're doing it within transforms and actions.

Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Cyril Vidal
Thanks for your help Konstantin! It's OK with LocaleAction. Regards, Cyril. - Original Message - From: Konstantin Piroumian [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 31, 2003 4:12 PM Subject: Re: How can the result of a pipeline be a parameter for a transformation in

Re: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
Thank you for the compliment but it was only through bumping my head against many a brick wall that I learned anything. To convert your string into a Date object, you simply invert the process on the SimpleDateFormat object Date myDate = (new

Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Christian Haul
On 31.Jan.2003 -- 04:07 PM, Cyril Vidal wrote: Hello, I would like to retrieve the language of the user's browser, so that I could call the I18n Trasnformer in the right way (by passing the locales's value equal to the browser's language). To retrieve the language set up in the browser,

AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Yes, I am doing that right now. But the people using the app that I am writing don't want type 01/30/2003 to get the reports. The main reason is that the company that I am working for is in Germany. So the user wants to put 30.01.2003 in the form. If I parse that into the esql I can't get any

Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 17:59, Scherler, Thorsten wrote: Yes, I am doing that right now. But the people using the app that I am writing don't want type 01/30/2003 to get the reports. The main reason is that the company that I am working for is in Germany. So the user wants to put 30.01.2003

mapping to basepath in static content

2003-01-31 Thread Robert Sösemann
Hello, what I need is a centralized mechanism to change the paths in all my site-elements. (that means: Later when I switsch from development to production I just want to change pathname at one single point, not every single href, src ...) Inside elements handled by cocoon (XSP, Generators,

Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Cyril Vidal
Hello Christian, First, thanks for your help! I think I've done what you told me concerning the input module. And in fact, I've just changed the value of the parameter 'locale', given the successfull pattern using localeAction: localeAction *** map:pipeline map:act type=locale map:match

cocoon portability

2003-01-31 Thread Tellis George
Hi, How easy is it to configure cocoon to work with other app servers such as weblogic, jetty, sun one etc...? Basically after I gave them a presentation, my management is keen on cocoon but they insist that I show them that there is a way to transition smoothly to alternatives to tomcat if

AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello again, I have shorten the xsp: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; dataset xsp:logic Date myDate = ; try{ myDate = (new

RE: Question on generators...

2003-01-31 Thread SriKumar Kareti
Thank you Lionel, I will try it out. -Original Message- From: Lionel Crine [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: Re: Question on generators... Yes you can do a generator : Here is what I did, this is a main structure :

RE: cocoon portability

2003-01-31 Thread Hunsberger, Peter
Also they want to know how much of the effort of setting up a cocoon can be reused if we decide not to go with cocoon. I suppose the business logic can be reused and possible the stylesheets but I am not sure. If you stay away from XSP then much of what you do can be reused. If you're

Re: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 18:37, Scherler, Thorsten wrote: Hello again, I have shorten the xsp: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; dataset xsp:logic Date myDate = ; try{

RE: Cocoon use worldwide

2003-01-31 Thread Jeff Ramsdale
Well, Seattle is a LONG way from D.C.--about 4-5 days' drive each way, for those who aren't familiar with the scale of the North American continent. I was in D.C. over Christmas, though--too bad I hadn't asked my question yet! Would love to see a CHUG if only to raise the prominence of Cocoon on

RE: cocoon portability

2003-01-31 Thread Schaper, Christoph
About the app servers. Have experience with two different ones: 1) JBoss: No problem, runs out of the box. 2) Weblogic: Quite straightforward in general (it becomes a lot easier if you deploy exploded), but there are some issues with some specific features (eg the JSPGenerator) Christoph

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
I correct it and now: description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling IDC2_info_int_xsp: Line 286, column -1: incompatible types Line 309, column 48: variable dateParam not found in class

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andres, Judith
Hi Thorsten, you define the variable dateParam inside a try/catch-block. When you reference to it outside of this block you're out of scope. try: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2;

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
I tried: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; dataset xsp:logic Date myDate = ; String dateParam = null;

AW: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Last Mail before I stop work: If I modify the code of Judith like that: ... Date myDate = null; ... instead of Date myDate = ; I do not get an error now, but neither the date. So thanks everybody for your help. I will finish up after 14hours without solving the problem. King regards

AW: Apache error on startup

2003-01-31 Thread Marco Rolappe
hi richard, I think this is a path issue. see below: -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Richard Cunliffe Gesendet: Donnerstag, 30. Januar 2003 11:34 An: [EMAIL PROTECTED] Betreff: RE: Apache error on startup Hussayn, I

AW: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Marco Rolappe
maybe your user agent has several languages set in Accept-Language and maybe the input module uses these (LocalAction using first encountered). -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Cyril Vidal Gesendet: Freitag, 31. Januar 2003

DC CHUG (WAS RE: Cocoon use worldwide)

2003-01-31 Thread Geoff Howard
I'll be there with bells on (unless it's cold - then I'll dress warmer). I've had a few others write off list with some interest, and an idea to arrange a presentation at the NOVA JUG in Reston at some point. If you're interested, let me know on/off list. No schedule yet - we'll just consider

RE: cocoon portability

2003-01-31 Thread Geoff Howard
Jetty now ships with 2.1, so it works there. Cocoon is just a webapp, so if you mean portability to other containers, there should only be isolated issues. If you mean ripping your code out of cocoon, then Peter's advice is what you need. Of course, if you use helper classes with your xsp's you

RE: Question on generators...

2003-01-31 Thread Geoff Howard
This all depends on what you were doing in your class. Were you creating xml? If so, DOM, SAX or String? Geoff -Original Message- From: SriKumar Kareti [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: Question on generators...

AW: Accessing session variables in the sitemap.xmap

2003-01-31 Thread Marco Rolappe
hi heiko, please have a look at: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16246 this explains why the session created in an XSP is not visible later in the pipeline (being created after pipeline setup). you could create your session within your XSP if you override the generator's

RE: Question on generators...

2003-01-31 Thread SriKumar Kareti
Geoff, I was creating String... thx... -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 12:28 PM To: [EMAIL PROTECTED] Subject: RE: Question on generators... This all depends on what you were doing in your class. Were you creating xml?

company packaging Cocoon as part of a product

2003-01-31 Thread dfeather
Hey, I saw someone mention that they wondered if there were any companies packaging cocoon as a polished product. I noticed on the cocoon wiki that there were some guys listed as working for a place called Hippo Webworks (http://www.hippo.nl/EN/index.html). It looks like they have built a

Re: company packaging Cocoon as part of a product

2003-01-31 Thread dfeather
Actually... if you just go to http://wiki.cocoondev.org/Wiki.jsp?page=People and look through that list, there are several people that work for companies using cocoon in this same manner and/or in production environments. Very encouraging... very cool. Dan Feather

handing an XML doc (in memory) to the sitemap

2003-01-31 Thread Ray Martin
Using the SunRise instructions found at http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponent s.html The example has a pipeline named foo-authuser In this pipeline, i call an action named checkCredentials. This action accesses several tables in a database. If a match is

Browser Selector

2003-01-31 Thread Richard Cunliffe
Hi, I am getting a strange result from my browser selector. I have specified two xsl stylesheets, one for a PDA to run on AvantGo, and another for a PC to run on Explorer. Now the expected result would be: PC = Welcome to soundpool. Your are viewing this site from personal

Re: AW: Accessing session variables in the sitemap.xmap

2003-01-31 Thread Heiko Milke
Hello Marco, thank you very much for your reply. It is a bit irretating that you can't read something from the session that was set to it earlier in a serverpage (while working on the same request) but i'll have to live with it. Now I wrote an action that does the talking to the session and it

AW: Browser Selector

2003-01-31 Thread Marco Rolappe
hi richard, from what you wrote in your mail it seems you have misplaced the map:select. those go into the pipeline definitions. maybe it would be best if you read some introductory material on the sitemap or have a look at samples sitemaps. your sitemap should look something like this: !--

AW: AW: Accessing session variables in the sitemap.xmap

2003-01-31 Thread Marco Rolappe
hey heiko, see comments inline -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Heiko Milke Gesendet: Samstag, 1. Februar 2003 01:32 An: [EMAIL PROTECTED] Betreff: Re: AW: Accessing session variables in the sitemap.xmap Hello Marco,

Re: XMLForm Xindice howto at Wiki refactored and ready

2003-01-31 Thread Josema Alonso
Hello again, Ivelin. The new revision is excelent. Thank you very much. Please follow the instructions to submit an official HOWTO http://xml.apache.org/cocoon/howto/howto-author-howto.html Diana will take it from there. I'll do once solved the doubts below. Thanks. In the fragment below,

RE: handing an XML doc (in memory) to the sitemap

2003-01-31 Thread Geoff Howard
I have zero knowledge (well, very little) of the Sunrise process you're trying to use, but it sounds like you should be able to place the xmldocument into the session as a session attribute, and call the SessionAttributeGenerator on it. The javadocs are pretty good for that one. For the xsl you

RE: Question on generators...

2003-01-31 Thread Geoff Howard
Then yes, you can reuse it - but you should be aware that it's not very optimized doing xml generation through string. If you're doing short documents, you may not notice any issue. But if you have a larger document you may wish to reimplement in SAX. Try it first as is - you may be perfectly

Re: XMLForm Xindice howto at Wiki refactored and ready

2003-01-31 Thread Ivelin Ivanov
I see, but let me explain it. I should not use //, that's ok, but I think /@id for example is not enough. If I'm right, using / gives the Document Root but not the Root Element and I can't access from there the id attribute. Also, making it that way I get the exception at the end of this

DO NOT REPLY [PATCH QUEUE] Summary February 1 2003

2003-01-31 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to

Re: XMLForm Xindice howto at Wiki refactored and ready

2003-01-31 Thread Josema Alonso
I think you are correct. The point is to identify the exact xpath to the @id attribute. Ok, so I let it that way then. If you get it started, I can review the changes and we should be able to wrap it up in a few iterations. Well, first I'll see what to do regarding the howto. I mean, I'll