redirect-to in aggregation

2004-08-20 Thread Mikolaj Machowczyk
Hello, I've considered a problem with global redirects when they are used in aggregation. The aggregation isn't cancelled when global="true" property is applied to . I found that this problem in Cocoon 2.1.4 had been reported to Bugzilla in April 2004 (http://issues.apache.org/bugzilla/show_bug.cg

Re: UTF-8 encoding and VelocityGenerator

2004-08-20 Thread Leszek Gawron
Björn Voigt wrote: Hello cocooners, I use the velocity-generator to load an utf-8 encoded XML-File and fill in a UTF-8 encoded sitemap-parameter. OK the is parameter filled in correctly but the file seems to be decoded in ISO-8859. Is it possible or how is it possible to configure the generator

Re: flowscript and infinite loops

2004-08-20 Thread Tony Collen
Arthur van Dorp wrote: Remember, the execution is halted at sendPageAndWait(), so nothing is really "running" at that point. Only when is called, will the execution resume. If the user clicks on a different link and "loses" the continuation ID, the continuation will still be around (i.e. it

Re: flowscript and infinite loops

2004-08-20 Thread Arthur van Dorp
Remember, the execution is halted at sendPageAndWait(), so nothing is really "running" at that point. Only when is called, will the execution resume. If the user clicks on a different link and "loses" the continuation ID, the continuation will still be around (i.e. it can be restarted), unti

Re: flowscript and infinite loops

2004-08-20 Thread Tony Collen
Samuel Tribehou wrote: Hello, I know this is a silly question, but.. I'd like to know what happens exactly in memory with this type of flow : flowscript_func () { while (true) { cocoon.sendPageAndWait("/example"); // do things with user input } } Of course the purpose

RE: Portal Actions

2004-08-20 Thread JACOB, ERIC
I wanted to say "though" and not "tough" :) Eric -Original Message- From: JACOB, ERIC [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 12:34 PM To: [EMAIL PROTECTED] Subject: RE: Portal Actions Thanks Carsten, If nobody is developing them, I'm voluntary to do it... But we have t

flowscript and infinite loops

2004-08-20 Thread Samuel Tribehou
Hello, I know this is a silly question, but.. I'd like to know what happens exactly in memory with this type of flow : flowscript_func () { while (true) { cocoon.sendPageAndWait("/example"); // do things with user input } } Of course the purpose is to load the page,

RE: Portal Actions

2004-08-20 Thread JACOB, ERIC
Thanks Carsten, If nobody is developing them, I'm voluntary to do it... But we have to decide either we'll use actions or flow... I'm not very familiar with the last one tough. Eric -Original Message- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 10:29 A

Re: CForms / flow question

2004-08-20 Thread Bruno Dumon
On Fri, 2004-08-20 at 15:22, Jorg Heymans wrote: > ugh how obvious, thanks Bruno. > > Actually I don't think i need continuations for my usecase, and I read > about the difference between sendPage() and showForm(). > > So i changed the showForm call to >cocoon.sendPage("display", {"CocoonFor

Portal - Problem when loading profiles

2004-08-20 Thread JACOB, ERIC
Hi, Here my problem. I have a default portal layout (profiles/layout/portal.xml) that looks like this: MyPage-1

cforms forms_onsubmit()

2004-08-20 Thread Jorg Heymans
Hi, Is it possible to fully override the onsubmit handler that is generated by cforms? Cocoon allways puts a forms_onsubmit() infront of whatever i put in the handler of the form template, causing my javascript code not to be executed upon submit. The whole of google has only 2 references to fo

Re: looking for dtd or xml schemas used in cocoon

2004-08-20 Thread David Verdin
Derek Hohls a écrit : well, sometimes it requires some fresh insight or ideas to get things done effectively - this is an OS project so no one expects perfection from a single person... the community will take what is there, add to and polish it until one of the committers decides it *is* good eno

Re: looking for dtd or xml schemas used in cocoon

2004-08-20 Thread Derek Hohls
well, sometimes it requires some fresh insight or ideas to get things done effectively - this is an OS project so no one expects perfection from a single person... the community will take what is there, add to and polish it until one of the committers decides it *is* good enough. maybe just kick-o

Re: dynamcically altering a global variable

2004-08-20 Thread Derek Hohls
use of flow does not pre-determine where and how the data we are talking about could/should come from. In fact, if your MVC design is correct it *cannot* know - you could be using simple POJOs or XSPs or any other mechanism to get/set data; or start with XML and scale up to a database as needed..

RE: Portal Actions

2004-08-20 Thread Carsten Ziegeler
From: JACOB, ERIC [mailto:[EMAIL PROTECTED] > > Thanks a lot! > > So, if my understanding is correct, I need to write my own > actions if a want to let the users customize their page, by > adding or removing coplets, columns or tabs... In fact, all > the administration tasks (like add/edit/de

tomcat realm info

2004-08-20 Thread Juha Muilu
Hi I would appreciate if somebody can tell how to access security realm info (name of current user + roles) maintained by tomcat in flowscript... Best Regards, Juha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

xspaction error

2004-08-20 Thread David Merrilees
I'm trying to use an xsp action to retrieve a value from a database and setting it to a sitemap parameter. The code appears to be correct. Any comments welcome. - Code Excerpt - http://apache.org/cocoon/action/1.0"; xmlns:xsp="http://apache.org/xsp"; xmlns:esql="http://

Re: looking for dtd or xml schemas used in cocoon

2004-08-20 Thread David Verdin
I had something like that in mind, but, well, I don't know if the work of an absolute cocoon beginner would be taken into account. Derek Hohls a écrit : Of course, there's nothing stopping any of us from stepping forward and volunterring to try and do this, even a preliminary version might

Re: dynamcically altering a global variable

2004-08-20 Thread Bhaskar Rathod
but then you may miss out on tracking. And if you use database to store it anyways, then u can use the db in the first place also :-) Regards, Bhaskar Paul Joseph wrote: Yes, these are much better approaches expecially (imo) the xml approach as it has fewer "moving parts" - no quartz and also, it

Re: looking for dtd or xml schemas used in cocoon

2004-08-20 Thread Derek Hohls
Of course, there's nothing stopping any of us from stepping forward and volunterring to try and do this, even a preliminary version might help someone >>> [EMAIL PROTECTED] 2004/08/20 03:06:18 PM >>> OK, thank you very much, at least this answers my question ! Maybe it will be done when Cforms

RE: Portal Actions

2004-08-20 Thread JACOB, ERIC
Thanks a lot! So, if my understanding is correct, I need to write my own actions if a want to let the users customize their page, by adding or removing coplets, columns or tabs... In fact, all the administration tasks (like add/edit/delete a user for example) need to be written, am I right? Thank

Re: Handle Non-HTML Files

2004-08-20 Thread Bhaskar Rathod
qMax wrote: If i recall correctly, this common matching could be configured in cocoon/WEB-INF/web.xml ? Or what is purpose of those s ? Yah that should work fine. The only issue would be you should be able to determine or extract the resource directory name from request if you store your resou

Re: CForms / flow question

2004-08-20 Thread Jorg Heymans
ugh how obvious, thanks Bruno. Actually I don't think i need continuations for my usecase, and I read about the difference between sendPage() and showForm(). So i changed the showForm call to cocoon.sendPage("display", {"CocoonFormsInstance": form}); and i'm getting a classcastexception at at

Re: looking for dtd or xml schemas used in cocoon

2004-08-20 Thread David Verdin
OK, thank you very much, at least this answers my question ! Maybe it will be done when Cforms reach a stable state. Bruno Dumon a écrit : On Fri, 2004-08-20 at 11:50, David Verdin wrote: Hi, I'm looking for the dtds or xml schemas which are used in cocoon, especially those used to define the c

Re: looking for dtd or xml schemas used in cocoon

2004-08-20 Thread Bruno Dumon
On Fri, 2004-08-20 at 11:50, David Verdin wrote: > Hi, > > I'm looking for the dtds or xml schemas which are used in cocoon, > especially those used to define the cocoon forms generation documents > (defining the template, instance and definition namespaces). > > I would like to use a local cop

Re: CForms / flow question

2004-08-20 Thread Bruno Dumon
On Fri, 2004-08-20 at 14:35, Jorg Heymans wrote: > Hi, > > I want to continuously display a form (the submit results are in another > frame), saving the widgets' state in between submits. > > so i do > > while(true){ >var form = new Form(...); >form.showForm("blabla"); > >//some ca

CForms / flow question

2004-08-20 Thread Jorg Heymans
Hi, I want to continuously display a form (the submit results are in another frame), saving the widgets' state in between submits. so i do while(true){ var form = new Form(...); form.showForm("blabla"); //some call here to save the forms state to itself } Which method call am I missing? I a

Re: Problem with showing pictures from eXist database

2004-08-20 Thread Eelke Toonstra
Thanks for your answer, but it still doesn't work. When I point my browser to http://localhost:8080/exist/webdav/radiologist.jpg it gives the following error: HTTP ERROR: 500 Internal Server Error RequestURI=/exist/webdav/radiologist.jpg The eXist database output generates: 20 Aug 2004 14:14:51,

RE: CachingURICoplet versus URICoplet and Refresh

2004-08-20 Thread Philippe Guillard
Thanks a lot! On Fri, 2004-08-20 at 17:58, Carsten Ziegeler wrote: > Philippe Guillard wrote: > > > > Thanks Carsten, > > > > I profit you are here for a last question, same subject : > ;) > > > > > In CachingURI i develop coplets without trouble outside > > portal and know my links will be

Re[3]: Handle Non-HTML Files

2004-08-20 Thread qMax
Friday, August 20, 2004, 6:08:36 AM, [EMAIL PROTECTED] wrote: gRe> Yeah, it's simple, just use something like this: gRe> gRe> gRe> gRe> It will work properly, but there is a problem with mime-type. I think, there is gRe> no good method, just do matches for common types (and there set m

Re: Post automatically

2004-08-20 Thread Derek Hohls
Why not just modify the mail.xsp to handle the username and password parameters?... or build a master pipeline that aggregates info from two other pipelines; the original mail.xsp and a new handlelogin.xsp (its stilll not clear what you want to actually do with the login info so I am not sure what

Re: dynamcically altering a global variable

2004-08-20 Thread Paul Joseph
Yes, these are much better approaches expecially (imo) the xml approach as it has fewer "moving parts" - no quartz and also, it doesn't have the overhead of talking to a db. thx Paul --- Derek Hohls <[EMAIL PROTECTED]> wrote: > Alternatively you could be using flow for this and > reading the vari

Re: Post automatically

2004-08-20 Thread Adriano Smith
well i guess u r rightim stuck... This is the actual problem: Im trying to modify the cocoon webmail application developed by Bernhard huber. The only difference being...the first page login.xml. In the existing application input boxes are used to accept username and password. the file login.

RE: CachingURICoplet versus URICoplet and Refresh

2004-08-20 Thread Carsten Ziegeler
Philippe Guillard wrote: > > Thanks Carsten, > > I profit you are here for a last question, same subject : ;) > > In CachingURI i develop coplets without trouble outside > portal and know my links will be transfomed to events. Yepp. > > In URI coplets i find the only solution is to set > co

looking for dtd or xml schemas used in cocoon

2004-08-20 Thread David Verdin
Hi, I'm looking for the dtds or xml schemas which are used in cocoon, especially those used to define the cocoon forms generation documents (defining the template, instance and definition namespaces). I would like to use a local copy of these for validation and auto-completion purpose in Jedit.

RE: CachingURICoplet versus URICoplet and Refresh

2004-08-20 Thread Philippe Guillard
Thanks Carsten, I profit you are here for a last question, same subject : In CachingURI i develop coplets without trouble outside portal and know my links will be transfomed to events. In URI coplets i find the only solution is to set copletData/attributes via cl:link or bookmark and use them in

RE: Cookies

2004-08-20 Thread George Singer
Could someone give me a simple example of using cookies in coocoon regards georges <>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dynamcically altering a global variable

2004-08-20 Thread Derek Hohls
Alternatively you could be using flow for this and reading the variable from an xml file - along with any other useful info such as user name etc - and also checking the time using javascript in flow and testing if the last login was before/after midnight and then resetting as needed. AFAIK (a

Re: dynamcically altering a global variable

2004-08-20 Thread Jorg Heymans
Alternatively, you could log every logon to the system with a database timestamp and do checking there. It's just a matter of what is more familiar to you, there are various ways of achieving this. Paul Joseph wrote: Hi, I am wondering how best to do this in Cocoon: When a user logs in, the use