Re: Cocooners in Shanghai?

2005-11-07 Thread pguillard
"or if they just don't talk about using Cocoon here" I think you are right, globally for open source i had the feeling that because all private software can be bought for 2 dollars here (Oracle,.NET...) they were not willing to go that direction, after a while i understood i was wrong: i think n

Re: Passing variables between XSL and JavaScript

2005-11-07 Thread Derek Hohls
Or, more formally:   custdata_popup?bunit_num=   (be careful to avoid extra spaces and lines when using this approach)>>> [EMAIL PROTECTED] 2005/11/08 01:00:58 AM >>>On Nov 7, 2005, at 2:45 PM, Oleg Konovalov wrote:> The problem is that I have to pass the value of the XSL variable> as a paramete

Re: CForms - different views of the same widget

2005-11-07 Thread Derek Hohls
Phillip   This is not really the same problem; what you seem to be describing is a fairly standard use case for CForms.  The idea of the bean is to be the "data storage" and (possibly) "post data entry logic processing". The form definition itself will contain the validation specifications as to

Re: Integer formatting

2005-11-07 Thread Derek Hohls
Bruce   I struggled some time back with getting years displayed as format and not .0 - in the end I used:     to get what I needed.  This syntax seems a little different from what you are using - maybe it will help?   Derek>>> [EMAIL PROTECTED] 2005/11/08 03:04:56 AM >>>I have what I co

Re[2]: Cocooners in Shanghai?

2005-11-07 Thread Jens Maukisch
Hi, > Cool! I find that Cocoon is not widely adopted in Mainland China. I was wondering if Cocoon really is not widley adopted or if they just don't talk about using Cocoon here (e.g. on the mailinglists). > It's a pity that developers here don't find Cocoon's advantage over > other framework li

Integer formatting

2005-11-07 Thread Bruce Atherton
I have what I consider very odd behaviour in my forms. Specifically, javascript variables are being rendered as floats rather than integers in the HTML, but only if I tell the forms to render them as plain integers. So if I have the following flowscript: formData.queueList = [ {value:

Re: Cocooners in Shanghai?

2005-11-07 Thread Steven Gong
On 11/7/05, pguillard <[EMAIL PROTECTED]> wrote: Frustrating for me! I was used to develop and live in Shanghai for 1,5years, but i'm in Guangzhou for a few months! When my web application will be finished (i pray in a few weeks), i'llgo there, hope to meet you guys.   Cool! I find that Cocoon is n

Re: Passing variables between XSL and JavaScript

2005-11-07 Thread Mark Lundquist
On Nov 7, 2005, at 2:45 PM, Oleg Konovalov wrote: The problem is that I have to pass the value of the XSL variable as a parameter to that URL as: 'custdata_popup?bunit_num=' How can I do that ? It's called an "attribute value template", and it's part of XSLT. E.g, click me HTH, —m

Passing variables between XSL and JavaScript

2005-11-07 Thread Oleg Konovalov
Hi, I am trying to invoke a popup window from XSL page (of Cocoon 2.0 app) using JavaScript: ... ... The problem is that I have to pass the value of the XSL variable as a parameter to that URL as: 'custdata_popup?bunit_num=' How can I do that ? Thank you in advance, Oleg. -

Re: CForms - different views of the same widget

2005-11-07 Thread Philipp Schmidt
Hi, I have a similar problem. Sylvain Wallez wrote: Jason Johnston wrote: Derek Hohls wrote: > Is it possible to set up the binding and display for a widget so that > it is styled differently depending on whether or not a value was set > for it *prior* to displaying the form? > > I would like

Re: AW: using XML from the generation in the sitemap

2005-11-07 Thread Bertrand Delacretaz
Le 7 nov. 05, à 16:13, Upayavira a écrit : ...If what you want to do is have the pipeline built based upon the content of the pipeline, then no, you cannot do that... Not directly, but generating CInclude statements allows one to create a form of content-aware pipelines. A transform which

Re: using XML from the generation in the sitemap

2005-11-07 Thread g[R]eK
Upayavira napisał(a): Merico Raffaele wrote: Hi cocooners Does anybody knows if there is a possibility to use xml values that was generated before as input in the sitemap as ie: No, because the sitemap is built and those parameters are handled before the generator starts and any

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Sylvain Wallez wrote: Felix Röthenbacher wrote: The best is if you have an Avalon context at hand (in an Avalon component, implement the Contextualizable interface). Is there such a component I can use with a method getContext() or do I have to create a new one for this purpose? Where d

RE: Increasing Cocoon Portal speed

2005-11-07 Thread Boisvert, Éric
that's the part i did not know about.. sorry the answer did not make any sense then. Eric -Message d'origine- De : Ralph Goers [mailto:[EMAIL PROTECTED] Envoyé : 7 novembre, 2005 11:05 À : users@cocoon.apache.org Objet : Re: Increasing Cocoon Portal speed Boisvert, Éric wrote: >Hi An

Re: using XML from the generation in the sitemap

2005-11-07 Thread Antonio Fiol Bonnín
> Thanks for the replay ... just to make it clear and before I drop my last > hope, I want to use XPATH-expression in the following . > Still no ... ? You can read the result of *another* pipeline, using InputModules, as Upayavira already said using other words. -- Antonio --

portal+cform+ajax problem in 2.1.8 rc1

2005-11-07 Thread 黄 海冬
Hi,all I try to combine portal+form(with ajax) in 2.1.8 rc1,all is fine but one problem,I don't know if is a bug,and just show my step here: 1.change block portal in samples,copletdata.xml,config like: Application Test CachingURICoplet buffer true

Re: Increasing Cocoon Portal speed

2005-11-07 Thread Ralph Goers
Boisvert, Éric wrote: Hi Angelo Altough I did try the multi fragment approach, some people also suggested looking into stx transformer , and indeed, my stx pipeline is faster because the incoming document start being processed as soon as it is being generated by the previous component, as opp

Re: Request object with ServiceManager

2005-11-07 Thread Sylvain Wallez
Upayavira wrote: Sylvain Wallez wrote: Eek! Althought this works, this is an internal class that no more exists in the 2.2 branch! Hah, just testing to see if you're watching this list ;-) Pr! :-P Sylvain -- Sylvain WallezAnyware Technologies http://p

Re: Request object with ServiceManager

2005-11-07 Thread Sylvain Wallez
Felix Röthenbacher wrote: The best is if you have an Avalon context at hand (in an Avalon component, implement the Contextualizable interface). Is there such a component I can use with a method getContext() or do I have to create a new one for this purpose? Where do you get your ServiceManage

Re: AW: using XML from the generation in the sitemap

2005-11-07 Thread Upayavira
Merico Raffaele wrote: > Hi Upayavira > > Thanks for the replay ... just to make it clear and before I drop my last > hope, I want to use XPATH-expression in the following . > Still no ... ? If what you want to do is have the pipeline built based upon the content of the pipeline, then no, you ca

AW: using XML from the generation in the sitemap

2005-11-07 Thread Merico Raffaele
Hi Upayavira Thanks for the replay ... just to make it clear and before I drop my last hope, I want to use XPATH-expression in the following . Still no ... ? Thx in advance ... Raffaele > -Ursprüngliche Nachricht- > Von: Upayavira [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 7. Novembe

Re: Cocooners in Shanghai?

2005-11-07 Thread pguillard
Frustrating for me! I was used to develop and live in Shanghai for 1,5 years, but i'm in Guangzhou for a few months! When my web application will be finished (i pray in a few weeks), i'll go there, hope to meet you guys. Phil Jens Maukisch wrote: Hi Steven, Maybe you can give us a tal

RE: Non-select queries yielding wrong resultsets

2005-11-07 Thread Gerard
Hello Ard, Thanks for the hint. I'll take a look at the source later. If I manage to figure it out, I'll post it on this list. Thanks, - Gerard > Hello Gerard, > First of all, besides the SELECT, also DELETE and UPDATE and > INSERT stuff works fine. Indeed, SHOW tables, DESCRIBE klant > seems

Re: Request object with ServiceManager

2005-11-07 Thread Upayavira
Felix Röthenbacher wrote: > > > Sylvain Wallez wrote: > >> Upayavira wrote: >> >>> Felix Röthenbacher wrote: >>> >> >> >> >> Cocoon 2.1.x, Java >>> >>> >>> >>> Map om = >>> CocoonComponentManager.getCurrentEnvironment().getObjectModel(); >>> >> >> >> >> Eek! > > > :-) >

Re: Request object with ServiceManager

2005-11-07 Thread Upayavira
Sylvain Wallez wrote: > Upayavira wrote: > >> Felix Röthenbacher wrote: >> > > > >>> Cocoon 2.1.x, Java >>> >> >> >> Map om = CocoonComponentManager.getCurrentEnvironment().getObjectModel(); >> > > > Eek! Althought this works, this is an internal class that no more exists > in the

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Sylvain Wallez wrote: Upayavira wrote: Felix Röthenbacher wrote: Cocoon 2.1.x, Java Map om = CocoonComponentManager.getCurrentEnvironment().getObjectModel(); Eek! :-) Althought this works, this is an internal class that no more exists in the 2.2 branch! The best i

Re: Request object with ServiceManager

2005-11-07 Thread Sylvain Wallez
Upayavira wrote: Felix Röthenbacher wrote: Cocoon 2.1.x, Java Map om = CocoonComponentManager.getCurrentEnvironment().getObjectModel(); Eek! Althought this works, this is an internal class that no more exists in the 2.2 branch! The best is if you have an Avalon context at han

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Upayavira wrote: Felix Röthenbacher wrote: Upayavira wrote: Felix Röthenbacher wrote: Upayavira wrote: Felix Röthenbacher wrote: Hi is it possible to get the current Request object with the help of the ServiceManager? You're more likely to get the request object via the O

Re: Request object with ServiceManager

2005-11-07 Thread Upayavira
Felix Röthenbacher wrote: > > > Upayavira wrote: > >> Felix Röthenbacher wrote: >> >>> >>> Upayavira wrote: >>> >>> Felix Röthenbacher wrote: > Hi > > is it possible to get the current Request object with the > help of the ServiceManager? Y

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Upayavira wrote: Felix Röthenbacher wrote: Upayavira wrote: Felix Röthenbacher wrote: Hi is it possible to get the current Request object with the help of the ServiceManager? You're more likely to get the request object via the ObjectModel. If you have an object model, use ObjectM

Re: Request object with ServiceManager

2005-11-07 Thread Upayavira
Felix Röthenbacher wrote: > > > Upayavira wrote: > >> Felix Röthenbacher wrote: >> >>> Hi >>> >>> is it possible to get the current Request object with the >>> help of the ServiceManager? >> >> >> >> You're more likely to get the request object via the ObjectModel. If you >> have an object model

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Upayavira wrote: Felix Röthenbacher wrote: Hi is it possible to get the current Request object with the help of the ServiceManager? You're more likely to get the request object via the ObjectModel. If you have an object model, use ObjectModelHelper.getRequest(om). I'd need to know the co

RE: Increasing Cocoon Portal speed

2005-11-07 Thread Boisvert, Éric
Hi Angelo Altough I did try the multi fragment approach, some people also suggested looking into stx transformer , and indeed, my stx pipeline is faster because the incoming document start being processed as soon as it is being generated by the previous component, as opposed to xslt that need to w

Re: Upload File to SQL-Database

2005-11-07 Thread Askild Aaberg Olsen
Moritz Kobel wrote: Hi all, what's the best way to upload a file to a sql-database? Is it a good way to use the example on http://wiki.apache.org/cocoon/FileUploadsWithFlow as base and change the upload function to store the filecontent in a database? Are there any working solutions availab

Re: Request object with ServiceManager

2005-11-07 Thread Upayavira
Felix Röthenbacher wrote: > Hi > > is it possible to get the current Request object with the > help of the ServiceManager? You're more likely to get the request object via the ObjectModel. If you have an object model, use ObjectModelHelper.getRequest(om). I'd need to know the context in which yo

Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Hi is it possible to get the current Request object with the help of the ServiceManager? Thanks for your help - Felix -- Felix Röthenbacher [EMAIL PROTECTED] Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://leny

Re: using XML from the generation in the sitemap

2005-11-07 Thread Upayavira
Merico Raffaele wrote: > Hi cocooners > > Does anybody knows if there is a possibility to use xml values that was > generated before as input in the sitemap as ie: > No, because the sitemap is built and those parameters are handled before the generator starts and any of that XML is seen. If

Re: Strange caching issue: need to reload twice

2005-11-07 Thread Antonio Fiol Bonnín
> 2005/11/3, Sylvain Wallez <[EMAIL PROTECTED]>: > > Hmm... could this be related to the refresh delay of the directory > > generator[1]? > > > > What happens if you add > > in the ? > > Sylvain, we tested value="0", and got the same effect. > > Going slightly further, we tried with value="-1", a

using XML from the generation in the sitemap

2005-11-07 Thread Merico Raffaele
Hi cocooners Does anybody knows if there is a possibility to use xml values that was generated before as input in the sitemap as ie: Best regards ... Raffaele - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Proxy Rewrite

2005-11-07 Thread Upayavira
Yves Vindevogel wrote: > HELLO > > Anybody who can supply this rewrite rule ? It is _not_ a rewrite rule that you need. It is a configuration for Tomcat. Probably goes somewhere in server.xml. I'm afraid a little Googling didn't find me an answer, so I suggest you go onto the Tomcat lists and ask

Re: Proxy Rewrite

2005-11-07 Thread Yves Vindevogel
HELLO Anybody who can supply this rewrite rule ? Tia On 05 Nov 2005, at 14:13, Yves Vindevogel wrote: Hi Upayavira, Your nr 1 is not possible. That would be indeed be the easiest thing to do, but then I have to run Cocoon as ROOT app under Tomcat. I'd rather not do that. Number 2 is based o

Null values in AbstractComposableService

2005-11-07 Thread cocoon.erard
Hello, I'm using axis in Cocoon 2.1.7 and have a BindingImpl of my service. This BindingImpl extends the AbstractComposableService. But if I want to use the service the members (logger, m_manager) of the superclass are not initialized. Do I have to configure something in the cocoon.xconf to m