i18n Transformation problem

2003-01-05 Thread Murari Dhoot
Hello Friends, I am applying a i18n Transformation on the following button input value=Search type=submit name=cocoon-action i18n:attr=value/input Actually depending upon the value of Button i.e. Search , i am calling a method, but if i apply i18n transformaion the value of button changed

Re: i18n catalogue and sql

2003-01-05 Thread Martin Lüthi
You can use the request parameter like this: map:transform src=stylesheets/mystyle.xsl map:parameter name=use-request-parameters value=true/ map:parameter name=region value={request:locale}/ /map:transform Cheers Martin Cocoon User [EMAIL PROTECTED] writes: i know how to make

Re: i18n catalogue and sql

2003-01-05 Thread Cocoon User
hi martin this is a way to send a parameter inside your xsl file (pretty good) but i need something else i want to use a request parameter as a variable inside my sitemap example if i have http://../...?locale=el src={locale}_data.xml point to el_data.xml (i have do something similar using a

Re: i18n Transformation problem

2003-01-05 Thread Cocoon User
i have a similar problem solved using child element and not attributes input valuei18n:text i18n:key=key_textsome text/i18n:text/value /input then i have 2 step transformation first i18n transformation to replace i18n tags with the right content secend xslt tranformation to generete the

Dynamic query in xsp:logic and esql:query

2003-01-05 Thread Yves Vindevogel
Hi, I've got a form with one textbox (name) and a combobox (type) When the user presses submit, a searchpage is called where I execute this query (on postgres db) esql:query select * from vwProducts

Re: Dynamic query in xsp:logic and esql:query

2003-01-05 Thread Lajos Moczar
Yves - Why not build your select statement as a string variable inside an xsp:logic block after the root user tag, and then reference it thusly: esql:query xsp:exprmyQuery/xsp:expr /esql:query I do this all the time and it works perfectly. Regards, Lajos -- galatea.com Cocoon training,

Request: XSP for quering Google Web API

2003-01-05 Thread Lenya L. Khachaturov
Hello, I've discovered that there exists an XSP for quering Google Web API. It was posted to this list by Ugo Cei at 04.19.2002. Could someone please send it to me? Or maybe there exist more advanced variants? -- Lenya Khachaturov mailto:[EMAIL PROTECTED]

Re: Dynamic query in xsp:logic and esql:query (partly solved)

2003-01-05 Thread Yves Vindevogel
Hi, I had tried this: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0;

Re: i18n Transformation problem

2003-01-05 Thread Karel Vervaeke
A possible solution for this problem can be found at http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_10148478.html (it's the first page that http://google.com/search?q=javascript+button+pressed gives me :) In short, you add a hidden variable to the form, and you change that

Re: i18n catalogue and sql

2003-01-05 Thread aps olute
In an article by Steve Punte of candlelightsoftware.com, he uses xsl:value-of select=/http:request/http:requestParameters/http:parameter/http:value/ to pickoff input=5 in a url of http://localhost/mypage?input=5 and passed it to a template like this: xsl:call-template name=factorial

Re: Request: XSP for quering Google Web API

2003-01-05 Thread Lajos Moczar
Attached is one from my and Jeremy's book. Lajos Lenya L. Khachaturov wrote: Hello, I've discovered that there exists an XSP for quering Google Web API. It was posted to this list by Ugo Cei at 04.19.2002. Could someone please send it to me? Or maybe there exist more advanced variants? --

Re: Dynamic query in xsp:logic and esql:query (partly solved)

2003-01-05 Thread Lajos Moczar
I can't understand what you are doing w/out seeing the whole XSP. Typically I do this: xsp:page language=Java ... / html !-- This is your root user tag -- xsp:logic String myQuery = select * from vwProducts; !-- Or whatever logic you need to build the query string -- /xsp:logic !--

Re: Dynamic query in xsp:logic and esql:query

2003-01-05 Thread Cocoon User
i use to build queries in in logic too , into a variable this code work for me: xsp:logic int lookup = 0; String slookup = ; String lookupstr = ; String colfilter = ;

redirect in xsp

2003-01-05 Thread Juraj Misovych
Hi, I try to use xsp-response sendredirect , but it is not implemented in cocoon(i have 2.0.4), i want use simple xsp instead of action, but now i dont know how to do it. Have somebody any ideas? Thanks - Please check that

Re: DB2 with Cocoon

2003-01-05 Thread Robert Sösemann
Thanks for answering. Could you send me the relevant parts of your xconf because I am not sure where to add the oradb attribute. By the way the comments in my xconf say to do this only for ORACLE ?!! And why do you think, that Cocoon sends dummy queries? To hold the pool? Or do you think I made

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-05 Thread e nio
Anyone idea at all why the http://localhost:/samples/welcome/ would be seeking for the sitemap.xmap like so? file:/u01/OJSP/j3ee/orion/applications/cocoon/cocoon/samples/welcome/sitemap.xmap The main sitemap.xmap is stock from the compilation of 2.1dev. The way it display anything

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-05 Thread Lajos Moczar
Don't know if you've checked this out already, but Steve Punte has Cocoon-Orion integration instructions at http://www.candlelightsoftware.com/orion-cocoon.html. Regards, Lajos e nio wrote: I tried deploying cocoon2.1 which I have recently downloaded and compiled, it deploys fine on Tomcat

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-05 Thread e nio
Thank you for the response, yes I have looked at Steve's procedure, I mentioned it in step 9 of my original post. Someone also have mentioned to me that since orion is an app server I have to have that application.xml added to make the package looked like an .ear. Effectively I have to

Cocoon and Tomcat with a Security Manager

2003-01-05 Thread Stefan Riegel
Hi, we have to deploy our Cocoon application on a machine running Tomcat with a Security Manager. It is a Ensim WEBppliance for Linux. It is not possible to start Tomcat without the -security option. We did not succeed with the configuration of the catalina.policy file. Could anybody tell us

Re: redirect in xsp

2003-01-05 Thread Antonio Gallardo
use Javascript to do that. Antonio Juraj Misovych dijo: Hi, I try to use xsp-response sendredirect , but it is not implemented in cocoon(i have 2.0.4), i want use simple xsp instead of action, but now i dont know how to do it. Have somebody any ideas? Thanks