i18n Transformation problem

2003-01-05 Thread Murari Dhoot
Hello Friends, I am applying a i18n Transformation on the following button 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 and i m not able to call that method. So what i need display value of

Re: i18n catalogue and sql

2003-01-05 Thread Martin Lüthi
You can use the request parameter like this: Cheers Martin Cocoon User <[EMAIL PROTECTED]> writes: > i know how to make a src file selection based to requested url using > matches > > http://./el/test > http://./en/test > > > > > > but how can do somethi

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

Re: i18n Transformation problem

2003-01-05 Thread Cocoon User
i have a similar problem solved using child element and not attributes some text then i have 2 step transformation first i18n transformation to replace i18n tags with the right content secend xslt tranformation to generete the element i want with attributes maybe this can help you

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) select * from vwProducts where upp

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 block after the root user tag, and then reference it thusly: myQuery I do this all the time and it works perfectly. Regards, Lajos -- galatea.com Cocoon training, consulting & support Book: Cocoon Developer's Handb

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: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; xmlns:xsp-session="http://apache.org/xsp/session/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 variab

Re: i18n catalogue and sql

2003-01-05 Thread aps olute
In an article by Steve Punte of candlelightsoftware.com, he uses to pickoff input=5 in a url of http://localhost/mypage?input=5 and passed it to a template like this: Can anyone perhaps elaborate on how input=5 from that select? what if the the parameters where http

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: String myQuery = "select * from vwProducts"; pierrefabre myQuery Lajos Yves Vindevogel wrote: Hi, I had tried this: xmlns:xsp="http://apache.o

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

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 so

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 fr

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 conver

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 whi

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