Re: XMLForm & mod-db

2002-08-27 Thread Christian Haul
On 26.Aug.2002 -- 02:49 PM, Bobby Mitchell wrote: > I would like to use mod-db to retrieve info from a database, but the > mod-db example uses esql. Can I use DatabaseQueryAction to do this, and > if so, how? There are two options: DatabaseSelectAction and DatabaseQueryAction. Unless you have s

Re: sendmail - html emails

2002-08-27 Thread Christian Haul
On 26.Aug.2002 -- 09:19 AM, Paul Pattison wrote: > Hi Phil, > > I have the sendmail logicsheet working for text emails, but not for HTML > emails. If you have gotten this to work, could you please send me the xsp > that you used to do this. AFAIK it doesn't support to set the mime-type. So, you

Re: java.net.BindException: Address already in use: JVM_Bind

2002-08-27 Thread Christian Haul
On 27.Aug.2002 -- 01:35 PM, Geert Poels wrote: > Server.run/init: java.net.BindException: Address already in use: JVM_Bind > at org.hsqldb.Server.run(Server.java:131) Please check that your question has not already been answered in the FAQ before posting.

Re: Counting rows in a resultset

2002-08-28 Thread Christian Haul
On 28.Aug.2002 -- 10:07 AM, Tuomo Lesonen wrote: > Hi, > > How can I count the rows in my resultset? I'm using esql, but > doesn't seem to be implemented yet. SQL COUNT(*) doesn't > work in this case either. Can I do this with XSP? Yes, have a new var declared before the execute-query and ++ it

Re: Counting rows in a resultset

2002-08-28 Thread Christian Haul
On 28.Aug.2002 -- 10:48 AM, Tuomo Lesonen wrote: > > > On Wed, 28 Aug 2002, Christian Haul wrote: > > > On 28.Aug.2002 -- 10:07 AM, Tuomo Lesonen wrote: > > > Hi, > > > > > > How can I count the rows in my resultset? I'm using esql, but &g

Re: Counting rows in a resultset

2002-08-28 Thread Christian Haul
On 28.Aug.2002 -- 10:54 AM, Leszek Gawron wrote: > try to do select count(*) as row_count from table; > > and then in do > > I'm not 100% sure but this highly probable to work Yes, if it is an option to run the query twice this should work. The "as row_count" is not necessary if you access th

Re: Counting rows in a resultset

2002-08-28 Thread Christian Haul
On 28.Aug.2002 -- 01:29 PM, Tuomo Lesonen wrote: > Time to take out some heavier arms. Since I only need to > get "id" and "name" > from my table, I'm placing these pairs in a hashtable inside > . Then I have a nice hashtable, which I iterate through > later on. hashtables "size()" method gives th

Re: XSLT logicsheet parameter issues

2002-08-30 Thread Christian Haul
On 30.Aug.2002 -- 05:36 PM, Rob Grundel wrote: > Hey, > > Thank for this. I think this is a good start. Can you give me an example? > I'll explain the setup of the files. > > In the sitemap i just have these lines: > > > > > >

Re: [Q] Form posting sitemap pattern...

2002-09-04 Thread Christian Haul
On 04.Sep.2002 -- 02:57 PM, Lajos Moczar wrote: > > The main gotcha here is the formval logicsheet is a bit clumsy to use, > as you have to make sure you not only display validation errors to the > user, but repopulate valid fields with the data the user already entered. Lajos, in 2.0.4 (i.e.

Re: The dbAdd action not working

2002-09-05 Thread Christian Haul
On 05.Sep.2002 -- 09:20 PM, Antonio Gallardo Rivera wrote: > What we can do with this problem? :( > > I need to end forms to the next thursday :( > > How I can help? > > Antonio Gallardo. > Since this is not advocated officially, I respond off-list. 2.1 resources have a feature / bug, so they

Re: global-parameters

2002-09-05 Thread Christian Haul
On 05.Sep.2002 -- 06:25 PM, Barbara Post wrote: > Hello, evening here... > > In c2.1, do the global parameters respect the stack created by actions ? > > So, if I have pipeline 1 and 3 nested actions in it, in the latest one I > want to access "foo1" global-parameter, do I use {../../../foo1} ?

Re: Using parameters in a xsl

2002-09-06 Thread Christian Haul
On 06.Sep.2002 -- 12:00 PM, Johannes Wechsler wrote: > > select="projectName"/>/> since Judith answered the first one, xsl has similar elements: Here projectName needs to be a nested tag to whatever is the current context node. You might want to have a look at the excellent tutorials and ref

Re: FormValidatorAction on database

2002-09-18 Thread Christian Haul
On 17.Sep.2002 -- 04:19 PM, William Moore wrote: > Hello > > I am trying to use FormValidatorAction to check data before inserting it > into a database. > > The key on the database is one of the values on the form, and I want to > check if it already exists on the database so I can tell the us

Re: [SPAM?] esql question

2002-09-18 Thread Christian Haul
On 18.Sep.2002 -- 04:23 PM, Sushil Bhattarai wrote: Since my MUA does not allow to quote HTML, just the hint: You need to use i Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08

Re: How to handle 3 input fields to store it in one date column?

2002-09-19 Thread Christian Haul
On 14.Sep.2002 -- 07:17 AM, Antonio Gallardo Rivera wrote: > This can be changed to a question: how to manipulate parameters before > form-validation. You can use a custom action that stores the result in a request attribute and validate against that. > El Sábado, 14 de Septiembre de 2002 06:56

Re: form validation

2002-09-19 Thread Christian Haul
On 12.Sep.2002 -- 03:12 PM, Barbara Post wrote: > I just wonder whether I can do the following in my xsl : > > The field validation can trigger 2 types of errors : > 1. the field is null -> show message 1 > 2. the field is not null but has wrong regex syntx -> show message 2. > > I just have tro

Re: Password Encryption

2002-09-22 Thread Christian Haul
On 20.Sep.2002 -- 12:10 PM, Antonio Gallardo Rivera wrote: > I am using authentication against the database. I am storing and geting the > user parameters from a database. My question is: > > How can I encrypt the password to store it then in the database? > > Thanks in advance :) If you want

Re: Help: multiple descriptor files for mod-db

2002-09-24 Thread Christian Haul
Bobby Mitchell wrote: > I'm trying to use multiple descriptor files for mod-db actions. > 7273 src="org.apache.cocoon.acting.modular.DatabaseSelectAction"> > 74 db1.xml > 75 true > 76 false This is not (yet) in CVS. > 77 se

Re: Multiple-logicsheets: evaluation probelms with SQL

2002-09-25 Thread Christian Haul
On 25.Sep.2002 -- 03:57 PM, Alan Hodgkinson wrote: > > Dear All, > > I get a compile error from the Java code generated by > my logic sheet. > > I'm trying to implement a logic sheet that looks up > a value given an id. I'm calling it from an XSP page > as follows: > > > > > > Th

Re: [newbie] ESQL Error Handling

2002-09-26 Thread Christian Haul
On 26.Sep.2002 -- 09:37 AM, Zein Dowe wrote: > Hi, > > i got some questions about the esql logicsheet from cocoon. > I suppose the first one is easy to answer: > > 1. How can i count the number of rows from the result of my query? There's a row-count tag but it works only with some cases. You s

Re: [SUMMARY] Re: Multiple-logicsheets: evaluation probelms withSQL

2002-09-26 Thread Christian Haul
Alan Hodgkinson wrote: >>Christian Haul wrote: > > > >>Two options: >> >>a) create the query dynamically. esql expects just a string. Thus you >>need to >> >>"select name from clients where clientid=" + >&

Re: Sendmail action

2002-09-30 Thread Christian Haul
On 29.Sep.2002 -- 01:33 PM, Leszek Gawron wrote: > What should I do to include sendmailaction.java in source compilation ? > ouzo Have activation.jar and mail.jar from sun in libs/optional or libs/local Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint:

Re: == Database driven website with Cocoon ==

2002-09-30 Thread Christian Haul
On 30.Sep.2002 -- 12:24 PM, Jerome Iffrig wrote: > Hi all, > > I went trough Leigh Dodds’ “Database driven website” tutorial (very > interesting) and I have now a question on a slightly different architecture: > > My content is NOT stored within a database – Only the PATHs to the content > is st

Re: esql:get-string and java String

2002-09-30 Thread Christian Haul
On 30.Sep.2002 -- 05:12 PM, Gabor Bartha wrote: > Hi, > > I want to use the esql:get-string method to initialize a java String > object like this: > > > String formula = ; > > > But I got incompatible types exception. If I tried to use casting: > > > String formula = (String); > > > I

Re: MSSQL Stored procedure & ESQL

2002-10-01 Thread Christian Haul
On 30.Sep.2002 -- 06:07 PM, fcbc wrote: > I'm trying to get a result set from stored proc but it ends with error: > org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): >java.lang.RuntimeException: Error > getting clob data: null > > the code snippet: > > sqlserv

Re: esql:get-string and java String

2002-10-01 Thread Christian Haul
On 01.Oct.2002 -- 11:13 AM, Gabor Bartha wrote: > Hi, > > the java code: > > String formula = >xspAttr.addAttribute( > "", > "column", > "column", > "CDATA", > "cd_formula" >); > > >this.contentHandler.startElement( > "http://apache.org/cocoon/SQL/v2

Re: == Database driven website with Cocoon ==

2002-10-01 Thread Christian Haul
On 30.Sep.2002 -- 01:02 PM, Christian Haul wrote: > > Another one would be to retrieve the path using one of the > DatabaseSelectActions and use the InputModule-substitution in sitemap > to read that file. (available in 2.1 (cvs) for interpreted sitemap and > 2.0.4 (cvs) for c

Re: MSSQL Stored procedure & ESQL

2002-10-04 Thread Christian Haul
On 01.Oct.2002 -- 12:03 PM, fcbc wrote: > Hello Christian, > > ???, 1 ??? 2002 ?., you wrote: > > CH> Please see your MS docs whether your call will return a ResultSet > CH> or not. The syntax depends on that, see Apache Cocoon docs for > CH> details. > > I changed code in compliance wi

Re: esql tag instead of java ResultSet.getBytes()

2002-10-04 Thread Christian Haul
On 04.Oct.2002 -- 10:30 AM, Gabor Bartha wrote: > Hi, > > I've got Cocoon 2.0.3. I'm developing an application and want to use > esql for queries. > > Here is the following java statement: > >String metaName = new > String(rs.getBytes("metaname"),"ASCII"); > > Is there any es

Re: Random generator

2002-10-07 Thread Christian Haul
On 06.Oct.2002 -- 04:57 PM, Antonio Gallardo Rivera wrote: > Hi Folks! > > Is in Cocoon support for generating random database keys? Or a function that > can return a random number? > > I know that in Java is support for the Random class. This class generate a > sequence based on a seed (like

Re: Problem with modular database actions from CVS

2002-10-07 Thread Christian Haul
On 06.Oct.2002 -- 01:52 PM, Hugo Burm wrote: > Hello, > > I am using the modular database actions and doing a simple select action on > a table. > With the CVS version of about a week ago, this worked ok, and the results > were stored in the request attributes by the default output module. > With

Re: how to use Input Modules ?

2002-10-07 Thread Christian Haul
On 07.Oct.2002 -- 04:03 PM, Piroumian Konstantin wrote: > First of all I should warn you to be careful with InputModules until some > oficial release, cause they are actively discussed right now at the dev list > and they can be changed (names, behavior, interfaces). You have been warned. > > To

Re: dbAdd Action help.

2002-10-07 Thread Christian Haul
On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote: > Thanks for the help! > > I found that in dbAddAction, we must to supply into the descriptor like "key" > all the values that cannot be null! This is not describen into the > documentation. I'm not sure I understand right, but the ta

Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 02:49 AM, Antonio Gallardo Rivera wrote: > El Martes, 08 de Octubre de 2002 01:09, Christian Haul escribió: > > On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote: > The problem is into the dbAddAction, because if I put the cli_id into the > descriptor

Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 07:22 AM, Antonio Gallardo Rivera wrote: > El Martes, 08 de Octubre de 2002 04:33, Christian Haul escribió: > > > > If so, please note that the name of some modules have been changed and > > > > that the compiled in default is rendered useless. There

Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 08:08 AM, Antonio Gallardo Rivera wrote: > Sorry, Chris I know this is a stupid question, but I want to be sure ;) > > I am using > org.apache.cocoon.acting.DatabaseAddAction > > and not > org.apache.cocoon.acting.modular.DatabaseAddAction OK, wrong site ;-) > The tags and

Re: ESQL on JDK1.4.1

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 10:06 PM, Bert Van Kets wrote: > Does esql run on JDK1.4.1? > If so, do I need a very recent Cocoon version? It should. You need a version compiled for jdk 1.4 > > I need to run it on a headless Suse 7.3 box with mySQL as a database. > Chris. -- C h r i s t i a n

Re: How do I match cocoon-action-*

2002-10-14 Thread Christian Haul
On 14.Oct.2002 -- 12:41 PM, Bobby Mitchell wrote: > Antonio Gallardo Rivera wrote: > > >Try using this: > > > > > > > > > This example will match a request parameter with the name of > cocoon-action-*, with the * as a literal character. I have tried all > sorts of different matchers and haven't

Re: How do I match cocoon-action-*

2002-10-14 Thread Christian Haul
On 14.Oct.2002 -- 07:22 PM, Christian Haul wrote: > On 14.Oct.2002 -- 12:41 PM, Bobby Mitchell wrote: > > Antonio Gallardo Rivera wrote: > > > > >Try using this: > > > > > > > > > > > > > > This example will match a request parame

Re: How do I match cocoon-action-*

2002-10-14 Thread Christian Haul
On 14.Oct.2002 -- 02:23 PM, Bobby Mitchell wrote: > > > > > > > >However, there is a RequestParameterExistsAction that could be used if > >you knew all possible values for "*" > > > Here is what I have tried: > > > > > > This particular instance matched coc

Re: PosgreSQL and Modular DB Actions.

2002-10-16 Thread Christian Haul
On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote: > Antonio Gallardo Rivera wrote: > > >Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, > >but with PostgreSQL 7.2. > > > >I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat > >Linux 7.3. > > > >Som

Re: How to insert multiple rows in a table at once?

2002-10-16 Thread Christian Haul
On 15.Oct.2002 -- 08:05 PM, Tuomo Lesonen wrote: > In your sitemap inside put: > > src="org.apache.cocoon.acting.modular.DatabaseAddAction"> > context://foo/bar/database.xml > true > > > In pipeline: > > > > > > In database.xml put: > > > > @primarykey is not known to the

Re: mod-db example not working.

2002-10-16 Thread Christian Haul
On 16.Oct.2002 -- 07:53 AM, Antonio Gallardo Rivera wrote: > Thread-9/DatabaseAction: Could not select output mode attribute:null So, you are using a CVS version, eh? The default outputmode used to be (and still is) "attribute" which was recently renamed "request-attr". You need to add / change t

Re: mod-db example not working.

2002-10-16 Thread Christian Haul
On 16.Oct.2002 -- 10:53 AM, Bobby Mitchell wrote: > Here others-mode request is saying "get the values from however I > defined type=request in the mode name". >Other values are: attrib - get values from attributes; session if > is session, request if is request. others -- I'm not > sure.

Re: Modular FormValidator?

2002-10-16 Thread Christian Haul
On 16.Oct.2002 -- 03:14 PM, Antonio Gallardo Rivera wrote: > Hi! I am finished a challenge with Modular Database Actions. :) > > Can someone tell me if there are some similar in the FormValidator? No. There's one reading request attributes and one reading session attributes. And of course the XF

Re: use xsp-vars to generate html

2002-10-23 Thread Christian Haul
On 23.Oct.2002 -- 12:45 PM, Thomas Garger wrote: > but how can i put html-tag into xsp-variable?? > if i try the following, it fails --> Thought you gonna ask that :-) You may not use "<" and ">" in an xsp when not writing xml tags that are part of the document structure. So, you need to use the

Re: use xsp-vars to generate html

2002-10-23 Thread Christian Haul
On 23.Oct.2002 -- 01:36 PM, Thomas Garger wrote: > but if use these entities "<" ">", the (for example > Thomas, if you write String foo = "
" your String will contain "" If you include that with the util logicsheet, it should appear as node. The other solution, th

Re: use xsp-vars to generate html

On 23.Oct.2002 -- 02:17 PM, Thomas Garger wrote: > hi > > sorry boring you you, > > i did what you said > > String foo = "
" > class="standard">foo< > /util:expr> > Try this String foo="
"; this is some foo text it works for me.

Re: use xsp-vars to generate html

On 23.Oct.2002 -- 05:05 PM, Thomas Garger wrote: > but that's the same i do. > just other tags > > i do all this in my logicsheets, maybe this is the point So, maybe you have a xsl:value-of where you should really have a xsl:copy-of? Post your code and we'll find out. Chris. -- C h r i

Re: Date Input Module

On 18.Oct.2002 -- 12:21 PM, Martin Schimak wrote: > Hello! > > Does anybody know how to tell the Date Input Module to deliver a certain > date format? see java.text.SimpleDateFormat and pass it via the format attribute. So currently, you cannot provide a format if you use it from sitemap, only

Re: Date Input Module

On 18.Oct.2002 -- 03:41 PM, Piroumian Konstantin wrote: > Christian, > > > From: Christian Haul [mailto:haul@;dvs1.informatik.tu-darmstadt.de] > > On 18.Oct.2002 -- 12:21 PM, Martin Schimak wrote: > > > Hello! > > > > > > Does anybody know h

Re: Date Input Module

On 18.Oct.2002 -- 02:05 PM, Martin Schimak wrote: > Christian Haul wrote: > > I'll add it to my todo list for after that. Unfortunately, this > >list is growing rapidly :-( > > > > Would be great, thx! I've just updated the 2.1 branch to allow a format spec

Re: mod-db example not working.

On 21.Oct.2002 -- 01:09 PM, Nicholas Hemley wrote: > > type="request"/> ^^^explicitly select InputModule with short "request" > > > type="request"/> ^^^explicitly select InputModule with short "request" >

Re: use xsp-vars to generate html

On 23.Oct.2002 -- 09:20 AM, Thomas Garger wrote: > hi > > if want to use xsp-variables to generate html-code for the sites. > let me explain. have a look at the util logicsheet, especially the include-* tags. That could be a solution. Anyway, your var needs to contain well-formed XML. Ch

Re: Could not transform esql.xsl

On 23.Oct.2002 -- 09:48 AM, Martin Schimak wrote: > Trying to access my ESQL-XSPs with a 2.1-dev CVS Snapshot, I receive the > following error: Could you check that esql.xsl is included in your jar? It has been missing in snapshots 'till tuesday. Chris. -- C h r i s t i a n H a u

Re: mod-db action yields 'CALL IDENTITY()' MySQL syntax error

On 24.Oct.2002 -- 09:38 PM, Samuel Bruce wrote: > Hello, > > I'm using the latest CVS, TC 4.1.12, JDK 1.4.01. > > The mod-db action inserts the first row correctly, but > fails on the second row insert. It seems to also fail > attempting to rollback. > > Anything you can do to help is appreciate

Re: Throwing an Exception within ESQL

On 25.Oct.2002 -- 10:42 AM, Michael Edge wrote: > > Hi > > In the XSP snippet below I'd like to throw an exception from within >. My questions are: how do I do this and will the exception be >caught by the section of the sitemap? If you really want, you could throw an exception as you like. I

Re: Problem in mod-db again

On 25.Oct.2002 -- 08:14 AM, Antonio Gallardo Rivera wrote: > Hello. > > I am trying to insert permission into a table. The descriptor is: > > > > > >parameter="org.apache.cocoon.components.modules.output.OutputModule:usuarios.usr_id[0]"/> > > > > > > > >

Re: Problem in mod-db again

On 25.Oct.2002 -- 10:05 AM, [EMAIL PROTECTED] wrote: > You can get the same effect if you try and use samples/mod-db/user-list. > If you add a group you get no error, but if you add a person, person-group > you get the following error. This should be resolved since tuesday for 2.1. Patches for 2.

Re: [SUMMARY] Problem in mod-db again

On 26.Oct.2002 -- 04:47 AM, Antonio Gallardo Rivera wrote: > Sorry, my own fault :( > > I only rewrote the key from: > to: I consider this at least an omission. A patch is already queued and will show up Monday or so. Thanks for spotting it! Chris. -- C h r i s t i a n H a u l [

Re: Concept problem using modular actions ..

On 28.Oct.2002 -- 02:07 PM, Rui Leal wrote: > Hi ALL! > > I've been working and testing cocoon for about 3 weeks ... after some simple > examples i started some more complex stuff .. > > Right now i´m trying to understand the proper way to work with modular > actions .. > > so imagine this ... >

Re: Concept problem using modular actions ..

On 28.Oct.2002 -- 03:39 PM, Christian Haul wrote: > On 28.Oct.2002 -- 02:07 PM, Rui Leal wrote: > 2.0.4-CVS will get updated. In the mean time, it should be safe to > copy it together with the AbstractMetaModule from 2.1 to 2.0.4, > rebuild, and add it to cocoon.xconf if you

Re: Concept problem using modular actions ..

On 28.Oct.2002 -- 04:47 PM, Rui Leal wrote: > .. Ok .. i´ve been using 2.0.3 .. it seems the "stable one" ! :) .. > Btw is there some list of 2.0.3 bugs or problems ? It should be possible to query Bugzilla for bug reports for 2.0.3. Changes are mostly reflected in the changes.xml file. So you co

Re: FormValidatorAction

On 29.Oct.2002 -- 12:22 PM, Ray Martin wrote: > using a descriptor file like employee-form.xml in the tutorial directory. > > have FormValidatorAction called from the sitemap. > > a line in core.log states "All form params successfully validated" - written > by FormValidatorAction. no other line

Re: Accessing the output of a modular input module in xsp

On 30.Oct.2002 -- 08:45 PM, Hugo Burm wrote: > > How can I access the output of an input module in an XSP page? > > I am talking about the input modules as they are used by the modular > database actions in 2.1-dev (org\apache\cocoon\components\modules\input). I > have written my own input module

Re: New name of the ...

On 31.Oct.2002 -- 02:41 AM, Antonio Gallardo Rivera wrote: > Hi, > > I am using 2.1 (lastest CVS): > > What is the new name of ? > > I have in the sitemap: > > src="org.apache.cocoon.matching.modular.WildcardMatcher"> > > > src="org.apache.cocoon.matching.modular.CachingWi

Re: New name of the ...

On 31.Oct.2002 -- 05:22 AM, Antonio Gallardo Rivera wrote: > Thanks Chris. > > Can I remove it? Antonio, remove what? > > Antonio Gallardo. > > El Jueves, 31 de Octubre de 2002 05:10, Christian Haul escribió: > > On 31.Oct.2002 -- 02:41 AM, Antonio Gall

Re: New name of the ...

On 31.Oct.2002 -- 07:40 AM, Antonio Gallardo Rivera wrote: > El Jueves, 31 de Octubre de 2002 06:29, Christian Haul escribió: > > On 31.Oct.2002 -- 05:22 AM, Antonio Gallardo Rivera wrote: > > > Thanks Chris. > > > > > > Can I remove it? > > > >

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

On 31.Oct.2002 -- 07:57 AM, [EMAIL PROTECTED] wrote: > I am struggling with the dbselect action. When I check the sitemap, I am able > to see that the select is working and dumping the values to the sitemap. My > problem is how to access the values from within an xsl. Are there any This depe

Re: Cocoon 2.0.3 & ESQL & PreparedStatment: maybe not working?

Christian SCHRÖTER wrote: Hi, I have cocoon 2.0.3 installed and I want to use esql. In the documentation is written that esql _also supports_ prepared statment. So I have written a small db-access-page to insert "something" into my db. But if i try to insert something with an ' in it, it doesn

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

On 31.Oct.2002 -- 01:08 PM, [EMAIL PROTECTED] wrote: > Is there an example of how to do this available? >From XSL? I don't think so. At least not specifically with database actions. There sure is one on accessing request attributes from xsl -- although I don't know off head. Chris. -- C

Re: Differences in ESQL between Version 2.0 and later?

On 01.Nov.2002 -- 10:44 AM, Derek Hohls wrote: > Can someone please confirm that the and > tags/functionality was only added *after* version 2.0 of Cocoon - and Derek, I believe so. You can always look at the cvs entries or simply unpack your cocoon.jar and look at the xsl to make sure. We had

Re: Differences in ESQL between Version 2.0 and later?

On 01.Nov.2002 -- 11:58 AM, Derek Hohls wrote: > Thanks Chris > > I assume one has to have the code base to do this - I only have the > binary version and so cannot find any trace of those files... The esql.xsl is included in any version. The Esql*.java obviously not. Only the compiled classes.

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

On 02.Nov.2002 -- 07:22 AM, Phil Craven wrote: > When I try and get the bulk of the params that I am looking for, it seems as > if they are lost between level 3 and level 2. I believe that my stylesheet > is trying to access the params at level 2. How do I force the propagation of > the values

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

t; so. If anyone has any help on either getting at those values in xsl I would > greatly appreciate the help. > > phil > > On Saturday 02 November 2002 10:48 am, Christian Haul wrote: > > On 02.Nov.2002 -- 07:22 AM, Phil Craven wrote: > > > When I try and get the bul

Re: how to manage several XMLForms in a sitemap? (it was: dynamicallychoosing an action at runtime)

Josema Alonso wrote: So, an Action Dispatcher (or call it Proxy Action or whatever) is needed so the action could be choosed at runtime. Unfortunately this involves working with Avalon components and I have no idea about them. I tried their white paper at their website but it is too hard for me to

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

On 04.Nov.2002 -- 07:43 PM, Phil Craven wrote: > here is the sitemap segment that shows what I am trying to do. > > > > > > > > > true > > > > > > > > T

Re: Using matchers, especially sessionstate...

On 06.Nov.2002 -- 02:52 PM, Christian Joelly wrote: > Hello all! > > i have some troubles using the sessionstate matcher in a pipeline. > I want to check for the existance of a session attribute, and when it > doesn't exist we should be redirected to a login page: Hi. Without the exact error mess

Re: how to manage several XMLForms in a sitemap? (it was: dynamically choosing an action at runtime)

On 07.Nov.2002 -- 06:53 PM, Josema Alonso wrote: [snip] > //get the Action > if(actionName.equalsIgnoreCase("EquipmentTypeAction")) { >EquipmentTypeAction equipmentTypeAction = new EquipmentTypeAction(); >//add this action to the manager >equipmentTypeAction.compose(this.manager);

Re: Using matchers, especially sessionstate...

On 07.Nov.2002 -- 09:44 AM, Christian Joelly wrote: > Hello! > > thanks for your answer. I'd prefer to use the version 2.0.1 for this > application, because maybe there are some other problems rising when i > switch the cocoon version during development... ;-) Fair enough. OTOH many issues have b

Re: Using matchers, especially sessionstate...

On 11.Nov.2002 -- 03:29 PM, Christian Joelly wrote: > Hello! > > On Mon, Nov 11, 2002 at 11:17:15AM +0100, Christian Haul wrote: > > On 07.Nov.2002 -- 09:44 AM, Christian Joelly wrote: > > > > > > thanks for your answer. I'd prefer to use the version 2.0

Re: How to handle xml-fragment from db

On 12.Nov.2002 -- 01:43 PM, Robert S?semann wrote: > Hey, > > who can help to solve the following problem? > > In my relational db I have a column with XHTML fragments and want to bring > it into my cocoon pipline the following way. > > DB ROW CONTENT: > ...foobar > > GENERATOR: > XSP that

Re: [REQ] Validation actions

On 13.Nov.2002 -- 12:49 PM, Cedric Picard wrote: > > > > > > > > I can only assume the addition of the login validation caused the > problem, as the page was generated successfully prior to the addition of > the action, but ca

Re: Caching results of SQL Queries?

On 14.Nov.2002 -- 11:37 AM, Jeremy Quinn wrote: > Dear All, > > I have a set of related Tables in MySQL, which are used to build part > of a site I am working on. > > We use SQL because of the related nature of the data, rather than any > great need for dynamics. > > My SQL queries are broken

Re: Forms

On 13.Nov.2002 -- 06:12 PM, Jos? Moreira wrote: > hello, in my company we use apache+ php + postgre and we spend most of the > time building table-manipulation forms ( for insert,update,delete,etc) > > is it possible to ( in cocoon ) create standard actions ( or else) to > manipulate a xml file co

Re: Passing database result as parameter in XSL

Ebert Andreas wrote: Hi Leszek, column="categoryid"/> If I hardcode the parameter (e.g. replace ' column="categoryid"/>' with '4') everything works fine. AFAIR you are allowed to use ESQL only in XSPs as it's tags are converted to Java. So even trying to use and logicsheet in xsl is use

Re: Two ESQL Questions

Michael Edge wrote: I have a couple of ESQL questions: 1) If an ESQL query throws a database exception, is there any way to log the stack trace to a file? Database exceptions are either rethrown as processing exceptions or handled by the code in esql:error-results This applies only for those

Re: ESQL exception problem

Leszek Gawron wrote: I know that including in prevents from throwing exceptions. The problem is that if the database is unreachable the RuntimeExceptions is throw by esql and this one is not caught by errors-results. So if you want to manage all esql errors you should do sth like: [...] so y

Re: problem

Parmley, Scott C. wrote: Hello. I am trying to include some generated xml from another object in an XSP docment using Here's a code snippet to show you what I've done. String fxml = ""; try { fxml = vendor.getVendorCollectionXML(sessionID, param

Re: Cocoon GetTogehter in Ghent

A big hand to Steven and all that helped organize this wonderful event! Thank you! It was great meeting you all. Hope to see you all soon again in real life. (Gosh, did you know real life does exist?! ;-) Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D

Re: esql:group

On 25.Nov.2002 -- 01:33 PM, Christian Joelly wrote: > Hello! > > did anybody use more than one esql:group / esql:member with Cocoon 2.0.3 > in one resultset? like this: > > esql:row-result > > esql:group group-on column1 > esql:member > > esql:group gro

Re: parameters in xsp don't work

On 26.Nov.2002 -- 04:46 PM, Robert S?semann wrote: > Sorry, but that is not the kind of helpful information I am used in this > list. Yes you're right. Mostly any information can be obtained by reading > docs. And yes I know that XSp is not XSL. And yes I searched for examples. > without any succes

Re: Access Cocoon ESQL connection pool in JavaBean

On 28.Nov.2002 -- 12:13 PM, Kirchhoff, Lars wrote: > Hello, > > after playing around with XMLForms, I could manage to get it working > with some database support, but I'm wondering about using the same > connection pool than cocoon does with xsp:esql. I'm currently loading > the postgres driver

Re: with Cocoon 2.0.3 does'nt work

On 29.Nov.2002 -- 01:50 PM, LEBRETON Philippe wrote: > With cocoon 2.0.2, i use to include string with XML data > in my XML: > SortieXML > and it work. Although the error message does not fit the diagnosis, please add around SortieXML. Chris. -- C h r i s t i a n H a u l [EMAIL P

Re: Microsoft SQLserver with cocoon

On 02.Dec.2002 -- 11:09 AM, [EMAIL PROTECTED] wrote: > Hi > I want to use a microsoft sql server with cocoon, so I downloaded > Microsoft JDBC drivers for MS Sql server, and put the lib (JAR) into > cocoon's library dir, restarted cocoon. > Now, do I have to modify the cocoon.xconf? Can anybody te

Re: Environment variable

On 04.Dec.2002 -- 09:43 AM, Olivier GUCKERT wrote: > Hello all ! > > The home of my webapp will soon move, and i want to declare it with an > environment variable. > > So i define an environment variable and replace the path to the > directory of my website sitemap.xmap with this variable : > >

Re: [ESQL] - Postgresql 7.3: LIMIT x,y no longer supported

Antonio Gallardo wrote: Hi Christian: When you will be this a MUST be? I am using PostgreSQL. 7.2.2 I hope there will be a workaround of this. Antonio, please gimme a hint: what is no longer supported and what do you think caused this / what makes you believe support is gone? As for the li

[SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can youexplain a little more about that?)

Antonio Gallardo wrote: Hi Christian: > I saw you recently commited this changes: 1- New Logicsheet for use with InputModules. (CH) Antonio, input.xsl is a very simple logicsheet, it contains three tags , and which just call the similar methods on an InputModule. References to modules

Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Canyou explain a little more about that?)

Konstantin Piroumian wrote: Hi! Why the names of tags are not: etc.? Good point. My reasoning was that get-parameter is the most visible / most used tag from the request logicsheet. And since I see this as a replacement, I thought differences should be minimal. Feel free to change the tag

Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can you explain a little more about that?)

On 05.Dec.2002 -- 01:25 PM, Konstantin Piroumian wrote: > > From: "Antonio Gallardo" <[EMAIL PROTECTED]> > > Christian Haul dijo: > > > Konstantin Piroumian wrote: > > >> Hi! > > >> > > >> Why the names of tags are not: &

  1   2   3   4   5   6   >