troubles with sunrise

2002-07-19 Thread Barbara Post
Hello, I tried to do the same as on : http://www.need-a-cake.com/stories/2002/02/28/usingTheSunriseComponents.html but get : org.apache.avalon.framework.component.ComponentException: Could not find component at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal

RE: sitemap variables?

2002-07-19 Thread Piroumian Konstantin
From: icewind [mailto:[EMAIL PROTECTED]] I looked at the threads, and in my sitemap, and figured that defining something like: map:global-parameters map:global-parameter name=doc-base value=/home/icewind0/cocoon-files/ /map:global-parameters I can't figure out how to use it

Re: RE: RE: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Konstantin, There is no 1i8n related messages in the log file.I turned off the xslt and tried.Iam getting the names Kavitha, Ramesh in the browser. Kavitha On Thu, 18 Jul 2002 Piroumian Konstantin wrote : From: kavitha ramesh [mailto:[EMAIL PROTECTED]] Hi Konstantin, 1.I checked

RE: troubles with sunrise

2002-07-19 Thread Matthew Langham
Barbara, which version of Cocoon are you using? My article refers to version 2.0.x. And the correct link to the article is: http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponent s.html Matthew -- Open Source Group Cocoon { Consulting, Training, Projects }

[SUMMARY]XMLForm, extended validation and error messages

2002-07-19 Thread michael_hampel
Hi Ivelin, thanks again for your provided solution. Before summing up what I did, please change the code that you provided, as if it is used as is you will get a Null Pointer Exception, due to the following code: public void addViolations( List newViolations ) { if

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Jeorg, I tried with the following sitemap: map:match pattern=jsp/* map:generate type=jsp src=/concatenate/jsp/{1}.jsp/ map:serialize type=xml/ /map:match I got just the names, Kavitha, Ramesh in the browser. Kavitha On Thu, 18 Jul 2002 Joerg Heinicke wrote : map:match pattern=jsp/*

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Sidharth, It is even possible withouti18n:text in the xml file.Just using the namespace in the xsl and by running the transformer, it works,,, Kavitha On Fri, 19 Jul 2002 [EMAIL PROTECTED] wrote : Hi I think you will have to keep the I18n :Text for Mr and Ms in XML file only then it

sunshine, authentication failed and request parameter

2002-07-19 Thread Barbara Post
I want to customize my error page by getting one of the request parameters (language : lang), to query a database (like xindice) with it passed along a hard-coded error code. I have the following and authentication works ok for now (test with an user xml file). Is the parameter lang in session

Re: troubles with sunrise

2002-07-19 Thread Barbara Post
Thanks for the correct link, Matthew. I use cocoon 2.0.3 and finally fixed my misconfiguration. :-) Barbara - Original Message - From: Matthew Langham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 19, 2002 11:31 AM Subject: RE: troubles with sunrise Barbara, which version

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread sidharthg
No that is OK But I always prefer to do everthing in XSP Regards Sidharth Ghai Vmoksha Technologies VI th Floor, Corporate Towers 'C' Diamond District Kodihally Banglore

Re: Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Jeorg, Now my xsl is like this: conc.xsl xsl:for-each select=menu/person tr tdi18n:textMale/i18n:textxsl:value-of select=gender/name//td /tr /xsl:for-each My xml file is as follows: conc.xml ?xml version=1.0 encoding=UTF-8? test menu person gender sex=Male

Re: mixing xml and xsl with i18n

2002-07-19 Thread Joerg Heinicke
Hello Kavitha, as I see you have a working version: tdi18n:textMale/i18n:textxsl:value-of select=gender/name//td and a non-working version i18n:textxsl:value-of select=@sex//i18n:textxsl:value-of select=gender/name/ The problem is really easy, it's only an XPath problem. The @sex

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Jeorg, It works,,, Thanks a lot,,, Kavitha. On Fri, 19 Jul 2002 Joerg Heinicke wrote : Hello Kavitha, as I see you have a working version: tdi18n:textMale/i18n:textxsl:value-of select=gender/name//td and a non-working version i18n:textxsl:value-of

RE: sunshine, authentication failed and request parameter

2002-07-19 Thread Carsten Ziegeler
You pass 'lang' in as a request parameter, so in the case of an error it is still available as a request parameter. You can use the 'request' action to get the value of the parameter, like map:act type=request !-- all parameters can be accessed using {NAME OF PARAMETER} map:generate

Is possible generate XML source that stored in session?

2002-07-19 Thread Hiloliddin Karimov
Hi, I have Action that get result from DB and store it in session as XML, and transformer that paginate the XML source. !-- get results from DB and store it to session -- map:match pattern=show.html map:act set=process map:parameter name=descriptor

RE: Is possible generate XML source that stored in session?

2002-07-19 Thread Luca Morandini
Hiloliddin, I think you may use readDOMSessionTransformer to do this. Best regards. - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html