Re: Wildcard Parameters in Sitemap

2001-08-20 Thread Piroumian, Konstantin
Hi! > > > > value="context://mmsc//descriptors/login-params.xml"/> > value="username"/> > > > > > > > > > > > > > > > > Question 2: > In

xsp-formval how get results

2001-08-20 Thread cib
Hi,   my form's target goes to do-register2, and here is the sitemap.                      The errot.xsp has a namespace on formval:     language="java"  xmlns:xsp="http://apache.org/xsp"  xmlns:esql="http://apache.org/cocoo

[C2] mysql and auto-increment

2001-08-20 Thread Orgalist
hello, I have a mysql database with a table 'listes' which has a column 'id' auto increment. How can I get the last inserted row's id ? (except using select max(id) from ) thanks. C. - Please check that your question has no

Ang: [C2] mysql and auto-increment

2001-08-20 Thread Alen Milkovic
>>> "Orgalist" <[EMAIL PROTECTED]> 20.08.01 11:54 >>> >hello, >I have a mysql database with a table 'listes' which has >a column 'id' auto increment. >How can I get the last inserted row's id ? >(except using select max(id) from ) >thanks. Just use the LAST_INSERT_ID() function. SELECT LAST

Content aggregation and serializers

2001-08-20 Thread Michael Homeijer
To my understanding, pipelines without serializers could be used in an aggregator without exposing url of the aggregate part to the outside world. In the nightly build from thursday, each pipeline (also the ones used in an aggregator) requires a serializer. Should I define internal pipelines in a

RE: Content aggregation and serializers

2001-08-20 Thread Morrison, John
Theres a better way - put all your 'internal' pipelines in one and mark it as internal... > -Original Message- > From: Michael Homeijer [mailto:[EMAIL PROTECTED]] > Sent: Monday, 20 August 2001 11:17 am > To: '[EMAIL PROTECTED]' > Subject: Content aggregation and serializ

Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Chris Newland
Hi All, I'm trying to test for the presence of a key in an SQL table by performing an SQL query and having the result (or null) set in an XSP variable: checking for username = username String got_uname = "dummy"; my_jdbc select id from end

AW: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Max Larsson
Hi, try to wrap it in a xsp:logic block: ... got_uname = ; ... Max > -Ursprüngliche Nachricht- > Von: Chris Newland [mailto:[EMAIL PROTECTED]] > Gesendet: Montag

RE: [C2] mysql and auto-increment

2001-08-20 Thread Orgalist
doesn't work. send back 0 for each row there is in the table C. -Message d'origine- De : Alen Milkovic [mailto:[EMAIL PROTECTED]] Envoyé : lundi 20 août 2001 12:00 À : [EMAIL PROTECTED] Objet : Ang: [C2] mysql and auto-increment >>> "Orgalist" <[EMAIL PROTECTED]> 20.08.01 11:54 >>> >he

RE: Dreaded: Sitemap handler's sitemap is not available

2001-08-20 Thread java guru
Hi Ted., 1. By "restart", I mean, tomcat. Since cocoon is webapp which lives inside a servlet engine, there is no "restart" for cocoon by itself.. 2. The sitemap is recompiled at the startup automatically unless you use something like pre-compile stuff(forget it for now).. 3. Earlier, you or

Re: [ANNOUNCE] XSLT-process 2.1 available

2001-08-20 Thread Gritsenko
Thank you Ovidiu, I think this is an XSL WYSIWYG editor we all are looking for. Am I correct? Viktor - Original Message - From: "Ovidiu Predescu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 12:01 AM Subject: [ANNOUNCE] XSLT-process 2.1 available > What'

RE: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Chris Newland
Thanks Max, It was that and the fact that I'd forgotton the around the . This code works for retrieving a value or null if it does not exist in the DB: checking for username = username String got_uname = "dummy"; lh_jdbc select id from e

Re: XSP: Type and Identifier errors

2001-08-20 Thread Christopher Painter-Wakefield
Bobo, the line numbers actually refer to the generated Java code, which is in a repository directory as defined by your cocoon.properties file. I think your first error here is missing semicolons on the lines String fname = request.getParameter("fname") ...//some more request.getParameter() S

Re: MS Word serializer

2001-08-20 Thread Berin Loritsch
David Brunkow wrote: > > Can anyone tell me if there are any plans to write an MS Word serializer? I > want to conver XML to Word, not Word to XML. You have two alternatives (something I had to do in a previous job): 1) Learn MS Word XP's XML markup (probably the best solution) 2) Use word to

RequestParameters for HTMLGernerator

2001-08-20 Thread Gerd Mueller
Hi, Is there a way to pass the request parameters from the cocoon sitemap through to the HTMLGernerator ? At the moment it seems only to support the 'xpath'-parameter and does nothing with the rest of the parameters. Best Regards, Gerd ---

Internal redirects

2001-08-20 Thread Michael Homeijer
I am working an a mechanism to have annotated pages in my web portal (like the pages in the pet store). The pipeline to get this working looks like this: This way, when i have a page, say "portal", cocoon loads the portal page and it loads the annotation

AW: MS Word serializer

2001-08-20 Thread Stefan Seifert
> David Brunkow wrote: > > > > Can anyone tell me if there are any plans to write an MS > Word serializer? I > > want to conver XML to Word, not Word to XML. > > You have two alternatives (something I had to do in a previous job): > > 1) Learn MS Word XP's XML markup (probably the best solut

RegExp Matcher not working?

2001-08-20 Thread Max Larsson
Hi, if i use the default matcher wildcard the sitemap part below works fine. But if i change the default matcher from wildcard to regexp it does not work. Everthing is match equal as 'login'. Does anyone knows why??? Max

Re: RegExp Matcher not working?

2001-08-20 Thread java guru
Hi., I am not sure how/what way you are testing this but the regexp stuff is working for me... Here is how i tested it on protected sub sitemap.. and following urls result in login2 http://localhost:8080/protected/l2 http://localhost:8080/protected/lo

Re: RegExp Matcher not working?

2001-08-20 Thread java guru
Hi., I am not sure how/what way you are testing this but the regexp stuff is working for me... Here is how i tested it on protected sub sitemap.. and following urls result in login2 http://localhost:8080/protected/l2 http://localhost:8080/protected/lo

Re: MS Word serializer

2001-08-20 Thread Jon Peterson
I've recently run across a similar requirement and thought about writing to Rich Text Format. After looking around a bit, I saw that C1 actually had a 3rd party formatter (http://sourceforge.net/projects/jfor/) that would transform fo to rtf. I haven't seen any references for a port to C2, but t

RE: MS Word serializer

2001-08-20 Thread Max Dunn
> >> Can anyone tell me if there are any plans to write an MS Word >> serializer? I want to conver XML to Word, not Word to XML. > You have two alternatives (something I had to do in a previous job): > 1) Learn MS Word XP's XML markup (probably the best solution) Excuse me, but is there *any

Re: MS Word serializer

2001-08-20 Thread Berin Loritsch
Max Dunn wrote: > > > > >> Can anyone tell me if there are any plans to write an MS Word > >> serializer? I want to conver XML to Word, not Word to XML. > > > You have two alternatives (something I had to do in a previous job): > > > 1) Learn MS Word XP's XML markup (probably the best solution

RE: MS Word serializer

2001-08-20 Thread Max Dunn
>> Excuse me, but is there *anything* in Word XP that will facilitate >> importing XML? I haven't noticed such a feature. > Word XP is _supposed_ to have XML integration. Try exporting > (or saving as...) a regular Word Document as XML and examine the > contents. > Keep in mind this solution

RE: Getting read of the X server dependency

2001-08-20 Thread Jeremy Crosbie
After a week of head scratching and the help of a nice person name Juerg Lehni I got an alternative to Xvfb working. My problem was that I wanted Apache + Tomcat 4.0 + Cocoon to startup at bootup on my laptop. Using Xvfb is not really an option in this setup. Searching through the mail archives I

RE: Getting read of the X server dependency

2001-08-20 Thread Marcus Crafter
Hi Jeremy, The xvfb solution is in the FAQ. Have a look at xml-cocoon2/xdocs/faq.xml around line 588. The only problem with the PJA toolkit is that it's licenced under the GPL (not LGPL), which has implications: http://www.fsf.org/licenses/gpl-faq

RE: MS Word serializer

2001-08-20 Thread Chris Bermillo
The challenge with converting XML to Word lies in the serializer's ability to interpret the tags into Word "objects". How does a serializer interpret the tag, ? Is it a paragraph? Is it a field? Is it a bookmark? Is it bold? Is it italic? etc... These are the questions that the serializer m

can't get cocoon 2 running (MOSX/Darwin)

2001-08-20 Thread Noah Mittman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm getting an error running cocoon2, just trying to hit the default index. I had Tomcat 3.2.3 and Cocoon 1.8.2 running perfectly. A friend in my office sent me the cocoon2 .war file and the list of jars I'd need in the tomcat lib directory to upgr

xsp-formval:results exception '}' expected

2001-08-20 Thread cib
Hi; here is what I get: org.apache.cocoon.components.language.LanguageException: Error compiling error_xsp: Line 154, column 91: '}' expected. http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-formval="http://apche.org/xsp/form-validator/2.0";> l

sax error at start in c2.0b2

2001-08-20 Thread cib
hi all, I've just upgraded to C2.0b2, to use the formval tag lib, but I get this error at start, and even if cocoon works, I'm not sure if some other errors I get are not due to this first error on startup. Here is what I get. G:\Tomcat\bin>G:\Tomcat\bin\startup.bat Using CLASSPATH: g:\Tomcat\bin

Re: xsp-formval:results exception '}' expected

2001-08-20 Thread cib
Sorry, I'm an idiot, I've been searching docs in my c2.0b1, forgetting I had just upgraded to b2. *There* is the documentation. Sorry again. Cib France, Bordeaux, xml and gay pride. - Original Message - From: "cib" <[EMAIL PROTECTED]> To: "Cocoon User Mail List" <[EMAIL PROTECTED]> Se

esql, get-xml and xsp:logic

2001-08-20 Thread Brent L Johnson
I've been using and it's been working perfectly. But, I've found a problem when trying to set a String inside an tag to that. Make any sense? Here's the code that works... TEST: But, I want to set a string to that value.. e.g. String myval = ; Doing this I get the following error: Inc

AW: esql, get-xml and xsp:logic

2001-08-20 Thread Stefan Seifert
Take a look at the generate Java class behind the XSP page - and you will see the problem. get-xml does not an xml string, but a xml dom element object (or sax events in cocoon 2). In your second case there was just the .toString()-Method of org.w3c.dom.Element called. I can see not much sense in

Re: XSP: Type and Identifier errors

2001-08-20 Thread Mamadou Bobo Sylla
Thank you christopher, I didn't know that the line refers to the generated java code upon XSP compilation. I have compiled the generated code and it has helped me to fix some java syntax error. At the end I was getting one error which is identifier error. The identifier error persists because I ha

Live Sites powered by Apache Cocoon 1.X

2001-08-20 Thread Christian Kissner
http://www.efonds24.de/ - a (german) closed funds counselling application and catalog - Please check that your question has not already been answered in the FAQ before posting. To unsub

Re: xsp-formval:results exception '}' expected

2001-08-20 Thread Christian Haul
On 20.Aug.2001 -- 10:39 PM, cib wrote: > > > les messages d'erreur. > > > > Hi cib, actually, "results" was meant to be used for complex processing since it returns a map. It's not really suitable to print it's result directly. Therefore it is not automatically enclosed in . I will cha

Re: xsp-formval how get results

2001-08-20 Thread Christian Haul
On 20.Aug.2001 -- 11:29 AM, cib wrote: > Hi, > > my form's target goes to do-register2, and here is the sitemap. > > > > > > > > > > > > > > The errot.xsp has a namespace on formval: > > >language="java" >