xmlize in jx and 'NOT_FOUND is not a function'

2005-11-09 Thread Merico Raffaele
Dear community Im using cocoon 2.1.7 and I have implemented the xmlize functionality according to http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108680748429717&w=2. But now I get the following error 'NOT_FOUND is not a function'. Any help would be very appreciated ... many thanks in advance .

Re: Passing variables between XSL and JavaScript

2005-11-09 Thread Luca Morandini
Oleg Konovalov wrote: Thank you everybody, that was very useful. One more question: For that popup I have a URL: window.open('custdata_popup?bunit_num=' , 'custdata_popup', features); If the user clicks a second time on the same link (say, custdata_popup?bunit_num=123),

Re: Passing variables between XSL and JavaScript

2005-11-09 Thread Oleg Konovalov
Thank you everybody, that was very useful. One more question: For that popup I have a URL: window.open('custdata_popup?bunit_num=' , 'custdata_popup', features); If the user clicks a second time on the same link (say, custdata_popup?bunit_num=123), it rightly refreshes that

Re: How do you generate 4.01 strict HTML? - SOLVED

2005-11-09 Thread David Legg
Anyone know the secret to generating compliant 4.01 strict from Cocoon? OK... I solved my own problem. So, for the record... My xslt transformation file (which originated from the Cocoon welcome.xslt file) had the following line near the top: - xmlns:xsl="http://www.w3.org/1999/XSL/Trans

Re: Passing variables between XSL and JavaScript

2005-11-09 Thread Joerg Heinicke
On 08.11.2005 08:06, Derek Hohls wrote: custdata_popup?bunit_num= (be careful to avoid extra spaces and lines when using this approach) Above the extra spaces are only important infront and after the text 'custdata..._num=' Another possibility is to wrap the text in : custdata_

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-09 Thread Torsten Curdt
To be honest I'm not really 'into' Cocoon development. I've browsed the website, the Wiki and parts of the code and that's about it. I'm not very familiar with the procedures for submitting patches and such. I'll have to find some time to look into that. There is not much to it. svn co ht

Re: Three steps DB Interaction

2005-11-09 Thread Upayavira
Omar Adobati wrote: > Sylvain, > > let me thanks you... > But, if I have not understood bad, in the link you send to me there's > no usage of XSP, ESQL and anything like... right? Could I use it with > mysql Database? Yes, it is just JDBC in the end. Upayavira > On 11/9/05, Sylvain Wallez <[EMA

Named queries in SQLTransformer

2005-11-09 Thread Oleg Konovalov
Hi, I am trying to create an XSL page showing rowsets from several queries from SQLTransformer (Cocoon 2.0.4 with sitemap actions), but so far can't see anything on the screen. 1) Could you please point me to some good example of such simple (select) DB report - especially XSL part ? 2) I thin

Re: Three steps DB Interaction

2005-11-09 Thread Omar Adobati
Sylvain, let me thanks you... But, if I have not understood bad, in the link you send to me there's no usage of XSP, ESQL and anything like... right? Could I use it with mysql Database? Thanks again, Omar On 11/9/05, Sylvain Wallez <[EMAIL PROTECTED]> wrote: > Omar Adobati wrote: > > Ard, > >

Re: Three steps DB Interaction

2005-11-09 Thread Sylvain Wallez
Omar Adobati wrote: Ard, really thanks to your answer... I'm actually checking the links you send to me, I also already downloaded the code of BricksCms... But, because I'm new to cocoon, could you send me "the most basic example"? I think the code of BricksCms is a little complicated for me...

RE: Simple DB report

2005-11-09 Thread Oleg Konovalov
Ard, All right, so now I got the value of Cust_id in my popup window. Now how do I get and process resultset(rowset) of each query in XSL (based on its name)? Any samples? What I have in XSL is below, but it doesn't work. (bits & pieces from somebody's code) http://xml.apache.org/xalan/java/co

Re: Three steps DB Interaction

2005-11-09 Thread Omar Adobati
Ard, really thanks to your answer... I'm actually checking the links you send to me, I also already downloaded the code of BricksCms... But, because I'm new to cocoon, could you send me "the most basic example"? I think the code of BricksCms is a little complicated for me... thank you very much,

RE: Three steps DB Interaction

2005-11-09 Thread Ard Schrijvers
Hello Omar, you should really take a look at flow/cforms/bindings etc etc. Very basic example you can find in the bricks cms example. Work from that, forget writing your own sql statements and xsp! http://wiki.apache.org/cocoon/BricksCms http://www.cocoongt.org/binaries/bricks-cms-overview.pdf

RE: Simple DB report

2005-11-09 Thread Ard Schrijvers
Ok, suppose your url looks like: myurl?cust_id=123 Your sitemap looks like: Your custdata_query.xml could look like: http://apache.org/cocoon/SQL/2.0";> SELECT col1, col2, col3

Re: Integer formatting

2005-11-09 Thread Mark Lundquist
On Nov 9, 2005, at 10:26 AM, Bruce Atherton wrote: Perhaps I might suggest a change to the forms documentation to explain that cocoon forms expect java variables, not javascript ones. I suspect it is common to use flowscript and forms together, and unless you are aware that you need to be vig

Re: Integer formatting

2005-11-09 Thread Bruce Atherton
Bruno Dumon wrote: the variant attribute here has no purpose, the plain convertor does not need any further configuration. The variant attribute is specific to the formatting convertor. Again, does no harm if it is there (but can confuse). I suspected it didn't, but those snippets

How do you generate 4.01 strict HTML?

2005-11-09 Thread David Legg
I've been reading a lot about the pros and cons of generating XHTML web pages. I've come to the conclusion that any browser except perhaps Firefox and Opera should really be using HTML 4.01 strict (especially if they are planning on using AJAX any time soon). [Interested parties should read h

[ExceptionHandling] Catching "Content length exceeds maximum upload size"

2005-11-09 Thread Jeroen Reijn
Hi guys, I hope somebody can help me out.Here is the situation: I have a Cform with a file upload widget. When I submit the form with a file that is bigger then the max allowed file size, it throws a nice "Content length exceeds maximum upload size" error. I'm under the impression that I coul

RE: Processing variables in the sitemap

2005-11-09 Thread Stewart, Gary
> Well, it _should_ be resolved before actually calling the resource... > Double-checked the code... Thanks for that. I needed a sanity check :). It was to do with not actually calling the request action. Thanks again, Gary *

RE: Simple DB report

2005-11-09 Thread Oleg Konovalov
Ard, I am not getting that parameter picked on the XSL page, not sure about XML one (with queries), can't see it. Actually, is there a way to see the output of that SQL transformer ? Could you please give me a sample of XSL file processing that rowset (to display it on the screen)? Mine (below) i

Re: Processing variables in the sitemap

2005-11-09 Thread Sylvain Wallez
Stewart, Gary wrote: Hi there, A bit of a strange question here. I have a chunk in my sitemap that does something like: and then in the resource it basically calls cocoon:/{form-name} along with some other processing. The problem appears to be that {../id} is handed to the call which d

Processing variables in the sitemap

2005-11-09 Thread Stewart, Gary
Hi there, A bit of a strange question here. I have a chunk in my sitemap that does something like: and then in the resource it basically calls cocoon:/{form-name} along with some other processing. The problem appears to be that {../id} is handed to the call which doesn't have id as part

Three steps DB Interaction

2005-11-09 Thread Omar Adobati
Good moring all, I have the need to do the following: 1) Fill a form 2) insert the data filled in the form into a DB 3) display the result Now, my idea is to make this 3 steps each one xsp page. I can do it with two steps: the first page show the form to fill and the second one manage the eSQL a

RE: Simple DB report

2005-11-09 Thread Ard Schrijvers
I dont understand your query file. What you should do is very simple: sitemap part: query part SELECT col1, col2, col3 FROM cust_table WHERE cust_id = That is al. The map:paramter cust_id is by the sql transformer placed in

Re: Setting path for cookies in Tomcat / Cocoon

2005-11-09 Thread Christoph Hermann
Yves Vindevogel schrieb: Hello, >> Searching a bit more it looks like Tomcat as of 5.5.4 has the ability >> to set the path: >>"Add the ability to force session cookies to be set to the root path > > Yes, indeed. Is a bugfix in 5.5. But I'm running 5.0. If I need to > upgrade to get it

Re: ESQL PRoblems

2005-11-09 Thread Omar Adobati
> Second possiblity: esql:connection can't be top element after > xsp:page and this is the reason of Your problem. This was the matter, now I have fixed it and also the sitemap.xmap 'cause I wan not set my page as a dynamic-page... this is what I done: