fix EncodeURLTransformer to process page that generates the session

2002-09-18 Thread neil
Hi, I've just started using org.apache.cocoon.transformation.EncodeURLTransformer and found it works fine except for the first page generated after my login page i.e. the page that creates the session. I see that it uses request.isRequestedSessionIdFromURL() to determine whether any enc

RE: Install error win2000 IBM jdk 1.3.0 Websphere 4.0.2 Cocoon 2.0.2

2002-09-18 Thread Michael Homeijer
Hi, I am experiencing the same problem under websphere 4.0.4 with the latest version of Cocoon. The code that mentions the webshere bug is still in CVS. When I remove the workaround code for the websphere bug, it's working, so it seems the bug is solved in Websphere 4.0.4. Now removing the code

Paginator Example - XSLT

2002-09-18 Thread Richard
Hi Guys   The script below is taken from the paginator sample file pagedlist2.html.                « prev   how does the statement work??   Thanks  

Re: Authentication framework (sunshine in 2.0.3) and modular database actions

2002-09-18 Thread Ralph Rauscher
hi, ...sorry, no answer to your question! i'm having a similar problem, but i'm still stuck at a lower level. i want to use the result ID of an authentication by the sunrise framework for a database query, using xsp. you said you've found a way to access the ID using org.apache.cocoon.webapps.ses

Re: esql question

2002-09-18 Thread Antonio Gallardo Rivera
I reject to read HTML mail Antonio Gallardo El Miércoles, 18 de Septiembre de 2002 15:30, Sushil Bhattarai escribió: > > solves my problem. I was unaware that > gets the column name and element and column value > as element's value. That's exactly what I wa

Re: esql question

2002-09-18 Thread Sushil Bhattarai
solves my problem. I was unaware that gets the column name and element and column value as element's value. That's exactly what I was trying to achive with my logic Sushil >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: esql question >Date: Wed, 18 Sep 2002 16:23:46 -0400 > J

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: XSL troubles

2002-09-18 Thread Joerg Heinicke
Ilya A. Kriveshko wrote: > Ganael LAPLANCHE wrote: > >> Hi Vadim, >> >> I've got a very stupid question : what is a "processing instruction" ??? >> >> > The tags at the beginning of the XML file that start with ' with '?>'. Like: > > May I be pedantic? The above is not a processing instructi

RE: XHTML Serilization instead of HTML S.

2002-09-18 Thread Greg Jones
How are you creating your HTML. This looks like the issue might be in your .XSL file that is creating the tag. The two tags XHTML and HTML should work the same. -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 2:30 PM To: [EMAIL PR

esql question

2002-09-18 Thread Sushil Bhattarai
I believe other people also have faced this problem, but I couldn't find proper solution from the archive. Here's my problem: In the xsp code below, I want to dynamically pass column number (is 2 in the code below) and print each column name. I have count and tried passing it to attribute column.

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > Alex Romayev wrote: > > >--- Vadim Gritsenko <[EMAIL PROTECTED]> > >wrote: > > > > > >>Alex Romayev wrote: > >> > >> > >> > >>>--- Vadim Gritsenko <[EMAIL PROTECTED]> > >>>wrote: > >>> > ... > > >>>Good point, I may have a problem in anothe

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Matthew Hailstone
oops. Yeah, I put the xsp:content elements in the 'if' condition to see if it would help. But, after comparing the working java file from 2.0.3 with the one created with 2.0.1, I found the following commented below: > Matthew Hailstone wrote: > > >Vadim, > > > >Here is a portion of my xsp file

Re: Cocoon and Web Applications

2002-09-18 Thread Yatin Shah
This is nice summary for new users like myself. Thanks. Should the generator be custom coded or are there any cocoon pre-built generators which would create XML from request attributes & transport objects? I'm thinking of the case where transport object is an object representation of a hierchica

Re: Encoding problem

2002-09-18 Thread Vadim Gritsenko
Alex Romayev wrote: >--- Vadim Gritsenko <[EMAIL PROTECTED]> >wrote: > > >>Alex Romayev wrote: >> >> >> >>>--- Vadim Gritsenko <[EMAIL PROTECTED]> >>>wrote: >>> ... >>>Good point, I may have a problem in another stylesheet >>> >>>(part of the pipeline that responds to the url in >>>questio

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Vadim Gritsenko
Matthew Hailstone wrote: >Vadim, > >Here is a portion of my xsp file: > > if( name="test-name-wcart"/> == null > || > ((String)name="test-name-wcart"/>).length() == 0 > ){ > > Oh no, not like this, but: if( == null || ((String)).

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > Alex Romayev wrote: > > >--- Vadim Gritsenko <[EMAIL PROTECTED]> > >wrote: > > > > > >>Alex Romayev wrote: > >> > >> > >> > >>>--- Vadim Gritsenko <[EMAIL PROTECTED]> > >>>wrote: > >>> > >>> > >>> > >>> > Alex Romayev wrote: > >>>

Re: how to go from url in session attribute to url withsession encoded?

2002-09-18 Thread Timothy Larson
Vadim, Thanks. I got it to work this way in an xsp page: response.encodeURL (String.valueOf()) Tim >>> [EMAIL PROTECTED] 09/18/02 02:32PM >>> Timothy Larson wrote: >Anybody know how to take a url in a session attribute and encode the session onto it? >Non-working example

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Per Kreipke
> >Another thought: > > > >var action_xxx = eval("document.formName.cocoon-action-xxx"); > > > > Won't something like > > document.formName['cocoon-action-xxx'] work? :-? That's right. document.anycollectionname["objectname"] should work. document.all, document.forms, ---

Re: how to go from url in session attribute to url with session encoded?

2002-09-18 Thread Vadim Gritsenko
Timothy Larson wrote: >Anybody know how to take a url in a session attribute and encode the session onto it? >Non-working example to show what I am trying to do: > > You need Vadim >Tim > > - Please check that your que

Re: XHTML Serilization instead of HTML S.

2002-09-18 Thread Vadim Gritsenko
Alexander Schatten wrote: > Vadim Gritsenko wrote: > >> Alexander Schatten wrote: >> >>> I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have >>> to detect, that the output is *not* HTML as expected, but XHTML, >>> which makes several problems, e.g. with Mozilla. >> >> >> >> I us

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Matthew Hailstone
Vadim, Here is a portion of my xsp file: if( == null || ((String)).length() == 0 ){ Here is the java file that is created to be compiled: if (xspAttr.addAttribute("", "name", "name", "CDATA", "test-name-wcart"); this.contentHandler.startElem

Re: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Vadim Gritsenko
Robert Koberg wrote: >Another thought: > >var action_xxx = eval("document.formName.cocoon-action-xxx"); > Won't something like document.formName['cocoon-action-xxx'] work? :-? IIRC, javascript had syntax like this... Vadim >-Rob > > > >>-Original Message- >>From: Robert Koberg [

Re: how is the base path determined for ?

2002-09-18 Thread Vadim Gritsenko
Timothy Larson wrote: >Is the context supposed to always match the directory where the current >sitemap is stored? > Yes, in a sence that all relative paths in the sitemap should be relative to sitemap's directory. At any time, including exception handlers. Vadim >Tim > > > [EMAIL PRO

Why HTML...?

2002-09-18 Thread Kjetil Kjernsmo
On Wednesday 18 September 2002 17:58, Alexander Schatten wrote: > well, thank you for your configuration: I have edited the sitemap so > to precisely your settings, but the result still has XML header and > IS xhtl. I don't have an answer to the question, but I have noted that you can serve XHT

Re: Encoding problem

2002-09-18 Thread Vadim Gritsenko
Alex Romayev wrote: >--- Vadim Gritsenko <[EMAIL PROTECTED]> >wrote: > > >>Alex Romayev wrote: >> >> >> >>>--- Vadim Gritsenko <[EMAIL PROTECTED]> >>>wrote: >>> >>> >>> >>> Alex Romayev wrote: >Let me be more specific and also simplify the

Re: Little problem in the documentation formatting of the Cocoonwebsite

2002-09-18 Thread Vadim Gritsenko
Antonio Gallardo Rivera wrote: >I forgot that I am using the lastest CVS of 2.1. Builded after your last post. >I also stoped Cocoon delete the work directory and restarted. >I am using a 1024x768 resolution. > Same here, only Mozilla instead of Konqueror; page looks Ok. You can fix the page a

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Vadim Gritsenko
Matthew Hailstone wrote: >Vadim, > > > >>In the second email it was recommended to use Paranoid servlet which >>makes me to think that enhyndra has broken class loader. Issues with >>broken class loading can be endless and hard to trace. >> >>In your install, however, you are trying to start

Re: how is the base path determined for ?

2002-09-18 Thread Timothy Larson
Is the context supposed to always match the directory where the current sitemap is stored? Tim >>> [EMAIL PROTECTED] 09/18/02 01:36PM >>> Timothy Larson wrote: ... >Can you explicitly control the context from the sitemap? > No (see above). ... -

Re: how is the base path determined for ?

2002-09-18 Thread Vadim Gritsenko
Timothy Larson wrote: >Looking at my last email and my log files, I think my problem is that the context >is not changing when I expect it to. >Could you give me a pointer to documentation on how the context is managed? > There is no documentation; all this is very internal stuff and supposed t

Re: FormValidatorAction on database

2002-09-18 Thread Antonio Gallardo Rivera
Here is my snipet of my sitemap that do this without action-sets. Maybe this is not the best solution, but it works :). Also I know this is only a work around until the error will be fixed. I send the request in the form: cat-crear.html cat = category (a database table or form) crear = the dat

how to go from url in session attribute to url with sessionencoded?

2002-09-18 Thread Timothy Larson
Anybody know how to take a url in a session attribute and encode the session onto it? Non-working example to show what I am trying to do: Tim - Please check that your question has not already been answered in the FAQ before

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Matthew Hailstone
An interesting twist to utilizing javascript is a new product called WebFace from Vultus. It is server independent, and uses XML, SOAP, and javascript to present an incredible client interface. Cocoon actions and xslt in the sitemap transforming logic to WebFace's xml structures could be powerful.

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: Umlauts in cocoon 2.0.2

2002-09-18 Thread Joerg Heinicke
Does Ugo's suggestion work? Your strange string looks like a valid UTF-8 encoded string. Regards, Joerg Kenneth Roper wrote: > Firstly, thanks for everyone's suggestions, this is a very helpful list! > > Unfortunately, I am no further forward. > > Changing the encoding of the sitemap.xmap an

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Robert Koberg
Another thought: var action_xxx = eval("document.formName.cocoon-action-xxx"); -Rob > -Original Message- > From: Robert Koberg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 8:58 AM > To: [EMAIL PROTECTED] > Subject: RE: Invoking Cocoon actions via JavaScript > > > Hi,

RE: Invoking Cocoon actions via JavaScript

2002-09-18 Thread Robert Koberg
Hi, You could loop over the form's element array, use a switch statement and use the name string as a case match to set up your action input element objs in some kind of body onload init function. var action_xxx; var action_yyy; var elems = frmObj.elements; for (var i=0; i -Original Message-

Re: XHTML Serilization instead of HTML S.

2002-09-18 Thread Alexander Schatten
Vadim Gritsenko wrote: > Alexander Schatten wrote: > >> I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have to >> detect, that the output is *not* HTML as expected, but XHTML, which >> makes several problems, e.g. with Mozilla. > > > > I use HTML serializer and it outputs HTM

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Kenneth Roper
Antonio Sorry if I came across a bit harsh, I just meant to emphasise the point. A db conflict was my first instinct, too, so I spent a fair bit of time investigating that and have ruled it out. I guess after spending a day and a half messing around with text-encoding my nerves are shot! Anywa

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Matthew Hailstone
Alright. I just tried to run this under Tomcat: Win2K Tomcat 4.1.3 Cocoon 2.0.1 jdk1.3.1_03 I get the same can't compile error. So, there is something I'm doing wrong/different in the xsp file from 2.0.3 to 2.0.1. The same xsp file works in 2.0.3, though. access.log.01 org.apache.cocoon.co

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-18 Thread Alan Hodgkinson
Dear Werner, > When trying to use CastorTransformer in the following scenario > > > http://castor.exolab.org/cocoontransfomer";> > mapping="props/castor-bind.xml" /> > > > I get the following exception: > java.lang.NoSuchMethodError Check the spelling of the XML namespace. > coco

Invoking Cocoon actions via JavaScript

2002-09-18 Thread Hunsberger, Peter
One of our developers has run into an issue that I can't see an easy solution to. However, I also can't believe that no one else has run into the problem. We have a form where we are using IE 5.5 (and above) DHTML to enable drop and drag editing to reorder fields. As the result of a drop, we de

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > Alex Romayev wrote: > > >--- Vadim Gritsenko <[EMAIL PROTECTED]> > >wrote: > > > > > >>Alex Romayev wrote: > >> > >> > >> > >>>Let me be more specific and also simplify the > >>> > >>> > >>example: > >> > >> > >>... > >> > >> >

RE: XML include

2002-09-18 Thread Ryan Agler
Something like that would work -- or, you could also transform it further if you needed to embed one of the xml files inside the other, rather than them both being children of -Original Message- From: Andrés Tobelem [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Antonio Gallardo Rivera
Take it easy, baby! We are trying to help not to fight ;) Do you read my post about how is the file really stored in the hard disk? Are you sure that your XML, XSP, XSL files are stored in your required format? I told you that because when I started with Cocoon. I had the same problem. What pl

Re: how is the base path determined for ?

2002-09-18 Thread Timothy Larson
Looking at my last email and my log files, I think my problem is that the context is not changing when I expect it to. Could you give me a pointer to documentation on how the context is managed? Can you explicitly control the context from the sitemap? Also, how would you get FOP to run in the same

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Kenneth Roper
I GUARANTEE it is not the DB. If it was the DB it wouldn't display correctly the first time. Also, I have determined that the string is mangled when it is retrieved from the HTTPRequest, long before it is inserted into the DB. Manually inserting the string into the DB over the same DB drivers w

Re: Little problem in the documentation formatting of the Cocoon website

2002-09-18 Thread Antonio Gallardo Rivera
I forgot that I am using the lastest CVS of 2.1. Builded after your last post. I also stoped Cocoon delete the work directory and restarted. I am using a 1024x768 resolution. I browse the doc after the build and there is the same problem. :( Antonio Gallardo. El Miércoles, 18 de Septiembre de

RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Matthew Hailstone
Vadim, > In the second email it was recommended to use Paranoid servlet which > makes me to think that enhyndra has broken class loader. Issues with > broken class loading can be endless and hard to trace. > > In your install, however, you are trying to start with regular > CocoonServlet (as

Re: XML include

2002-09-18 Thread Andrés Tobelem
So you think that is a good idea to do something like this? Thank you very much - Original Message - From: "Ryan Agler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 11:46 AM Subject: RE:

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Ugo Cei
Kenneth Roper wrote: > Firstly, thanks for everyone's suggestions, this is a very helpful list! > > Unfortunately, I am no further forward. > > Changing the encoding of the sitemap.xmap and the web.xml file has no > effect. > > Changing the encoding of the xhtml serializer looked like I was on

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Antonio Gallardo Rivera
Please tell us what database are you using? And what encoding the database is? This looks like a conflict between the database encoding and the application. Antonio Gallardo. El Miércoles, 18 de Septiembre de 2002 08:41, Kenneth Roper escribió: > Firstly, thanks for everyone's suggestions, this

Cocoon 2.0.3 and CastorTransformer

2002-09-18 Thread Werner Guttmann
Hi, I am trying to use Cocoon 2.0.3 (Solaris 8, Java 1.3.1_03) with Castor XML to have an object model inserted into a Cocoon pipeline for further processing/transformation. When trying to use CastorTransformer in the following scenario http://castor.exolab.org/cocoontransfomer";> I get

RE: XML include

2002-09-18 Thread Ryan Agler
There are lots of different ways to achieve that effect with and im sure some tag libraries I have yet to explore :) Or you can do this in an XML file: ]> &theInc; -Original Message- From: Andrés Tobelem [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 8:39 AM To: [EMA

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Kenneth Roper
Firstly, thanks for everyone's suggestions, this is a very helpful list! Unfortunately, I am no further forward. Changing the encoding of the sitemap.xmap and the web.xml file has no effect. Changing the encoding of the xhtml serializer looked like I was on the right track, but unfortunately do

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
On Wednesday 18 September 2002 17:09, Mathias Ochsendorf wrote: > > > > > > > > > > >/images/test.svg?label_text={0}&label_color={1} >ext> hello > > red > > > > > > > > > > unfortunately this approach doesn't wo

XML include

2002-09-18 Thread Andrés Tobelem
Hi   How can i include one xml in another.     Tobe

Re: Little problem in the documentation formatting of the Cocoonwebsite

2002-09-18 Thread Vadim Gritsenko
Antonio Gallardo Rivera wrote: >I saw that some pages of the documentation in the Cocon web site. are not >handled well in the browser. It seems like they dont know where the browser >window end in the right side and continue. > >For example: > >http://xml.apache.org/cocoon/developing/webapps/a

Re: SQL Connection throws exception

2002-09-18 Thread Antonio Gallardo Rivera
You are welcome! I am using Java 1.4.1 with CVS and it works fine too. I recomend you to upgrade. The 1.4.1 correct some problems of the original 1.4. Antonio Gallardo El Miércoles, 18 de Septiembre de 2002 08:17, [EMAIL PROTECTED] escribió: > I build cocoon on my own from cvs, so i think it

Little problem in the documentation formatting of the Cocoon website

2002-09-18 Thread Antonio Gallardo Rivera
I saw that some pages of the documentation in the Cocon web site. are not handled well in the browser. It seems like they dont know where the browser window end in the right side and continue. For example: http://xml.apache.org/cocoon/developing/webapps/authentication.html If you wish I can s

Re: i18n question

2002-09-18 Thread Mathias Ochsendorf
> > > > > >/images/test.svg?label_text={0}&label_color={1} > hello > red > > > > unfortunately this approach doesn't work. it causes a nullpointerexception: Original exception

Re: SQL Connection throws exception

2002-09-18 Thread Joern_Hoos
I build cocoon on my own from cvs, so i think it should be aware it is running on JDK 1.4. But anyway, ESQL is working so i´ll stay with that. - Please check that your question has not already been answered in the FAQ before

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Antonio Gallardo Rivera
It happens ;) I just needed to read it 2 times (or more! hehe) to understand the construction. Anyway, the concept was delivered. And we understanded it. Thanks for the help. Antonio Gallardo. El Miércoles, 18 de Septiembre de 2002 08:00, Joerg Heinicke escribió: > > You must not have encoding

problem deploying CVS-vesion 2_0_3_branch

2002-09-18 Thread leo leonid
hi, with my configuration Tomcat 4.1.10, Java 1.3.1, cocoon 2_0_3_branch on RH-linux 7.1 I get the following error when deploying. (There are no problems with the cocoon 2.0.3 (release) or with the current HEAD branch.) any hints? thanks /Leo org.apache.avalon.framework.component.ComponentEx

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Joerg Heinicke
> You must not have encoding="ISO-8859-1", ... Sorry, it's a common mistake of Germans in English language I think: "must not have" should be "don't need". Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de -

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Ugo Cei
Jens Lorenz wrote: > Setting the encoding of the generated HTML pages does not help. The URL > send back by the Browser is always UTF-8 encoded. > > Request.setCharacterEncoding(), as suggested by Vadim, usually helps for > GET-Parameters. > > Generally it's a good idea to avoid "unsafe" (see RF

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Antonio Gallardo Rivera
I guess with you. We dont only need to write: or and resolve our problems. One very important step is ASSURE that the file is saved in the type we asked. "UTF-8" or "ISO-8859-1". To do this we need a editor that can write the file in the required code. My preference is jEdit (http://ww

Re: XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Many thanks Vadim :) - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 3:38 PM Subject: Re: XSL troubles Vadim Gritsenko wrote: > Ganael LAPLANCHE wrote: > >> Hi Vadim, >> >> I've got a very stupid question : wh

Re: XSL troubles

2002-09-18 Thread Vadim Gritsenko
Vadim Gritsenko wrote: > Ganael LAPLANCHE wrote: > >> Hi Vadim, >> >> I've got a very stupid question : what is a "processing instruction" ??? >> > > See: http://www.w3.org/TR/xml-c14n#ProcessingModel Oops. This link better defines this stuff: http://www.w3.org/TR/REC-xml#sec-pi Vadim > Exam

How to use session variables in XML (eg. JSP session variables)

2002-09-18 Thread Gabor Bartha
HI, I have to write our JSP examples to XML. I'm wonder is there any solution in xsl/xslt or sitemap to use session variables as in jsp pages. Gabor - Please check that your question has not already been answered in the FAQ

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Vadim Gritsenko
Matthew Hailstone wrote: >Vadim, > Thanks for your reply and the reference to the patch. I've been >pulling my hair out trying to make Cocoon work under Enhydra3.1. :) I >performed a CVS update on a previously checkedout cocoon_2_0_3_branch >tag module. It appears to be the 2.0.4-dev version. I

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Joerg Heinicke
Antonio Gallardo Rivera wrote: > First, Are you using some database? > > Some old tips (from my friend Barbara): > > 1-Ensure that every XML is starting with: > > > I think the hint 1 is given to often. You must not have encoding="ISO-8859-1", but the encoding of the file must be the same w

Re: applet, module, Class.forName() - ClassNotFoundException

2002-09-18 Thread Gabor Bartha
Hi Ilya the **.class is working fine. The trouble was with my jar file, it was obfuscated in a wrong way. Thanks again, Gabor Ilya A. Kriveshko wrote: > You should match "**.class". Not using ** definitely will not let you > access .class files in sub-directories, and may simply be covering

RE: how to write data to the XML file which the data is read from ?

2002-09-18 Thread Ryan Agler
If you're using Xalan, there is an XSLT extension that will let you do this. You could embed the code to save changes in the same XSL file you use for presentation, depending on a request parameter. xalanStylesheet.xsl would look something like this: http://www.w3.org/1999/XSL

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
On Tuesday 17 September 2002 19:25, Mathias Ochsendorf wrote: > hi together, > > I'm looking for a way to substitute/translate > the following statement with i18n-transformations: > > > > > > to: > > > Try this way: /images/test.

Re: XSL troubles

2002-09-18 Thread Vadim Gritsenko
Ganael LAPLANCHE wrote: >Hi Vadim, > >I've got a very stupid question : what is a "processing instruction" ??? > See: http://www.w3.org/TR/xml-c14n#ProcessingModel Example: Vadim >Thank you for helping me... >Ganaël. > > >- Original Message - >From: "Vadim Gritsenko" <[EMAIL PROTE

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Jens Lorenz
- Original Message - From: "Ugo Cei" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 2:43 PM Subject: Re: Umlauts in cocoon 2.0.2 > > Change the encoding of your HTML pages by setting the encoding property > on the serializer: > > mime-type="text/htm

Re: XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Thank you very much :) But I don't understand why it doesn't work... - Original Message - From: "Ilya A. Kriveshko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 3:01 PM Subject: Re: XSL troubles > Ganael LAPLANCHE wrote: > > >Hi Vadim, > > > >I've go

Re: Build from cvs failed

2002-09-18 Thread Gerrit Niestijl
Thanks, with 1.3.1 cocoon compiles fine indeed. "Stephan Michels" <[EMAIL PROTECTED]> writes: > > 1.3.0 has a bug, use 1.3.1 instead. > -- Met vriendelijke groet, Gerrit Niestijl Revalidatiecentrum Rijndam Adriaanstichting Westersingel 300, 3015 LJ Rotterdam Postbus 23181, 3001 KD Rotterdam

Re: XSL troubles

2002-09-18 Thread Ilya A. Kriveshko
Ganael LAPLANCHE wrote: >Hi Vadim, > >I've got a very stupid question : what is a "processing instruction" ??? > > The tags at the beginning of the XML file that start with ''. Like: or - Please check that your quest

Re: XSL troubles

2002-09-18 Thread Bertrand Delacretaz
On Wednesday 18 September 2002 14:59, Ganael LAPLANCHE wrote: > I've got a very stupid question : what is a "processing instruction" ??? Well there are no stupid questions I think, but existing resources will tell you a lot. Try searching "processing instruction" tutorial on www.google.com, f

Re: applet, module, Class.forName() - ClassNotFoundException

2002-09-18 Thread Ilya A. Kriveshko
You should match "**.class". Not using ** definitely will not let you access .class files in sub-directories, and may simply be covering another problem with accessing the jar. After you re-enable "**.class" matching, attempt to access your jar by typing in its URL in the browser. Then, try t

Re: Encoding problem

2002-09-18 Thread Vadim Gritsenko
Alex Romayev wrote: >--- Vadim Gritsenko <[EMAIL PROTECTED]> >wrote: > > >>Alex Romayev wrote: >> >> >> >>>Let me be more specific and also simplify the >>> >>> >>example: >> >> >>... >> >> >> >>>Does not work: >>> >>> >>> >>> >>> >>Are these funny characters above in UT

Re: XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Hi Vadim, I've got a very stupid question : what is a "processing instruction" ??? Thank you for helping me... Ganaël. - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 2:50 PM Subject: Re: XSL troubles Barbar

Re: XSL troubles

2002-09-18 Thread Vadim Gritsenko
Barbara Post wrote: >Please provide your xsl code... > Hm. Why do you think the problem is in XSL and not in UMLV-2002-01-XML.xml? Seems like he has invalid processing instruction name in there. Vadim >- Original Message - >From: "Ganael LAPLANCHE" <[EMAIL PROTECTED]> >To: <[

Re: applet, module, Class.forName() - ClassNotFoundException

2002-09-18 Thread Vadim Gritsenko
Gabor Bartha wrote: > Hi, > summarized: > > I have an applet in a jar with outer classes (java modules). There are > several classes in the jar and beside the jar. > > When the applet is running (from the jar) it finds the classes inside > the jar, but is unable to find the classes beside the j

Re: how to write data to the XML file which the data is read from?

2002-09-18 Thread Vadim Gritsenko
funing wrote: >Hi! all: > I am a newbie on cocoon and xsp. I want to know if it is possible >to write data to the XML file which the data is read from. That means, >I can get some data from a xml file, and transform it to a html and >present it to a user. The user may change the data. How can

Re: using html tag in i18n

2002-09-18 Thread Kavitha Ramesh
Hi, Iam sorry,,, In my previous mail I had a small mistake,,, I have a problem using ®(which is for ® ) in messages_en.xml and messages_de.xml. I really dont know how to use these tags in messages.xml. If someone knows please help me,,, Kavitha --- Kavitha Ramesh <[EMAIL PROTECTED]> wrote

Re: SQL Connection throws exception

2002-09-18 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: >Hi, > >i need your help: when trying to execute an SQL Statement cocoon throws an >exception. > > I bet on JDK mismatch, Please use Cocoon with the JDK it is intended to use with. I.e., cocoon-2.0.3-vm14-bin.tar.gz

Re: Encoding problem

2002-09-18 Thread Ivan Luzyanin
On Wednesday 18 September 2002 13:53, Alex Romayev wrote: > Let me be more specific and also simplify the example: > > Works: > > > > ... > > select="$city"/> > > After transformation I get: > Delhi > > Does not work: > > > > ... > > select="$city"/> > > After transformation I get: > href="ci

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Ugo Cei
Kenneth Roper wrote: > Hi > > I'm trying to set up my cocoon application to handle strings with > Umlauts in (e.g. "ÄäÖöÜüß"). I'm using Cocoon 2.0.2. > > Any string with an umlaut was being mangled between posting from the > browser, and appearing in my variable in an action when I used the >

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > Alex Romayev wrote: > > >Let me be more specific and also simplify the > example: > > > ... > > >Does not work: > > > > > > > > Are these funny characters above in UTF-8? Does your > XSL has > encoding="UTF-8" on the top? Yes. Also, note that

Sendmail again :(

2002-09-18 Thread Ivan Luzyanin
Hi! I'm having a problem with sendmail. I've successfuly set up sendmail logicsheet, put mail.jar from JavaMail 1.3 pakage to WEB-INF/lib. Transformed XSP page (Java source in work dir, attached) seemes to be ok and no errors reported in log-file... But still i can't recieve an e-mail, and mo

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Vadim Gritsenko
Antonio Gallardo Rivera wrote: >First, Are you using some database? > >Some old tips (from my friend Barbara): > >1-Ensure that every XML is starting with: > > > > >2-In the site map check for your serializer: > >name="html" pool-grow="4" pool-max="32" pool-min="4" >src="org.apache.cocoon.serial

Re: Encoding problem

2002-09-18 Thread Vadim Gritsenko
Alex Romayev wrote: >Let me be more specific and also simplify the example: > ... >Does not work: > > > Are these funny characters above in UTF-8? Does your XSL has encoding="UTF-8" on the top? >... > >select="$city"/> > >After transformation I get: >href="city-detail=%D0%94%D0%B5%D0%BB%D0%B

using html tag in i18n

2002-09-18 Thread Kavitha Ramesh
Hi, I have a problem using ®(which is for ® ) in messages_en.xml and messages_de.xml. I really dont know how to use these tags in messages.xml. If someone knows please help me,,, Kavitha __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quo

Can anyone give some information on cocoonfilter generator

2002-09-18 Thread Sreenivasan N.
Hi all I just came to know something on cocoonfilter generator. Can anyhow give some information on to that and how it exactly works. With regards Sreenivasan "Attitudes are much more important than aptitudes." "Nothing is impossible for a willing heart" Sreenivasan N. Sony SARD Ext 581

global-parameters

2002-09-18 Thread Barbara Post
Hi, just noticed that the following does not work and it bugs me since I don't know how the dev is up-to-date... {/name_of_my_global_parameter} is empty. Babs --- >From Vadim in last May : One thing left - to add {/paramname} syntax... Hint-hint ;) Vadim --

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Barbara Post <[EMAIL PROTECTED]> wrote: > maybe : > select="$city"/> Sorry, just a typo in my e-mail, I did actually use {$city}. > > try to use Russian-compatible output encoding rather > than utf-8 ? The site is multi-lingual, so I have to use utf-8 > > - Original Message - >

Cocoon 2.0.3 / Deploying multiple Web-Apps

2002-09-18 Thread Klaus Richarz
Hello, we are new to JBoss and Cocoon and we try to deploy a Web-App using Cocoon. We are using integrated Tomcat 4.0.3 in JBoss 3.0.0 with Cocoon 2.0.3. Things work fine, but we want to seperate all the cocoon-libs from our application ear. (So we can deploy more than one web-app using cocoon wi

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Antonio Gallardo Rivera
First, Are you using some database? Some old tips (from my friend Barbara): 1-Ensure that every XML is starting with: 2-In the site map check for your serializer: -//W3C//DTD HTML 4.01//ES http://www.w3.org/TR/html4/strict.dtd 1024 ISO-8859-1 (Please, see th

  1   2   >