RE: Link: Training: S&N AG

2003-01-06 Thread Carsten Ziegeler
Corrected. Carsten Carsten Ziegeler Open Source Group, S&N AG > -Original Message- > From: Julia Hofmann [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 2:37 PM > To: [EMAIL PROTECTED] > Subject: Link: Training: S&N AG > > > Hello, > > there is a wrong URL on our Cocoon

xslt processor and utf-8

2003-01-06 Thread Kirchhoff, Lars
Hello, I have some problems with the xsl transformation in combination with utf-8 characters and am wondering if somebody could explain me this. I used this code to select specific items depending on there letter, which means the letter they start with. ']"> The param Letter is extract

confusing SQL Error

2003-01-06 Thread Robert Sösemann
Dear listmembers, I have switched a running Cocoon sytem from the use of a MYSQL db to IBMs DB2 7.2 Since that one many of my xsps generate the following error message: org.apache.cocoon.ProcessingException: Exception in Ser

RE: The 1822 online bank is using cocoon

2003-01-06 Thread Carsten Ziegeler
> -Original Message- > From: Steven Noels [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 6:01 PM > To: [EMAIL PROTECTED] > Subject: Re: The 1822 online bank is using cocoon > > > Carsten Ziegeler wrote: > > > We saw that the 1822 online bank (http://www.1822direkt.com) is

RE: xsl parameter

2003-01-06 Thread Kavita Bansal
Title: RE: xsl parameter Just check the location where u have declared the parameter in the XSL. Declare the parameter on the top of stylesheet, i.e. just after the xsl header() Check if it works then.. Rgds -Original Message- From: Sushil Bhattarai [mailto:[EMAIL PROTECTED]] Se

xsl parameter

2003-01-06 Thread Sushil Bhattarai
Hi This is more of a xsl question but it relates to cocoon so I thought of putting it here. I'm trying to capture parameter passed by user in xsl stylesheet. In my sitemap, I've declared the following: Now, when I pass a variable, lets say location in the browser like

Re: xsp:attribute problem

2003-01-06 Thread Antonio Gallardo
I think the problem is caused by the form of the generation of the Java code. I saw the same problem when you try to use the tags: and just before the . Also, just one tip: "Dont use for every query all the steps". Example: mp_pool my first query my second query Regar

xsp:attribute problem

2003-01-06 Thread John R. Daily
I have some xsp:attribute values that are being added to the wrong XML element. With much stripping, my flow looks like: bar ... Unfortunately, the output looks like:

RE: i18n in combination with xsp:attribute

2003-01-06 Thread Lai, Harry
Hi Nico, I believe the problem is in trying to set the namespace via the name attribute. xsp:attribute has two attributes (uri and prefix) for setting the namespace. Go to this page: http://wiki.cocoondev.org/Wiki.jsp?page=XSPSyntax And scroll down to the section on xsp:attribute. Hope that h

i18n in combination with xsp:attribute

2003-01-06 Thread Nico Bekema
Hi, can somebody explain to me why the following piece of xsp does not work myKey defaultValue while this piece does work defaultValue I would like to dynamically create the i18n:text element by getting the i18n:key and the default value from a database. thx, Nico ---

Re: File downloading with cocoon

2003-01-06 Thread Andre Juffer
Litrik De Roy wrote: From: "Andre Juffer" <[EMAIL PROTECTED]> Geoff Howard wrote: ah, that's a different ballgame - can you confirm that things work well with smaller files? Yes, I can. Just tried a 5 Mb zip file. No problem at all. The contents of that file was correct and correspond

RE: [HELP]indent can not be multiply defined at the same import level! Old value = no; New value = yes

2003-01-06 Thread Hunsberger, Peter
Title: Message I'd guess that you have an "include" in one of your XSLTs and that you have the "indent" attribute set to "no" in the base, and "yes" in the included stylesheet.  It's not a Cocoon problem, but the parser chokes on it...   >  Description:org.apache.cocoon.ProcessingException:

Re: [HELP]indent can not be multiply defined at the same import level!Old value = no; New value = yes

2003-01-06 Thread Joerg Heinicke
Hello Ruedi, indent is one of the attributes in . And the error message points to this position in different (imported or included) stylesheets. But though I don't know, in which way you can cause the error. In general is ignored in Cocoon and the values are taken from the sitemap's serializ

Re: File downloading with cocoon

2003-01-06 Thread Litrik De Roy
From: "Andre Juffer" <[EMAIL PROTECTED]> > > Geoff Howard wrote: > > ah, that's a different ballgame - can you confirm that things work well with > > smaller files? > > Yes, I can. Just tried a 5 Mb zip file. No problem at all. The contents > of that file was correct and corresponded to the origina

jpath.xsl logicsheet with cocoon 2.0.4?

2003-01-06 Thread Timothy Larson
What would be involved in the jpath logicsheet working with a local copy of cocoon-2.0.4? I tried copying jpath.xsl from schecoon to the main area (where request, response, session, etc. are) and updated the MANIFEST.MF to include it, but cocoon still says: Caused by: java.lang.RuntimeException:

Re: File downloading with cocoon

2003-01-06 Thread Andre Juffer
Geoff Howard wrote: ah, that's a different ballgame - can you confirm that things work well with smaller files? Yes, I can. Just tried a 5 Mb zip file. No problem at all. The contents of that file was correct and corresponded to the original file in the protected directory. I guess it must b

[HELP]indent can not be multiply defined at the same import level! Old value = no; New value = yes

2003-01-06 Thread Ruedi Anneler
  Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: javax.xml.transform.TransformerException: indent can not be multiply defined at the same import level! Old value = no; New value = yes   I see that there's something wrong, but that's all. I don't ha

Link: Training: S&N AG

2003-01-06 Thread Julia Hofmann
Hello, there is a wrong URL on our Cocoon training offer. The right one is: http://www.s-und-n.de/sunshine/services-training-cocoonschulungen_english Best regards, Julia Hofmann - s&n AGTel.: 05251/1581-86 netBank solutions Fax

Re: How to declare the template in the xml code?

2003-01-06 Thread admin
I agree with Jeremy Aston (couldn't do differently, I bought his book ;-) ) but, if you really want to, I think you can do it with XSP. There's an option in XSP to do processing instructions: Maybe you should look into that. > In my specific case it's usefull to declare the xslt-template hard

RE: File downloading with cocoon

2003-01-06 Thread Geoff Howard
ah, that's a different ballgame - can you confirm that things work well with smaller files? Geoff > -Original Message- > From: Andre Juffer [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 12:48 PM > To: [EMAIL PROTECTED] > Subject: Re: File downloading with cocoon > > > > > Ge

Re: File downloading with cocoon

2003-01-06 Thread Andre Juffer
Geoff Howard wrote: Have you tried setting the expires parameter of the map:reader definition to some reasonable value? I have recently noticed some similar but not identical behavior trying to download using the resource reader with no expires value. Yes, I had that already. This is what I c

Re: The 1822 online bank is using cocoon

2003-01-06 Thread Steven Noels
Carsten Ziegeler wrote: We saw that the 1822 online bank (http://www.1822direkt.com) is using Cocoon for part of its Web site (example: http://www.1822direkt.com/produkte/cashkonto4.html and follow the link at the bottom). https://www-2.1822direkt.com/cocoon/mia1b/index.html -- Steven Noels

RE: How to create a dev env for a new Cocoon app

2003-01-06 Thread Geoff Howard
It's complaining that it can't find your sitemap.xmap, obviously. The description of step two below is a little ambiguous - did you copy cocoon/WEB-INF/* to NC/WEB-INF/* ? Geoff Howard -Original Message- From: Jim Whetstone [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 6:35 P

The 1822 online bank is using cocoon

2003-01-06 Thread Carsten Ziegeler
We saw that the 1822 online bank (http://www.1822direkt.com) is using Cocoon for part of its Web site (example: http://www.1822direkt.com/produkte/cashkonto4.html and follow the link at the bottom). This is interesting a) because we have not seen them here on the list and b) because adding the liv

RE: File downloading with cocoon

2003-01-06 Thread Geoff Howard
Have you tried setting the expires parameter of the map:reader definition to some reasonable value? I have recently noticed some similar but not identical behavior trying to download using the resource reader with no expires value. Geoff Howard > -Original Message- > From: Andre Juffer [

RE: Getting Parameters from a Database Action

2003-01-06 Thread Antonio Gallardo
I think your answer is modular database actions. Antonio Gallardo Jacob Arnold dijo: >>From everyone's silence, I'm guessing this can't be done with the >> included > database action. Can it be done with the modular database actions, or am > I going to have to write my own? > > Thanks, > J > > >

RE: Getting Parameters from a Database Action

2003-01-06 Thread Jacob Arnold
>From everyone's silence, I'm guessing this can't be done with the included database action. Can it be done with the modular database actions, or am I going to have to write my own? Thanks, J -Original Message- From: Jacob Arnold [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 200

RE: How to create a dev env for a new Cocoon app

2003-01-06 Thread Jacob Arnold
Create your new app in the cocoon directory instead. And then add your app to Cocoon's main sitemap. Add something like this to cocoon\sitemap.xmap under map:pipeline. You don't need to copy the WEB-INF directory. You can check the FAQs for ways to take cocoon/ out of your path. J -Or

loading oracle driver in cocoon

2003-01-06 Thread Faisal Khan
Hi,   I am using cocoon 2.0.4 with Websphere 4.0 Oracle 8.1.7. I have carried out all the right steps for accessing database from cocoon..i.e. I have placed the classes12.jar (converted from zip) in the lib folder of websphere. I have added the driver in the cocoon web.xml file  

RE: How to declare the template in the xml code?

2003-01-06 Thread Sascha Kulawik
Would be also interesting for me. As far as I know it is possible with Cocoon 1 - does anybody knows more ? Regards, Sascha > -Original Message- > From: Hans Thomas Nordeck [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 11:19 AM > To: [EMAIL PROTECTED] > Subject: How to d

Re: Would cocoon be a good choice ?

2003-01-06 Thread Andre Juffer
[EMAIL PROTECTED] wrote: Hello ! I am wondering if cocoon would help in doing the following. The users need to download zipped pdf and txt files filled with data comming from a DB2 db. The data uploaded depend on the user's login and can range from 100 to 1 000 000 records. platform

Re: RequestParameterAction question

2003-01-06 Thread Christian Haul
On 30.Dec.2002 -- 02:40 PM, Anna Afonchenko wrote: > Hi all. > I am using RequestParameterAction to process parameters given in http request. > My http request looks something like this: > http://localhost:8080/cocoon/test?[EMAIL PROTECTED] > > here is my pipeline: > > > > >

Would cocoon be a good choice ?

2003-01-06 Thread [EMAIL PROTECTED]
Hello ! I am wondering if cocoon would help in doing the following. The users need to download zipped pdf and txt files filled with data comming from a DB2 db. The data uploaded depend on the user's login and can range from 100 to 1 000 000 records. platform AIX Websphere 4.0.3 (IBM

Re: How to declare the template in the xml code?

2003-01-06 Thread Jeremy Aston
Hi Hans, This is precisly what the pipeline/sitemap model in C2 seeks to avoid. Hardcoding the stylesheet to use in the XML file ties presentation to content and is generally considered bad practice. I appreciate that you may have a particualar situation that you feel merits your approach so per

How to declare the template in the xml code?

2003-01-06 Thread Hans Thomas Nordeck
In my specific case it's usefull to declare the xslt-template hard coded in the xml-content file. Does anybody know how to do this with cocoon 2 ? :) Hato - Please check that your question has not already been answered in the

Re: jpath problem (solved)

2003-01-06 Thread Ugo Cei
Johannes Hofmann wrote: If I use the following: var map = new Packages.java.util.HashMap(); map.put("users", users); sendPageAndWait("user.xml", map); everything works as expected. That's interesting, but it should be transparent. I haven't started debugging the problem yet, since I've spent

File downloading with cocoon

2003-01-06 Thread Andre Juffer
Hi, I am having some trouble with the following. I want users to be able to download some zip (or any type) files. So, I have put in the sitemap the following: The action simply checks if the user is allowed to access the zip files. And if not, the user is being redirected to

Re: i18n catalogue and sql

2003-01-06 Thread Darren Petrie
You can access a request parameter variable inside your sitemap via a matcher or a selector As a matcher--- As a selector--- ..do something ..do something else Hope that answers your question. Darren On Sunday, January 5, 2003, at 03:12 P

Re: Dynamic query in xsp:logic and esql:query

2003-01-06 Thread Christian Haul
On 05.Jan.2003 -- 04:44 PM, Yves Vindevogel wrote: > Hi, > > I've got a form with one textbox (name) and a combobox (type) > When the user presses "submit", a searchpage is called where I execute this > query (on postgres db) > > > select * fr

Re: Passing parameters to a logicsheet tag using xsp:param

2003-01-06 Thread Christian Haul
On 03.Jan.2003 -- 02:46 PM, Richard Bounds wrote: > Dear all, > > I'm trying to write a logicsheet that accepts dynamic parameters from the > XSP page (e.g. maybe request parameters, or session attributes), and uses > them to request data from our application. I'd like the xsp code to look > somet