xmldb generator and utf-8 problems

2002-07-14 Thread adrian . dimulescu
Hello, i am using xindice as data source in cocoon. the problem is that the xml documents in xindice are encoded in utf-8 and cocoon seems to alter the "special" characters before returning them: so: while a simple xindice query which returns a piece of a document like, for instance: xindice

Refresh Problem with included XSLs

2002-07-14 Thread Alexander Schatten
I use the include XSL mechanism heavily as it allows a kind of "component based" publishing putting together xsls from different pieces. so it happens, that multiple XSL stylesheet include one or multiple other XSLs, lets say like this: a <--includes-- x b <--includes-- x c <--includes-- x if

RE: Refresh Problem with included XSLs

2002-07-14 Thread Koen Pellegrims
During development, I usually use: find stylesheets/ -name *.xsl -exec touch \{\} \; ... that helps ;) K. > -Oorspronkelijk bericht- > Van: Alexander Schatten [mailto:[EMAIL PROTECTED]] > Verzonden: zondag 14 juli 2002 15:46 > Aan: [EMAIL PROTECTED] > Onderwerp: Refresh Problem with

Re: [Q] util:include-uri relative path

2002-07-14 Thread Christian Haul
On 12.Jul.2002 -- 10:58 PM, Christian Haul wrote: > On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote: > > > From: Christian Haul [mailto:[EMAIL PROTECTED]] > > > > Hint: two start document events, two end document events. > > > > See my other email, my proposed patch uses include consumer. > >

RE: [Q] util:include-uri relative path

2002-07-14 Thread Vadim Gritsenko
> From: Christian Haul [mailto:[EMAIL PROTECTED]] > > On 12.Jul.2002 -- 10:58 PM, Christian Haul wrote: > > On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote: > > > > From: Christian Haul [mailto:[EMAIL PROTECTED]] > > > > > > Hint: two start document events, two end document events. > > > > > >

where is the FlowMap Docs ?

2002-07-14 Thread Mohamed El-Refaey
Hi all   in the last weeks I noticed a very interesting discussion about the FlowMap (flow control)and continuation concept and integrating the XMLForm sample with this layer, and I had checked out the lastest CVS version of the cocoon but I didn't found any new Docs or samples relating to t

Cocoon database connection

2002-07-14 Thread Leszek Gawron
I have encountered next problem: After restarting dbms that cocoon uses via pool it is not able to reconnect to it. Am I doing something wrong or is cocoon problem ? ouzo -- __ | / \ |Leszek Gawron// \\ \_\\ //_/ [EMAIL PROTECTED]

RE: Refresh Problem with included XSLs

2002-07-14 Thread Vadim Gritsenko
> From: Alexander Schatten [mailto:[EMAIL PROTECTED]] > > I use the include XSL mechanism heavily as it allows a kind of > "component based" publishing putting together xsls from different pieces. > > so it happens, that multiple XSL stylesheet include one or multiple > other XSLs, lets say like

RE: Cocoon database connection

2002-07-14 Thread Vadim Gritsenko
> From: Leszek Gawron [mailto:[EMAIL PROTECTED]] > > I have encountered next problem: > After restarting dbms that cocoon uses via pool it is not able to reconnect to > it. Am I doing something wrong or is cocoon problem ? Cocoon uses database pools of Avalon Excalibur. You may want to ask on Av

RE: XML output transformed into XSP.

2002-07-14 Thread Vadim Gritsenko
> From: Graeme Colman [mailto:[EMAIL PROTECTED]] > > I know that this type of question has been answered a > lot on this list but I still can't get this to work as > I would like. > > What I have is an xml file. > I need to transform this xml adding a few tags. > I then need to put this through

RE: Cocoon database connection

2002-07-14 Thread Luca Morandini
Leszek, I did a little experiment: 1) shut Oracle down 2) tried a query with Cocoon (it doesn't work, of course) 3) started Oracle up 4) tried the same query with Cocoon (it works, to my surprise) Hence, I presume your problem is DBMS-(or JDBC driver-) specific. Best regards, P.S. My configur

RE: xsl vs cocoon

2002-07-14 Thread Vadim Gritsenko
Othman, Try the following: get-xsl-from-param-x.xsp will be close to: request.getParameter(x) Vadim -Original Message- From: Othman Haddad [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 3:52 AM To: [EMAIL PROTECTED] Subject: RE: x

RE: XML output transformed into XSP.

2002-07-14 Thread Graeme Colman
I never got this working :( I resorted to using java to add the xml that I needed. Regards Graeme. --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > > From: Graeme Colman > [mailto:[EMAIL PROTECTED]] > > > > I know that this type of question has been > answered a > > lot on this list but I st

Request Parameters from multipart request.

2002-07-14 Thread Graeme Colman
I have a multipart form with file fields and normal text fields. The request object on the server contains no form parameters, well, the request input stream holds the parameters, but the request.getParameter() returns null for my fields. Should I be able to use the request.getParameter() for a

Re: Request Parameters from multipart request.

2002-07-14 Thread Graeme Colman
I have read an email saying that there is a bug with the MultipartRequest in Cocoon release 2.0.2 but hve found nothing else about it. Does anyone know about this? --- Graeme Colman <[EMAIL PROTECTED]> wrote: > I have a multipart form with file fields and normal > text fields. > > The request

Q: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver
Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and "post an offer" on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html I want to b

[Fwd: Q: passing a value into an XML form from somewhere else]

2002-07-14 Thread Andrew C. Oliver
--- Begin Message --- Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and "post an offer" on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Ant

Re: Request Parameters from multipart request.

2002-07-14 Thread j.tervoorde
I think http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7510 is the cause of the problem. Anyway, in 2.0.3 (to be released in a couple of days as i understand) you should be able to use getParameter(). Jeroen - Original Message - From: "Graeme Colman" <[EMAIL PROTECTED]> To: <[EMAIL PR

Re: Request Parameters from multipart request.

2002-07-14 Thread Graeme Colman
Thanks for that, I've been tearing my hair out trying to figure why this wasn't working. Graeme. --- "j.tervoorde" <[EMAIL PROTECTED]> wrote: > I think > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7510 > is the cause > of > the problem. Anyway, in 2.0.3 (to be released in a > couple of d

Re: requesting a form text block as xml

2002-07-14 Thread Bert Van Kets
I did this using JTidy. In my case I validated a string containing html and converted to xhtml. JTidy also has an option to parse XML and another one to ouput to a DOM document stream. Some samples are available on the JTidy site at http://sourceforge.net/projects/jtidy/ Bert At 19:27 13/07

Re: requesting a form text block as xml

2002-07-14 Thread Colm O'Riordan
Thanks Bert I am looking into it. Did you request the conversion/validation on the fly via XSP ? Bert Van Kets wrote: > I did this using JTidy. In my case I validated a string containing html > and converted to xhtml. > JTidy also has an option to parse XML and another one to ouput to a DOM > d

RE: Looking for help in the upcomming release

2002-07-14 Thread Giacomo Pati
On Fri, 12 Jul 2002, Carsten Ziegeler wrote: > Just an update to the procedure: > > If you use the latest CVS step 3 - setting the targetted jvm - > is done now automatically by the build system. It detects the > compiler version you use and chooses by itself the correct target. > > So, everythin

Re: Looking for help in the upcomming release

2002-07-14 Thread Andrew C. Oliver
Giacomo Pati wrote: >On Fri, 12 Jul 2002, Carsten Ziegeler wrote: > > > >>Just an update to the procedure: >> >>If you use the latest CVS step 3 - setting the targetted jvm - >>is done now automatically by the build system. It detects the >>compiler version you use and chooses by itself the cor

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov
The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes. Does this help? Ivelin - Original Message - From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: <[EMAIL

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver
Ivelin Ivanov wrote: >The name of the parameter has to represent the XPath to the bean property. >See the html source of an xmlform page to see how element names are >translated into widgets @name attributes. > >Does this help? > > I don't think so. I need to pass the data into the pipeline fr

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov
Myabe I misunderstand the problem. Can you send your sitemap and some more details. - Original Message - From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 14, 2002 5:39 PM Subject: Re: passing a value into an XML form from somewhere else > Ivel

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver
Sure. here is the offer action (which loads the form) here is the url which calls it http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3 Where the screen calling the

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov
Seems like you extended the framework to support xmlform-model ;) This has been discussed before, maybe we should check it in. Of course this is a little delicate, because the model can be a DOM node. As to your question, why don't you use xf:hidden? See the most recent XMLForm demo. Ivelin --

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver
Ivelin Ivanov wrote: >Seems like you extended the framework to support xmlform-model ;) >This has been discussed before, maybe we should check it in. > I didn't do it... It must already be there...? >Of course this is a little delicate, because the model can be a DOM node. > >As to your question

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov
I assume your cinclude transformer substitures the actual value. This is what you could do: Now after cinclude substitues the value, the XMLFormTransformer will not (should not) use the value of the bean property, but the explicitly specified value in the markup instead. How is that?

Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!

2002-07-14 Thread Liam Morley
I'm in MA, and slightly considering the trip, although at the moment I'm almost comparing it to all of the mozilla 1.0 parties that sprung up around the country: I'm just interested in meeting other people who use Cocoon (I am only mildly interested in poi at the moment, as I have no current u

XML Form, extended validation and error messages

2002-07-14 Thread michael_hampel
Hello, i again have a question concerning validation in connection with XMl forms. Is there a standard way how to handle validation, that cannot be done with the Schematron approach? I mean something like validating if a password is already existing in a database or running a Luhn Test f

Re: Monday Night: Free POI, lots of Pizza, And all the infoyou can takein one night about POI and the C

2002-07-14 Thread Derek Hohls
Any chance that *all* the links off of: http://www.trilug.org/~acoliver/poiPres18.html could be updated to point to a 'non localhost' machine (eg cvs.apache.org) Thanks! >>> [EMAIL PROTECTED] 13/07/2002 04:37:25 >>> http://www.trijug.org/ - Monday night, if you're not doing too much and you l

Re: [Q] util:include-uri relative path

2002-07-14 Thread Christian Haul
On 14.Jul.2002 -- 11:10 AM, Vadim Gritsenko wrote: > > From: Christian Haul [mailto:[EMAIL PROTECTED]] > > > > On 12.Jul.2002 -- 10:58 PM, Christian Haul wrote: > > > On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote: > > > > > From: Christian Haul > [mailto:[EMAIL PROTECTED]] > > > > > > Now, if

RE: Looking for help in the upcomming release

2002-07-14 Thread Carsten Ziegeler
Many thanks to all of you who helped the Cocoon team assuring a better quality for the upcomming release! Thanks! As far as I can tell by the responses and by the commit mails, we have fixed all main problems. Or did I oversee something? I'm currently building the distribution and will do a test