Pgination - Total # of pages

2002-09-18 Thread Richard
Hi Guys, Have anybody encountered this... The total attribute under the page:page element is giving me a wrong value. Its giving me 4 instead of 3. see xml... ?xml version="1.0" encoding="UTF-8" ? - document xmlns:xsp="http://apache.org/xsp"

AW: Integrating XML formatted information directly with navigational structures

2002-09-18 Thread Majcen, Kurt
Just to get it right: my pipeline will then consist of - the generator, which I have to implement for fetching the XML directly from the database - the XSLT transfomer which creates the XHTML with the short list consisting of the hyperlinks to the detailed pages and the navigational elements

Re: Pgination - Total # of pages

2002-09-18 Thread Alex Romayev
I've seen this happen when the last page has the maximum number of allowed records per page, but I haven't had a chance to confirm to report this as a bug. --- Richard [EMAIL PROTECTED] wrote: Hi Guys, Have anybody encountered this... The total attribute under the page:page element is

SQL Connection throws exception

2002-09-18 Thread Joern_Hoos
Hi, i need your help: when trying to execute an SQL Statement cocoon throws an exception. The JDBC driver is working (i can see coocoon connect to the database and i can access the database via JDBC from within other applications. Any hints and thoughts about what i could try to get the

Re: AW: Integrating XML formatted information directly with navigational structures

2002-09-18 Thread Ugo Cei
Majcen, Kurt wrote: Some questions remain (at least for me): - Should the generator produce 1 XML (including the various 'XML rows' from the database and maybe a tag for the PREV and the NEXT) or should it produce a series of XMLs (1 for each record from the DB)? A generator has to produce a

Pagination: number of records

2002-09-18 Thread Alex Romayev
Hello, I'm using Paginator transformer and would like to be able to display something like: Viewing records 21-30 out of 53. Is it possible to get this information from the transformer - would that be an enhancement or am I just missing a way of doing this? Thanks, -alex

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

2002-09-18 Thread funing
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 I save the changes

[SUMMARY] Re: issues with javascript

2002-09-18 Thread Barbara Post
A colleague helped me to solve it out (form validator and set focus on first erroneous input text). So this means that the javascript is surrounded with xsl:text/ and that the hack here is to use a javascript variable that exists once a field is incorrect. My text inputs have complicated names

XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Hi ! I'm new to cocoon. I'm trying to use an xsl page to allow users to view the xml one... I modified the sitemap to use the dynamic-page2html.xsl. It works. But when I try to use another xsl page, I get this error : *** type fatal

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Barbara Post
Is it possible to set Action encoding somewhere ? You can set serializers encoding by adding encodingiso-8859-1/encodng. But for Actions I don't know. OK, change the sitemap's encoding from utf-8 to iso-8859-1 too and try again, this may help. This encoding fits your characters. When you post,

Re: Encoding problem

2002-09-18 Thread Alex Romayev
Let me be more specific and also simplify the example: Works: xsl:param name=city select='Delhi'/ ... a href=city-detail=$cityxsl:value-of select=$city//a After transformation I get: a href=city-detail=DelhiDelhi/a Does not work: xsl:param name=city select='Äåëè'/ ... a

Re: Encoding problem

2002-09-18 Thread Barbara Post
maybe : a href=city-detail={$city}xsl:value-of select=$city//a try to use Russian-compatible output encoding rather than utf-8 ? - Original Message - From: Alex Romayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 12:53 PM Subject: Re: Encoding problem

Re: Umlauts in cocoon 2.0.2

2002-09-18 Thread Sanne de Roever
You should also take care of the url encoding properly. There was a bug that in xsp get parameters where not automatically url decoded: put on your java/xsp hat! - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 12:17 PM

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: ?xml version=1.0 encoding=ISO-8859-1? 2-In the site map check for your serializer: map:serializer logger=sitemap.serializer.html mime-type=text/html name=html pool-grow=4

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

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Barbara Post [EMAIL PROTECTED] wrote: maybe : a href=city-detail={$city}xsl:value-of select=$city//a 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

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

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 5816

using html tag in i18n

2002-09-18 Thread Kavitha Ramesh
Hi, I have a problem using sup®/sup(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

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: xsl:param name=city select='Äåëè'/ Are these funny characters above in UTF-8? Does your XSL has encoding=UTF-8 on the top? ... a href=city-detail=$cityxsl:value-of select=$city//a After

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: ?xml version=1.0 encoding=ISO-8859-1? 2-In the site map check for your serializer: map:serializer logger=sitemap.serializer.html

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

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: xsl:param name=city select='Äåëè'/ Are these funny characters above in UTF-8? Does your XSL has encoding=UTF-8 on the top? Yes. Also,

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 command:

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: 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 supreg;/sup(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

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 I

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 jar. I

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: [EMAIL

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 Barbara Post

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: xsl:param name=city select='Äåëè'/ Are these funny characters above in UTF-8? Does your XSL has

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 to

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, for

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 '?' and end with '?'. Like: ?xml version=1.0? or ?xml-stylesheet href=MyScript.dsl type=text/dsssl?

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 Tel

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 got a very

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: map:serializer

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: xsp:logicsheet location=logicsheets/hello.xsl/ Vadim Thank you for helping me... Ganaël. - Original Message -

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: a href=/test img src=/images/test.svg?label_text={0}#38;label_color={1}/ /a to: a href=/test img

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. map:generate src=docs/yourXMLfile.xml/ map:transform src=stylesheets/xalanStylesheet.xsl

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

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: 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 : what is a

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 RFC)

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

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

Re: i18n question

2002-09-18 Thread Mathias Ochsendorf
a href=/test img xsl:attribute name=src i18n:translate i18n:text/images/test.svg?label_text={0}amp;label_color={1}/i18n:text i18n:parami18n:texthello/i18n:text/i18n:param

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

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:

XML include

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

Re: i18n question

2002-09-18 Thread Ivan Luzyanin
On Wednesday 18 September 2002 17:09, Mathias Ochsendorf wrote: a href=/test img xsl:attribute name=src i18n:translate i18n:text/images/test.svg?label_text={0}amp;label_color={1}/i18n:t ext i18n:parami18n:texthello/i18n:text/i18n:param

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

RE: XML include

2002-09-18 Thread Ryan Agler
There are lots of different ways to achieve that effect with map:aggregate and im sure some tag libraries I have yet to explore :) Or you can do this in an XML file: ?xml version=1.0? !DOCTYPE include [!ENTITY theInc SYSTEM ../docs/blahblah.xml] doc theInc; /doc -Original Message- From:

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 ?xml version=1.0? page

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

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 the

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 far

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

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

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 page xsl:template match=/page xsl:apply-templates select=informacion/ /xsl:template xsl:template

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: ... Does not work: xsl:param name=city select='Äåëè'/

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

Re: Cocoon 2.0.3 and CastorTransformer

2002-09-18 Thread Alan Hodgkinson
Dear Werner, When trying to use CastorTransformer in the following scenario ?xml version=1.0? page xmlns:castor=http://castor.exolab.org/cocoontransfomer; castor:InsertBean name=accountNature scope=request mapping=props/castor-bind.xml / /page I get the following exception:

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!

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 HTML. This can

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; ielems.length; i++) {

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, You

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 and

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 user to

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

Re: how is the base path determined for map:handle-errors?

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 to

Re: how is the base path determined for map:handle-errors?

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: 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 with regular

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 and

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 XHTML

Re: how is the base path determined for map:handle-errors?

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 PROTECTED]

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 [mailto:[EMAIL

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 use HTML serializer and

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: xsp:encode-urlxsp-session:get-attribute name=fruit//xsp:encode-url You need xsp-response:encode-url Vadim Tim

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 withsession encoded?

2002-09-18 Thread Timothy Larson
Vadim, Thanks. I got it to work this way in an xsp page: form method=post xsp:attribute name=actionxsp:expr response.encodeURL (String.valueOf(xsp-session:get-attribute name=requrl/)) /xsp:expr/xsp:attribute !-- other stuff -- /form Tim [EMAIL PROTECTED] 09/18/02 02:32PM

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( xsp:contentxsp-session:get-attribute name=test-name-wcart//xsp:content == null || ((String)xsp:contentxsp-session:get-attribute name=test-name-wcart//xsp:content).length() == 0 ){

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 question): This parameter is set by the

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: 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 another stylesheet (part of the pipeline that

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

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 A href/A 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:

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 '?' and end with '?'. Like: ?xml version=1.0? May I be pedantic? The above is not a

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ó: htmldiv style='background-color:'DIV Plt;esql:get-columnsgt; solves my problem. I was unaware that lt;esql:get-columnsgt; gets the column name and element and column value as

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

Paginator Example - XSLT

2002-09-18 Thread Richard
Hi Guys The script below is taken fromthe paginator sample file pagedlist2.html. xsl:if test="page:link[@type='prev']" xsl:variable name="previous" select="@current - 1"/ a href="{page:link[@page = $previous]/@uri}"laquo; prev/a /xsl:if how does the xsl:variable name="previous"

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