Re: ESQL Oracle StoredProcedues

2002-04-15 Thread Christian Haul
On 13.Apr.2002 -- 02:25 PM, Michael Raffenberg wrote: > >org.apache.cocoon.ProcessingException: Language Exception: >org.apache.cocoon.components.language.LanguageException: Error compiling >Merci_Dics_xsp: > >Line 470, column -1: inconvertible types > >Line 0, column 0: > >1 errorHere is the co

Re: ESQL Oracle StoredProcedues

2002-04-15 Thread Christian Haul
On 15.Apr.2002 -- 02:17 PM, Michael Raffenberg wrote: > OK, once again. Here is actual code: > > >{call cocoon_proc(type="String">'123')} > > > > > > > > > returns: > org.apache.cocoon.ProcessingException: Language Excep

Re: form-validation

2002-04-15 Thread Christian Haul
On 16.Apr.2002 -- 10:24 AM, Niket Anand wrote: > I want to return map in act() method as > Map siteparams=new HashMap(); > siteparams("validate", true); > return siteparams; > > How can I use variable "validate" in sitemap such that If it is true then redirect >to resource1 else redirect to reso

Re: Splitting the request URL

2002-04-15 Thread Christian Haul
On 16.Apr.2002 -- 12:12 AM, Jason Foster wrote: > What I would like to do is include a set of navigation links based on the > URL path, in this case "{1}". Given a request like "website/topics/academic/ > publications.html", the HTML source for the navigation links should be: > > >website / > >t

Re: Actions: FormValidator and dbAdd

2002-04-16 Thread Christian Haul
On 16.Apr.2002 -- 12:43 AM, Matthieu Sozeau wrote: > > > > > > > > > But cocoon acts as if it only wanted just one at a time. I see my form parameters >are succesfully valitated, but cocoon pass to the map:generate part directly. I fea

Re: esql based logicsheet get-row-count

2002-04-17 Thread Christian Haul
On 17.Apr.2002 -- 09:10 AM, Jerzy Kut wrote: > Hi cocooners! > I know that esql:get-row-count is unavailable yet. But I need to get this > information from my DB. > I try: > > batch.xsl > > > (Long.parseLong() - 1) / OK, this is no briliant analysis of your code and certainly wi

Re: esql based logicsheet get-row-count

2002-04-19 Thread Christian Haul
On 18.Apr.2002 -- 02:37 PM, Jerzy Kut wrote: > That was trouble with xslt processing indeed :)) ! But I have impression You > keep in mind another resolve Christian ??? With JAVA BEANS. That's just one possibility to handle parameters. Have a class that takes parameters one-by-one through a setXY

Re: esql:get-date doesnt work with a column type datetime

2002-04-22 Thread Christian Haul
On 22.Apr.2002 -- 02:14 PM, LEBRETON Philippe wrote: > In my datase i have a column with datetime type and when i used > esql:get-date i have a exeption. > Does esql-get-date work with a datetime type or only with a date type? > i want to use the format attribute of esql:get-date, with my datetime

Re: sendmail

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 08:30 AM, Derek Hohls wrote: > Any idea why SendMailTransformer is NOT in the binary?? > Are there problems with it, or is it just the lack of documentation?? I reckon it's because you need javamail and jaf for it which is not part of j2se (at least for 1.3.1). (Well, this goes

Re: sendmail xsl problem

2002-04-23 Thread Christian Haul
On 17.Apr.2002 -- 10:38 AM, Perry Molendijk wrote: > Hello, > > When I run the sendmail logicsheet I get a problem with the > transformation of sendmail.xsl. > > Somewhere in the process the values of , > and are not added to the generated java code. I've just checked a version into CVS that

Re: [Problem]sendmail - reference to Session is ambiguous

2002-04-23 Thread Christian Haul
On 18.Apr.2002 -- 10:02 AM, Vadim Gritsenko wrote: > > From: Ehms, Jurgen [mailto:[EMAIL PROTECTED]] > > > > Here is the Bugfix to Sendmail.xsl > > > > - long Path to javax.mail.Session on account of ambiguous to > > org.apache.cocoon.environment.Session > > - changes on Template "get-nested-str

Re: sendmail

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 10:11 AM, Martin Mauri wrote: > Hi, I have Cocoon 1.8.2 with its source code but I cannot find the > SendMailTransformer source, what could be happening?? You're using the wrong version. Transformers are a Cocoon 2 concept and thus not present in Cocoon 1. Consider updating to a

Re: Iteration inside xsp

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 08:50 PM, Volker Schneider wrote: > Hi Harry, > > thank you, this helps. But there is another question coming up, maybe you > know the answer as well: > > How can I access the session or request object whithin the xsp logic > sheet(). Inside the I can access it using the > ses

Re: Simple esql problem, I think

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote: > > I working with on a simple database query with cocoon 2. I've done > this with the older cocoon, but here I'm having a processing problem > of some sort with the taglib. > > The connection pool is fine, that's working, however something g

Re: Parameter Selector Problem

2002-04-23 Thread Christian Haul
On 24.Apr.2002 -- 10:30 AM, manish wrote: > Hello, > I am facing some problem while using Parameter Selector. I got one example in >cocoon API, but when I am executing this example it give the following error. > If I remove the line value="myParameterValue"/> then it don't give the error, b

Re: Problems with XSP

2002-04-24 Thread Christian Haul
On 23.Apr.2002 -- 09:54 PM, cyril vidal wrote: > > You're sure you've got the right path to your file? 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: tag problem

2002-04-24 Thread Christian Haul
On 25.Apr.2002 -- 02:20 AM, Niket Anand wrote: > Hello all, > I want to use request parameter value in xsp as > > 333 > > It doesnot work, doesnot show default value. > But if I use as > > http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional comma

Re: Simple esql problem, I think

2002-04-24 Thread Christian Haul
On 24.Apr.2002 -- 08:54 AM, [EMAIL PROTECTED] wrote: > > Christian Haul says: > > On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote: > Thanks, yes that makes sense. However when I use "serverpages" I get > a class not found (BTW, I'm using JDK 1.3.1 and T

Re: Send Mail Problem

2002-04-24 Thread Christian Haul
Mathews, Silvy (HQP) wrote: > My configurations are as follows: > cocoon.xconf > * > > > http://apache.org/cocoon/sendmail/1.0"/> > > I don't know where you put the XSL but with the above it has to be contained in a jar with path silvy/logics

Re: Simple esql problem - Oh I see the trouble.

2002-04-24 Thread Christian Haul
[EMAIL PROTECTED] wrote: > Christian Haul says: > class not found".> Looks like there is a problem with your XSP or - if any - your > >>logicsheets. There should be another message telling you exactly what >>went wrong. Cocoon is very verbose on errors so sometime

Re: More sendmail problems

2002-04-24 Thread Christian Haul
On 24.Apr.2002 -- 09:33 PM, Lajos Moczar wrote: > Hi folks - > > I checked out the latest sendmail.xsl from CVS, but I get a > "javax.mail.internetParseException" that I haven't seen anyone else get. > My xsp is attached. Its real simple, just like the examples that have > been floating around

Re: Returning result from two select statements in one file

2002-04-25 Thread Christian Haul
On 25.Apr.2002 -- 09:25 AM, Hahn Kurt (CHA) wrote: > I'm developing a Cocoon application wich produces PDF files from a file > which is generated by a DB access (Oracle). The problem is the query: The > results I should get looks like this: > > > text > ... > text > text > ... > text > You are

Re: Problems with XSP

2002-04-26 Thread Christian Haul
On 26.Apr.2002 -- 03:59 PM, Torsten Curdt wrote: > > > I have thought about this a while ago, too. We should be able to > > extract > > > that from the exception stacktrace. > > > > Line number in Java source is already shown, correctly. The question is > > how to map this to XSP source line numbe

Re: Problems with XSP

2002-04-26 Thread Christian Haul
On 26.Apr.2002 -- 05:24 PM, Christian Haul wrote: > On 26.Apr.2002 -- 03:59 PM, Torsten Curdt wrote: > > > > I have thought about this a while ago, too. We should be able to > > > extract > > > > that from the exception stacktrace. > > > >

Re: sendmail again

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 05:11 PM, Perry Molendijk wrote: > inflexions.com: homeFinally got the cocoon part of the sendmail logicsheet > working but now I get an error from java mail: > I'm using the recently fixed sendmail.xsl, and after getting "An error > occured while sending email." a couple of tim

Re: Use of sitemap parameter in xslt

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 07:14 PM, Margrit John wrote: > Hi! > I am new to cocoon. > > In the sitemap I have the following example: > > > > > > > > > > > > In my stylesheet (test.xsl), I want to use the parameters "channel", > "section", "year". > > After a global declar

Re: Multiple independent XSLT transforms applied to one XML file.

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 03:29 PM, Fabricio Chalub wrote: > Hello, I suppose this is the kind of email that possibly reflects a deep > misunderstanding of the basic principles on which Cocoon relies. If that is > the case, just warn me. ;) > > The simple question is: > > Using Cocoon (possibly through

Re: Actions Programming

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 07:59 PM, Michael Mangeng wrote: > Hi > > I´ve encountered a little/funny problem when trying to recreate the simple hello >world action. > I´ve used the sample code (without the org.xml.sax.EntityResolver import because i >think i do not need it here). > > Cocoon realizes th

Re: C2 + MacOS X + MySQL

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 04:26 PM, Zack Angelo wrote: > Hey, I suppose I should take a brief moment to introduce myself. I'm > Zack Angelo from New Orleans. there, did it ;) > > Anyway, I've perused the digest in hopes of finding a solution to my > problem, but to my disappointment, didn't find anythi

Re: Multiple independent XSLT transforms applied to one XML file.

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 04:17 PM, Fabricio Chalub wrote: > > you can add any number of transformations. just add another > > transformer line > > to your pipeline with the second stylesheet. > > Thanks! I have tried this and it appears to me that only the last XSLT > transform is applied. I guess I

Re: {0} sitemap parameter in regexp matcher

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 04:54 PM, Artur Bialecki wrote: > > Is {0} not available when using sitemap matcher? > I have a sub-sitemap where > > This works (wildcard): > > pattern="product/category_edit.xml"> > > > > > > > > > but this doesn't (regexp

Re: xsp logicsheet

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 09:50 PM, Bert Van Kets wrote: > At 10:38 30/04/2002 -0300, you wrote: > > >I guess it's > > > > String temp = ""; > > > >or > > > > String temp = new String(""); > > > >Alejandro > Tried it, doesn't work. I guess it must be a bug. > If I use > String temp = ""

Re: C2+ MacOS X + MySQL

2002-04-30 Thread Christian Haul
On 30.Apr.2002 -- 05:27 PM, [EMAIL PROTECTED] wrote: > i"m sorry about the HTML text, didn't even realize it was enabled. > > Here's my XSP code: > > > mySql > SELECT ID,Date,Status from > Messages This is the problem: esql:execute-query needs to span the entire query, i.e.

Re: Actions Programming

2002-05-01 Thread Christian Haul
On 01.May.2002 -- 09:20 AM, Michael Mangeng wrote: > Hello . > request.setAttribute("hello", "world"); Harri is right, there is a typo in the example: The action sets a request _attribute_ and the XSP reads a request _parameter_. Since one can not set request parameters, you need to change

Re: How-to for sendmail published

2002-05-01 Thread Christian Haul
On 01.May.2002 -- 10:20 AM, Mathews, Silvy (HQP) wrote: > Hi, > Suppose if we modify the sendmail.xsl to support html emails instead of text > emails, how do we attach that html into the logic sheet. > Does anybody have any ideas?? Silvy, since you won't need to produce SAX-Events and transform

Re: Cocoon generated Java throwing SQLException

2002-05-02 Thread Christian Haul
On 01.May.2002 -- 09:54 PM, Zack Angelo wrote: > Hey, > > I'm having some really peculiar behavior with the ESQL logicsheet. I > have the following XSP (in my own logicsheet): > > select ID,count(ID) as count from Users where > LoginUser='zack' and Password='password' group by ID > > The corre

Re: sendmail

2002-05-03 Thread Christian Haul
On 02.May.2002 -- 10:16 PM, Horst Rutter wrote: > Can someone please fill me in on the following: > > I found two ways of sending an email in Cocoon: > 1) the sendmail.xsp/sendmail.xsl combo > 2) the SendMailAction > > Is this intentional and if so in which case would I be using which one? > May

Re: esql question

2002-05-03 Thread Christian Haul
sushil Bhattarai wrote: > Hi all, > > My esql query is returning huge amount of data (many rows). I know > there's a way to limit the number of rows but I do need all rows. But I > want to display only 10 rows at a time. And then next 10 rows and so on. > Is there a way to do that? esql let's

Re: [esql] Nesting after INSERT (result or no-result)?

2002-05-05 Thread Christian Haul
On 04.May.2002 -- 06:50 PM, von Schwerdtner, Thomas (GXS, FPI) wrote: > I'm doing something wrong here but I cannot find answers in the mailing list > or in the docs. I simply want to run a SELECT after an INSERT has > completed, but neither or seem to get > triggered. > > Referencing the foll

Re: ESQL Update problem

2002-05-05 Thread Christian Haul
[EMAIL PROTECTED] wrote: > I have been developing an application for a few months now and up till > now I haven't need to use the SQL UPDATE command, but when I added the > code below to a logicsheet today... > > > UPDATE item set number='base. select="@type"/>' where tech_id='tech' > and play

Re: Modular Database Actions - Multiple Inserts

2002-05-06 Thread Christian Haul
On 06.May.2002 -- 08:44 AM, Malte Vahlenkamp wrote: > Hello, > > I have some problems with the modular database actions. I am trying > to insert multiple rows from a form with several text boxes named > ProjectParam1, ProjctParam2, ... The insert itself is runs, but all I > get in this columns is

Re: ESQL Update problem

2002-05-06 Thread Christian Haul
On 06.May.2002 -- 09:35 AM, Sharat Koya wrote: > Sorry but could you give me the full bit of code from > esql:execute-query, I can't get my head around it and I couldn't find > much documentation on how to use it. > > From: Christian Haul [mailto:[EMAIL PROTECTED]] &g

Re: Stored Procedures in Descriptors?

2002-05-07 Thread Christian Haul
On 06.May.2002 -- 11:49 AM, Jacob Arnold wrote: > I've been adapting the protected login example from the Cocoon docs for my > own Web application, but my company encrypts users' passwords in its Oracle > database. Is it possible to call a stored procedure (to check the password) > from a descript

Re: ESQL && HTML

2002-05-13 Thread Christian Haul
On 12.May.2002 -- 05:50 PM, Andrew C. Oliver wrote: > In order to do this I need to insert some html, and then I need to get > out some html. Unfortunately, so far I'm getting coded HTML. > and > the likes. Can someone point me to a method based on the below pages > that would accomplish this?

Re: Generate multi-level XML document using standard SQL select statement

2002-05-13 Thread Christian Haul
On 12.May.2002 -- 10:17 AM, Evan Sho wrote: > Just tried MS SQL server 2000. I can type in browser: > http://localhost/mydb?sql=select * from dept, emp > where dept.deptno=emp.dept.no for xml auto&root=List > > then, I will get XML: > > > > > > > > > ... > > > The

Re: Generate multi-level XML document using standard SQL select statement

2002-05-13 Thread Christian Haul
On 13.May.2002 -- 01:44 AM, Evan Sho wrote: > Well, just prepared a Generator which take a SQL > statment as src, and generate multi-level XML > document. > > Please kindly give me some comments? > http://www.evansho.net/SqlGenerator.zip Looks nice. Evan, do you like to donate that code (and so

Re: Fixed version of FormValidatorAction

2002-05-13 Thread Christian Haul
On 13.May.2002 -- 03:30 PM, Volker Schneider wrote: > Dear colleagues, > > does anybody know which is the fixed version of FormValidatorAction, where > the error with the exception is fixed. > Is it possible to download the classes and to merge it to release version > 2.0.2 so that I do not need

Re: Fixed version of FormValidatorAction

2002-05-13 Thread Christian Haul
On 13.May.2002 -- 04:05 PM, Volker Schneider wrote: > BTW: Do you know when release 2.0.3 comes out? No idea, really. We decided to have more frequent releases, but I'm not aware of a date for 2.0.3. Carsten in in charge of that but I believe he is currently off list. Chris. -- C h r i

Re: Databases & Action

2002-05-13 Thread Christian Haul
On 13.May.2002 -- 05:48 PM, Michael Mangeng wrote: > Hi > > I was wondering how i can access a pooled db connection within a action... > in the turorial at http://xml.apache.org/cocoon/developing/datasources.html is >mentioned in the action example: > import org.apache.cocoon.Roles; > > the pro

Re: Pagination support

2002-05-16 Thread Christian Haul
On 13.May.2002 -- 09:31 AM, Evan Sho wrote: > Just skim thur the suggestions. However, I have a > question very fundamental to that in the pipeline > process. If the pagination is done in transformer, it > means the generator will have all result generated and > the transformer just cut out the un

Re: Form validation

2002-05-16 Thread Christian Haul
There is new foms support underway for cocoon using an XForms related syntax. FormvalidatorAction will stay but large additions might not be worthwile On 14.May.2002 -- 08:59 PM, Paul Pattison wrote: > I'm trying to find a way to get the if-else if statements out of the page > and put them i

Re: DatabaseSelectAction, get results

2002-05-16 Thread Christian Haul
On 15.May.2002 -- 09:05 PM, Hiloliddin Karimov wrote: > Hi, > > I try use DatabaseSelectAction for selection. I have searched in the > archive, but I haven't found solution, please help. > If I want select all, I try: > > > > > > > > then SQL is: SELECT username, balance, s

Re: Connection problem to DB2

2002-05-16 Thread Christian Haul
On 16.May.2002 -- 12:50 PM, Kelly Cole wrote: > I am a new user to Cocoon, just trying to test drive it... One of the things > I would like to do is to connect to our database (db2 on os390 connecting > via DB2/Connect). Unfortunately, I get this entry in the sitemap.log: Things you didn't tell u

Re: Connection problem to DB2

2002-05-17 Thread Christian Haul
On 16.May.2002 -- 04:13 PM, Kelly Cole wrote: > Thanks for the quick response... I am using Cocoon 2.0.2, Tomcat 4.0.1 and > JDK 1.3.1_03. Your versions look reasonable. Have you compiled any of it yourself? > root cause > > java.lang.AbstractMethodError > at > org.apache.avalon.excalibu

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-17 Thread Christian Haul
On 17.May.2002 -- 10:01 AM, Torsten Curdt wrote: > On Friday 17 May 2002 03:48, neil wrote: > > Hi, > > it seems that a few cocoon users like me, are hacking about with esql to > > get it to do what we need. I'm working on the change shown below and am > > happy to share it if anyone wants it. > >

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-17 Thread Christian Haul
On 17.May.2002 -- 11:12 AM, Torsten Curdt wrote: > On Friday 17 May 2002 10:36, Christian Haul wrote: > > On 17.May.2002 -- 10:01 AM, Torsten Curdt wrote: > > > On Friday 17 May 2002 03:48, neil wrote: > > > > I believe that we actually should expect &g

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-17 Thread Christian Haul
On 17.May.2002 -- 12:23 PM, Torsten Curdt wrote: > > > > > getMoreResults() should return no resultset at all... but how to iterate > > > to the next update count? again - it belongs to the statement... > > > > I read the JDBC API that way that getMoreResults() closes the current > > ResultSet a

Re: Reading request parameters

2002-05-17 Thread Christian Haul
On 17.May.2002 -- 03:31 PM, Enrico Gulfi wrote: > Hi everybody, > > I'm new to Cocoon so forgive me if my problem seems trivial to you :-) I'm > using C2 with Tomcat 4.0.3 on Win2000. > > I'm trying to pass a request parameter to a transformation as following: > > > > >

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-17 Thread Christian Haul
On 17.May.2002 -- 02:31 PM, Christian Haul wrote: > On 17.May.2002 -- 12:23 PM, Torsten Curdt wrote: > I would nest if(hasResultSet) into the switch statement. We would want > to have multiple no-results / update-results blocks for each result, > wouldn't we?? OK, did your way

Re: Request parameters and FormValidator action

2002-05-21 Thread Christian Haul
On 21.May.2002 -- 01:15 PM, Ivan Luzyanin wrote: > Hello all! > > I need to pass parameters from HTML-form to FormValidator and then get > these parameters in XSP page: > > page1.xsp > FormValidator > page2.xsp > > But in page2.xsp request object contains only > "org.apache.cocoon.acting.FormVa

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-21 Thread Christian Haul
On 20.May.2002 -- 11:19 AM, neil wrote: > The loop test cannot be: > > } while(_esql_query.getMoreResults()); > because this would stop the loop whenever the next result is an update count > (without processing this update count and any following results). Please > read the javadoc carefully any t

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-21 Thread Christian Haul
On 17.May.2002 -- 06:14 PM, Torsten Curdt wrote: > On Friday 17 May 2002 16:34, Christian Haul wrote: > > On 17.May.2002 -- 02:31 PM, Christian Haul wrote: > > > On 17.May.2002 -- 12:23 PM, Torsten Curdt wrote: > > > I would nest if(hasResultSet) into the switch statem

Re: Form Validation and Descriptor File

2002-05-22 Thread Christian Haul
On 21.May.2002 -- 10:56 AM, Naquin, Beth wrote: > I am new to cocoon and any help is appreciated! > > Where can I find more information about form validation and the descriptor > file? The cocoon documentation mentions 'javadocs', but what are these and > where can I find them? http://xml.apach

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-22 Thread Christian Haul
On 22.May.2002 -- 10:34 AM, neil wrote: > On 22 May 2002 Christian Haul wrote: > OK. I didn't spot that your change depends on updates to other files too. > Picky minor point: Although I don't like the semantics of JDBCs > getMoreResults() > I like even less having di

Re: Action Problem.

2002-05-23 Thread Christian Haul
On 23.May.2002 -- 12:12 AM, Kenny Chow wrote: > I am writing an action that will validate form > inputs, insert them to database and other customized > tasks. But I am not using both the form validator and > the database-add action. So my action is extending the Just curious, why don't you us

Re: how do I redirect in an Action?

2002-05-23 Thread Christian Haul
On 23.May.2002 -- 05:00 PM, Graaf, Edgar de (fin) wrote: > Christopher, > > can't contain matchers, how else would cocoon know that the > action should be run? Edgar, AFAIK this is not true. can contain all other tags that are allowed within a pipeline. Depending on the amount of "pipeline f

Re: how do I redirect in an Action?

2002-05-23 Thread Christian Haul
On 23.May.2002 -- 01:15 PM, Christopher Painter-Wakefield wrote: > if I do a redirect in an Action, does that effectively terminate the > pipeline also? Yes it does. I have never used the redirector object but it should do exactly that. Using the redirector object and redirecting on sitemap level

Re: XML in actions

2002-05-23 Thread Christian Haul
On 23.May.2002 -- 02:20 PM, Mike Ash wrote: > I like the number 2 option but I can't seem to find how to get the xml out > of the objectModel in an XSP. Is there an example in the cocoon dist? Have a look at the util logicsheet. Basically, use expr Other include tags are include-file include-u

Re: Question: what is {session-id} ? in a sitemap.xmap ?

2002-05-24 Thread Christian Haul
On 23.May.2002 -- 06:37 PM, John Austin wrote: > On Thursday 23 May 2002 18:23, you wrote: > > Thanks. It is pretty clear that {name} is a variable. My question > should have been: How do I discover the valid values for {name} ? > The example I was looking at used {session-id} which is intuitive

Re: Action Problem.

2002-05-24 Thread Christian Haul
On 23.May.2002 -- 07:32 PM, Kenny Chow wrote: > To Christian Haul, > Your suggestion was good and I wanted to do that > but my understanding of both the form and dbAddAction > have been somewhat poor... So I am "putting" all > actions I wanna do together so that I can

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-24 Thread Christian Haul
On 23.May.2002 -- 09:50 AM, neil wrote: > I'll try your changes out sometime soon, but for now I'm still using my > patch but with your switch > statements added. I've added a default case to the switch: > > This allows you to reuse the same if you want to. > Likewise for and . > Its not "diffi

Re: XSP & Namespace Problem

2002-05-24 Thread Christian Haul
On 24.May.2002 -- 07:45 PM, Peter, Reto wrote: > I've a Problem with a XSP Page, which includes data from a different > Namespace: > xmlDoc include-expr> > In the xmlDoc, there is something like ... > > The message in the Cocoon Sitemap.log says, that the namespace 'ino' could > not be found i

Re: DatabaseSelectAction

2002-05-25 Thread Christian Haul
On 25.May.2002 -- 12:55 PM, Michael Mangeng wrote: > Hi > > I wondered if there is a possibility to use 'where' in the sql querys with the >DatabaseSelectAction. > How can i describe this in the descriptor file ? The where clause is automatically added and uses all fields that are key columns.

Re: Database Action assistance request.

2002-05-29 Thread Christian Haul
On 28.May.2002 -- 08:04 PM, John Austin wrote: > I have been poking around trying to find out whether > DatabaseSelectAction can help me. > > There is very little written about this action and I wonder whether it > has ever been used (or even tested). > > My problem is as follows: > > I have

Re: Sybase database acces with Cocoon

2002-05-29 Thread Christian Haul
On 29.May.2002 -- 02:49 PM, JL Ardoin wrote: > Hi all ! > > Discovering Cocoon , I try to use it with Sybase ASE 11.9 . > Dynamic SQL seems to work perfectly, but I can't make SQL stored procs > running, > for example - sp_who - even after reading the documentation !! What means do you use to f

Re: Attachments in sendmail

2002-05-30 Thread Christian Haul
On 30.May.2002 -- 11:55 AM, Phil Blake wrote: > Hi all, > > I have a form on a web page that has an email address and a file upload. > The idea is to enter the email address, select the file to upload, and > cocoon uses it's sendmail logicsheet to email the file to the address. > > It all work

Re: ESQL-Nested Queries

2002-05-30 Thread Christian Haul
On 30.May.2002 -- 10:45 AM, Malte Vahlenkamp wrote: > Hello, > > I'm using Cocoon 2.02 and need some help with esql. I'm trying to access a resultset >the column of another resultset returned by my query, but I don't get it running. >DBMS is Oracle 9i and the return value of f_searchentries is

Re: how do I redirect in an Action?

2002-06-01 Thread Christian Haul
Peter Lerche wrote: >Hi, I have followed this thread with interest >and noted what Chris wrote. > >"Edgar, AFAIK this is not true. can contain all other tags >that are allowed within a pipeline. " > >However, what about nested map:act tags. > > No problem. An example is the mod-db sample site

Re: SQL, Actions, ESQL Help Please!!!

2002-06-03 Thread Christian Haul
On 03.Jun.2002 -- 10:11 AM, daniel robinson wrote: > Hi, > > I've been poking around but I'm clueless (yes, generally as well as > specifically). > > What am I trying to do: > > 1) I have a PostgreSQL table with a field called "StoryText" defined as > a "Text" (virtually unlmited size text data

Re: SQL, Actions, ESQL Help Please!!!

2002-06-04 Thread Christian Haul
On 03.Jun.2002 -- 11:53 PM, John Austin wrote: > On Monday 03 June 2002 01:50 pm, you wrote: > > On 03.Jun.2002 -- 10:11 AM, daniel robinson wrote: > > > Hi, > > > > > > I've been poking around but I'm clueless (yes, generally as well as > > > specifically). > > I have some code that simply uses

Re: Showing Column names in XSP

2002-06-05 Thread Christian Haul
On 04.Jun.2002 -- 01:05 PM, Matthew Hailstone wrote: > I'm trying to get the column names of a particular query, but with no > luck so far. Here is a portion of my XSP source: > > > wcart22 > >select * from classes > > > for(int i=0;

Re: sendmail patch with attachements

2002-06-05 Thread Christian Haul
On 05.Jun.2002 -- 03:21 PM, "Ehms, Jürgen" wrote: > I added the capability to send attachements with Sendmail.xsl > > the tag > will add all given Files separated by semicolon > in a String to the mail. > > usage: > > Mailserver > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PR

Re: sendmail patch with attachements

2002-06-05 Thread Christian Haul
On 05.Jun.2002 -- 04:43 PM, "Ehms, Jürgen" wrote: > >From: Christian Haul [mailto:[EMAIL PROTECTED]] > >1) could you please use " diff -u " to create the patch against CVS HEAD. > > I only used WinCVS to download, please explain the steps with a short >

Re: multipart/forms binary upload in mysql

2002-06-06 Thread Christian Haul
On 06.Jun.2002 -- 06:56 AM, Andrew Timberlake wrote: > Gerhard > > I think that your problem is not mysql but the use of the > DatabaseAddAction. > Looking through the source for the DatabaseAddAction indicates no > awareness of Uploaded Files. > The error you are receiving below shows that cocoo

Re: MOD-DB problem

2002-06-06 Thread Christian Haul
Frank Taffelt wrote: > it seems that new MODDB Actions doesn't alway's process the tables in the > right order. > > In my understanding the processorder of the tables is determined by their > order in the table-set element. > Under some circumstances this order is violated. Mmmh, no. They are p

Re: XSP page refresh and re-connect to db each time?

2002-06-06 Thread Christian Haul
Naquin, Beth wrote: > Sorry for posting this a second time, but I could really use some help... > > How can I make my xsp page be 'refreshed' with updated data from the > database each time I click on a link to it, instead of just being shown > from a cache? AFAIK the problem is the browser. T

Re: Best Practice for shared information lookup? Modules?

2002-06-06 Thread Christian Haul
Geoff Howard wrote: > Wasn't sure what to call this. > > I have a need to make some shared information available to components. I'd It depends where you need this information and what kind of information it is. If it is simple (small), needed by the sitemap, existing sitemap components or si

Re: Nullable tag doesn't work in the 2.0.1 Relase !!

2002-06-07 Thread Christian Haul
On 07.Jun.2002 -- 11:37 AM, Montier Patrick wrote: > Hi, > > I have installed the cocoon-2.01 release (migration from 2-1dev) and i'm Patrick, I don't get the version numbers. You have upgraded from 2.0-dev to 2.0.1 or have you downgraded from 2.1-dev to 2.0.1? Anyway, please try either 2.0.3 fr

Re: "Global" variables

2002-06-09 Thread Christian Haul
Frank Borkowsky wrote: > Hi! > > My question is: Are there any other variables like {1}, {2} and {../1} > ... with can be accessed in the sitemap through the bracket syntax? Actually, there are none. Not even the ones you mention. They depend on the use of certain sitemap components. The abo

Re: sitemap design patterns - hybrid selector/matcher?

2002-06-10 Thread Christian Haul
On 09.Jun.2002 -- 07:53 PM, Jonathan Layes wrote: > Hi all, > > I have a recurring theme in a few of my sitemaps and, although I > have solved the problem, I'm not particularly happy with the solution. > Here's the problem in pseudo-sitemapese: > > > > > > >

Re: MOD-DB problem

2002-06-10 Thread Christian Haul
On 06.Jun.2002 -- 09:40 PM, Christian Haul wrote: > Frank Taffelt wrote: > >it seems that new MODDB Actions doesn't alway's process the tables in the > >right order. > > > >In my understanding the processorder of the tables is determined by their > >or

Re: sitemap design patterns - hybrid selector/matcher?

2002-06-10 Thread Christian Haul
On 10.Jun.2002 -- 10:15 AM, Vadim Gritsenko wrote: > > From: Christian Haul [mailto:[EMAIL PROTECTED]] > > > > On 09.Jun.2002 -- 07:53 PM, Jonathan Layes wrote: > > > Hi all, > > > > > > I have a recurring theme in a few of my sitemaps and, alth

Re: sitemap design patterns - hybrid selector/matcher?

2002-06-10 Thread Christian Haul
On 10.Jun.2002 -- 11:05 AM, Vadim Gritsenko wrote: > > From: Christian Haul [mailto:[EMAIL PROTECTED]] > > > > > Nope, this is not a bug. Sitemap works this way, breaking execution > on > > > first serialize. > > > > Sure, but have a second look at t

Re: AbstractDatabaseAction Exception : java.io.FileNotFoundException !!!! A BUG???!!!

2002-06-11 Thread Christian Haul
On 11.Jun.2002 -- 03:15 PM, Ivan Luzyanin wrote: > Hi! > > When i trying to use "now" datatype in my descriptor file > > > > i got very interesting error: > > The org.apache.cocoon.www.sitemap_xmap notifies that > org.apache.cocoon.ProcessingException says: > > Could not update record :posit

Re: writing actions

2002-06-11 Thread Christian Haul
On 11.Jun.2002 -- 10:26 AM, gorillacommunications wrote: > Geoff, > Thanks for the reply. I have a couple of other questions. > 1. I'm still getting a "classNotFound" exception on my class when > the sitemap is being compiled.. I put it in the package com.kg.gs.GSLogin, > made a jar, and put that

Re: Form validator error in logicsheet

2002-06-14 Thread Christian Haul
On 14.Jun.2002 -- 11:26 AM, steeven wrote: > My form validator code worked well under xsp file. when i moved them to logicshee, >and error raised. It was reported that ths generated java file is wrong. I wonder how it worked on your XSP. Problem is, that the on-XXX tags don't switch to xsp:conte

Re: request-parameter exist

2002-06-14 Thread Christian Haul
On 14.Jun.2002 -- 04:11 PM, Matthew Hailstone wrote: > Is there any way to determine whether a particular request-parameter > exists in the sitemap's pipeline? Yes, look at the RequestParameterExistsAction. It is used in the mod-db example BTW. Chris. -- C h r i s t i a n H a u l

Re: Pass a xsl variable as a esql tag parameter?

2002-06-18 Thread Christian Haul
On 18.Jun.2002 -- 07:40 PM, System Administrator wrote: > This is inside a logicsheet. > > I have a database configuration xml schema. > I am attempting to create an xsp page from the > database xml, which will perform database actions on > the fields defined in the xml. > > On creating the

Re: Sitemap parameters from servlet init (e.g. from outside the s itemap)...

2002-06-25 Thread Christian Haul
On 25.Jun.2002 -- 12:47 PM, Piroumian Konstantin wrote: > > > - in Cocoon, does something already exist to get set sitemap > > > parameters from somewhere 'global' (hopefully from the init params)? > > > > Or perhaps to/from the servlet context? > > There is a new thing in CVS HEAD called Input

Re: retrieve esql return code or output paramter

2002-06-25 Thread Christian Haul
On 25.Jun.2002 -- 03:08 PM, Naquin, Beth wrote: > Hello, > > This is probably obvious, but I just haven't been able to figure it out. > > I have a stored procedure that returns a return code, but not a resultset. > The return codes are 0-4 and each mean something specific. > When I execute the s

<    1   2   3   4   5   6   >