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

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 th

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

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 sa

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 ma

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 b

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 Ma

AW: Browser Selector

2003-01-31 Thread Marco Rolappe
hi richard, from what you wrote in your mail it seems you have misplaced the . 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:

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 wo

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 c

Building Cocoon 2.1

2003-01-31 Thread Morten Ludvigsen
Hi, I must be missing something pretty basic here. I am trying to build Cocoon from the current CVS HEAD. However the build process does not get very far. Here's the output: C:\Data\Projects\cocoon\xml-cocoon2>build.bat -Dincl

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 fo

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 --

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: 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?

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 setup

AW: Passing User-Agent as a map:parameter

2003-01-31 Thread Marco Rolappe
hi lenya, I haven't yet really been into input modules, but I think you could use something like: > -Ursprungliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im > Auftrag von Lenya L. Khachaturov > Gesendet: Freitag, 31. Januar 2003 15:04 > An: [EMAIL

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... >

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 co

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 th

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

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 > > > Hussay

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: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
I tried: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> Date myDate = ""; String dateParam = null; try{ myDat

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: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";>

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 org.apache.

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 -O

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 th

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: > http://apache.org/xsp"; >xmlns:esql="http://apache.org/cocoon/SQL/v2"; >xmlns:xsp-request="http://apache.org/xsp/request/2.0";> > > > Date myDate = ""; > try{ > myDate = (new > SimpleDateFormat(

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 car

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 : impor

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: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> Date myDate = ""; try{ myDate = (new SimpleDateFormat("dd.MM.").parse(request.getParameter("date")); String dateParam = (new Si

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 r

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 *** *input module

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, Actio

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.2

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 d

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 brow

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 SimpleDateFormat("MM/dd/")).parse(request.getParam

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

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 actio

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

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 java.text.DateFor

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 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 Nachricht- Von: Scherler, Thorsten Gesendet:

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 Process

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: Cocoon use worldwide

2003-01-31 Thread Hunsberger, Peter
> 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 sure. I'm a Canadian wo

session variables from sunshine framework

2003-01-31 Thread Lionel Crine
I have a smal portal with a login page. I get them with : to check them with an xsl page. I presume this two variable are stored in a sunshine context. If yes : how can i get them to put them in my generator ? If not : how can I store my two variables a sunshine "session" context and then t

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) Gener

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 tags. Thanks for your patience. -Ursprüngliche Nachricht- Von: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 16:07 An: [EMAIL PROTECTED] Betreff: Re:

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 samp

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

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 followi

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

2003-01-31 Thread Andrew Timberlake
Try this ... String timeOfDay = ""; try{ timeOfDay = (new SimpleDateFormat("MM/dd/")).format(request.getParameter("date")); }catch(Exception e){} IDC2_int select * from info_bericht where country ='' AND Info_datum = #timeOfDay# I will mention a

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

2003-01-31 Thread Scherler, Thorsten
I found out that (1): ... String timeOfDay = (new SimpleDateFormat("MM/dd/")).format(new Date()); ... select * from info_bericht where country ='' AND Info_datum = #timeOfDay# ... works fine! BUT this (2/3/4) one is not working at all: ... try{ String timeOfDay = (new

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

2003-01-31 Thread Scherler, Thorsten
Hello Andrew, my final xsp should look like this: ... try{ String timeOfDay = (new SimpleDateFormat("MM/dd/")).format(request.getParameter("date")); }catch(Exception e){} IDC2_int select * from info_bericht where country ='' AND Info_datum = #timeOfDay# ... like I stated

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). Feb

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

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: select * from info_bericht where country ='' AND Info_datum = ##

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 SimpleDateFormat("MM/dd/yy

AW: Get session variables for a generator

2003-01-31 Thread Sternath Elmar
I used WildcardSessionAttributeMatcher to get session attributes: Here is YourGenerator's source code to get YourParam: public void generate() throws IOException, SAXException, ProcessingException { // Get YourParam String yourParam = parameters.ge

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: W

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 in the sitemap. > how do I write that ? This will create parameters named var1 &&

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 found

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: So that in my XSL I could write the following: link to another CSS The example in the Browser Selector docs is not what I really want - I don't need different XSL

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 in the sitemap. how do I write that ? 2/Or should I get them direclty in the generator ? How do I do that ? Lionel ---

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

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

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
Sorry jan, ...and thabks a lot for your help! I posted the working one! ;-) The NOT working logic/IDC2_info_int.xsp: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";> try{ String timeOfDay = (new SimpleDateFormat("

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 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, Thorsten [

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: http://apache.org/cocoon/sitemap/1.0";>

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){} > > > You will need to wrap the code in a try/catch block or > alternatively use > the syntax: parameters.getParameter("date", "defa

AW: xsp-element equivalent to xsl:param?

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

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: ? Yes, see below > > e.g. guess my request is like that: ...?date=30%2F01%2F2003. > > And > > select * from info_bericht where Info_datum = #name="date"/># > > is wo

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 difficul

xsp-element equivalent to xsl:param?

2003-01-31 Thread Scherler, Thorsten
Hello group, is there an equivalent in xsp to the xsl: ? e.g. guess my request is like that: ...?date=30%2F01%2F2003. And select * from info_bericht where Info_datum = ## is working fine. But can't be used in like that: String timeOfDay = ( new SimpleDateForma

AW: date translation

2003-01-31 Thread Scherler, Thorsten
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, that's it. Another option could be to use the XSLT tr

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 : > > > > > > > > > Here is your problem, you first match agains any name starting

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 an

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 : ... http://apache.org/cocoon/sitemap/1.0"; xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";> ...

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

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,

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 n

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:

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 wi

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/ http://xml.apache.org/

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 runnt

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