Re: svn commit: r169856 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java

2005-05-12 Thread Ralph Goers
Nathaniel Alfred wrote: One must synchonize the put and get operation on the map itself in order to protect its internal consistency. Well, yeah. A synchronized block that synchronizes on the map accomplishes that. Map map = Collections.synchronizedMap(new HashMap()); ... map.put(key, valu

RE: svn commit: r169856 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java

2005-05-12 Thread Nathaniel Alfred
One must synchonize the put and get operation on the map itself in order to protect its internal consistency. Map map = Collections.synchronizedMap(new HashMap()); ... map.put(key, value); ... value = map.get(key); is just easier to read than Map map = new HashMap(); ... synchron

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Ralph Goers
Fine. Leave the WeakHashmap the way it is. But synchronizing on the servlet session is a -1 for me. That could have unknown consequences since the object is owned by the container, not Cocoon. See my other post. Sorry - my ISP has had severe email problems the last few days and so I have been

Re: [Vote] POJOfied Environment

2005-05-12 Thread Reinhard Poetz
Daniel Fagerstrom wrote: [X] Go ahead and implement the environment extensions proposed above. [ ] Implement the environment extensions but use the *Map() syntax instead. [ ] Don't extend the environment. -- Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach {Software Engineerin

RE: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Nathaniel Alfred
You are proposing to pollute the container session with a parasitic attribute. Even if the Serialable issue of that wrapper object was solved, that is still a -1 for me. Let's keep the session clean! Cheers, Alfred. > -Original Message- > From: Ralph Goers [mailto:[EMAIL PROTECTED] > Se

RE: [CForms] having more control over showing/processing a form

2005-05-12 Thread Bart Molenkamp
Ok, thanks! Bart. > -Oorspronkelijk bericht- > Van: Sylvain Wallez [mailto:[EMAIL PROTECTED] > Verzonden: donderdag 12 mei 2005 19:04 > Aan: dev@cocoon.apache.org > Onderwerp: Re: [CForms] having more control over showing/processing a form > > Bart Molenkamp wrote: > > >Well, I still ha

Re: Community health

2005-05-12 Thread Bertrand Delacretaz
Le 13 mai 05, à 07:19, Niclas Hedhman a écrit : Can you explain this a bit further? Because I have no clue what you think is the actual problem. I think Vadim sees a potential denial of service attack, if your system allows one to generate images of a very large size. -Bertrand smime.p7s Descr

Re: Community health

2005-05-12 Thread Niclas Hedhman
On Friday 13 May 2005 12:21, Vadim Gritsenko wrote: > Niclas Hedhman wrote: > > The most accessible site we have done can be pre-viewed at > > http://www.gensbol.dk/gallery/search.html (running Cocoon 2.1.6) > > (Search a bird type, such as "eagle", "sparrow" ant hit enter) > > Layout seems broken

Re: Community health

2005-05-12 Thread Vadim Gritsenko
Niclas Hedhman wrote: The most accessible site we have done can be pre-viewed at http://www.gensbol.dk/gallery/search.html (running Cocoon 2.1.6) (Search a bird type, such as "eagle", "sparrow" ant hit enter) Layout seems broken in ff - copyright line over the image. The thumbnails are generated

Re: Community health

2005-05-12 Thread Niclas Hedhman
On Thursday 12 May 2005 22:59, Stefano Mazzocchi wrote: > > FYI, approx the same "tone" made me turn my back to Cocoon in the pre-2.0 > > times, a time when I could have stepped in and do some hard and useful > > work. (Those sins are forgiven, but let's avoid making new ones :o) ) > > Pff, BS, you

DO NOT REPLY [Bug 32586] - [Patch] Allow ImageReader to process other image formats than JPEG

2005-05-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: svn commit: r169856 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java

2005-05-12 Thread Ralph Goers
Why is "sessions" a synchronized map if you are only accessing it in a block synchronized on the session. I would much prefer that you a) not use a synchronized map b) synchronize on the map instead of the session. Is there a reason that this wouldn't work? Ralph [EMAIL PROTECTED] wrote: Author:

Re: [Vote] POJOfied Environment

2005-05-12 Thread Ralph Goers
Nathaniel Alfred wrote: Daniel Fagerstrom wrote: To simplify and make the environment handling in flow, jxtg, modules and possibly other places more coherent, I propose that we extend the Cocoon environment apis with some utility methods that makes the environment more reflection friendly. Se

Re: Document publishing worklow (was Re: Expert pre-defined/community post-defined?)

2005-05-12 Thread Ross Gardler
Conal Tuohy wrote: Ross Gardler wrote: Stefano Mazzocchi wrote: I like the notion of daisy -> forrest -> out makes very good sense. Now we just need to find a way to automate a little that workflow, but without introducing security vulnerabilities. How about this (bullet summaries followed by

RE: Document publishing worklow (was Re: Expert pre-defined/community post-defined?)

2005-05-12 Thread Conal Tuohy
Ross Gardler wrote: > Stefano Mazzocchi wrote: > > > I like the notion of > > > > daisy -> forrest -> out > > > > makes very good sense. > > > > Now we just need to find a way to automate a little that > workflow, but > > without introducing security vulnerabilities. > > How about this (bu

Re: [Vote] POJOfied Environment

2005-05-12 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Vadim Gritsenko wrote: Daniel Fagerstrom wrote: More specifically I propose is that we extend o.a.c.environment.Request with: Map getAttributes(); Map getParameters(); Map getHeaders(); What about cookies? (There is Map getCookieMap() but naming convention is differe

Re: [Vote] POJOfied Environment

2005-05-12 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: More specifically I propose is that we extend o.a.c.environment.Request with: Map getAttributes(); Map getParameters(); Map getHeaders(); What about cookies? (There is Map getCookieMap() but naming convention is different). and o.a.c.environment.Session and o.a.c.en

Re: This mailing list

2005-05-12 Thread Bertrand Delacretaz
Le 12 mai 05, à 18:38, Ralph Goers a écrit : ...Is it just me? I'm able to send messages to other places just fine... I haven't noticed any problems yesterday or today. -Bertrand smime.p7s Description: S/MIME cryptographic signature

This mailing list

2005-05-12 Thread Ralph Goers
I seem to be having serious problems with this mailing list. Yesterday I noticed I seemed to be getting messages twice and the volume seemed a little low. Last night I posted a few messages, the first of which showed up in my in box 4 hours after sending them. This morning I woke up to find

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Ralph Goers
In addition, I really don't like the implementation that was checked in. Frankly, this is a case where I would look into leveraging backport-util-concurrent (http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/) if that code can be made to work in JDK 1.3. What I would look to do is

Re: [Vote] POJOfied Environment

2005-05-12 Thread Daniel Fagerstrom
Vadim Gritsenko wrote: Daniel Fagerstrom wrote: More specifically I propose is that we extend o.a.c.environment.Request with: Map getAttributes(); Map getParameters(); Map getHeaders(); What about cookies? (There is Map getCookieMap() but naming convention is different). It would be natural t

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Ralph Goers
In addition, I really don't like the implementation that was checked in. Frankly, this is a case where I would look into leveraging backport-util-concurrent (http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/) if that code can be made to work in JDK 1.3. What I would look to do is

Re: [Vote] POJOfied Environment

2005-05-12 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Please cast your votes: [X] Go ahead and implement the environment extensions proposed above. [ ] Implement the environment extensions but use the *Map() syntax instead. [ ] Don't extend the environment. Sylvain -- Sylvain WallezAnyware Technologie

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Bertrand Delacretaz
Le 12 mai 05, à 15:04, Mark Leicester a écrit : ...As I said above, over the next few weeks I'll attempt to demonstrate what I imagine to be the myriad of potential benefits of the Drupal approach... Sounds interesting - I'll stay tuned! -Bertrand smime.p7s Description: S/MIME cryptographic sig

Re: [Vote] POJOfied Environment

2005-05-12 Thread Bertrand Delacretaz
Le 12 mai 05, à 16:48, Daniel Fagerstrom a écrit : [+1 ] Go ahead and implement the environment extensions proposed above. -Bertrand smime.p7s Description: S/MIME cryptographic signature

Re: [Vote] POJOfied Environment

2005-05-12 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: More specifically I propose is that we extend o.a.c.environment.Request with: Map getAttributes(); Map getParameters(); Map getHeaders(); What about cookies? (There is Map getCookieMap() but naming convention is different). and o.a.c.environment.Session and o.a.c.en

Re: [Vote] POJOfied Environment

2005-05-12 Thread Carsten Ziegeler
> [+1 ] Go ahead and implement the environment extensions proposed above. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/

Re: ApacheCon / Hackathon / Blockathon

2005-05-12 Thread Carsten Ziegeler
Reinhard Poetz wrote: > > Maybe we should talk about our goals for the Blockathon first. From my POV > these > are: > > - What's a block? > - What's Cocoon core? > - How to implement real blocks? Consider different alternatives like > Eclipse OSGi implementation, Pier's kernel, etc. t

RE: [Vote] POJOfied Environment

2005-05-12 Thread Nathaniel Alfred
Daniel Fagerstrom wrote: > To simplify and make the environment handling in flow, jxtg, modules and > possibly other places more coherent, I propose that we extend the Cocoon > environment apis with some utility methods that makes the environment > more reflection friendly. See > http://marc.th

Re: CForms and XHTML

2005-05-12 Thread Marco Rolappe
hi, encountered the same problem. my rough idea, before also switching to the html serializer, was that somehow the order of stuff in seems to be important, and using cforms the stylesheets wildly mixed s and

Re: Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Joerg Heinicke
Nathaniel Alfred swx.com> writes: > I think there is a memory leak in > http://svn.apache.org/viewcvs?rev=169806&view=rev. > There is a strong reference session.wrappedSession from value to key in > > // create new wrapper > session = new HttpSession(serve

Document publishing worklow (was Re: Expert pre-defined/community post-defined?)

2005-05-12 Thread Ross Gardler
Stefano Mazzocchi wrote: I like the notion of daisy -> forrest -> out makes very good sense. Now we just need to find a way to automate a little that workflow, but without introducing security vulnerabilities. How about this (bullet summaries followed by textual description. Daisy as editing envi

Re: [CForms] having more control over showing/processing a form

2005-05-12 Thread Sylvain Wallez
Bart Molenkamp wrote: Well, I still have a little problem. Your solution works fine, as long as I add submit widgets to the form definition. This works fine for many case for me, but I still have a case where this isn't a solution. I have a form, and on that form there are two date fields, and an u

Re: Community health

2005-05-12 Thread Vadim Gritsenko
Tony Collen wrote: I asked, "Why don't we just use Castor XML?", but the main arguments I got were "A two-step process isn't neccesarily bad" and "Castor's documentation was bad." Perhaps I should have asked why we were using XML to interface with Oracle in the first place ;) Answer: "This part

Re: [RT] POJOfied Environment

2005-05-12 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Vadim Gritsenko wrote: Daniel Fagerstrom wrote: As Vadim pointed out in an earlier discussion this is done in Java faces: http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/javax/faces/context/ExternalContext.html So what I propose is that we extend o.a.c.environm

Re: [RT] POJOfied Environment

2005-05-12 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Sylvain Wallez wrote: The case of parameters however should be considered carefully, as ServletRequest provides getParameterMap() since servlet 2.4 (or 2.3?). Having it named getParameter() in our environment may be confusing for people used to the servlet API. That com

Re: CForms and XHTML

2005-05-12 Thread Sylvain Wallez
Ugo Cei wrote: Hi, I'm currently developing a website which has some forms and of course I'm using CForms (2.1.7). The webapp uses the XHTML serializer (XHTML 1.0 transitional) and this breaks completely the rendering of forms (at least using Firefox). if I use the HTML serializer, forms are di

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Sylvain Wallez
Sebastien Arbogast wrote: Such management tools should allow people that have the responsibility to validate and publish content on the website to quickly grasp the job they have to do. For example, I may want to have a quick look at all changed documents that have the "forms" "flowscript" or "site

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Sebastien Arbogast
> http://www.mail-archive.com/dev@cocoon.apache.org/msg05839.html > http://marc.theaimsgroup.com/?t=11056873003&r=1&w=2 > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106691291922337&w=2 Thanks for the link, we gonna use it as an idea-source. > There is very little that you guys said that

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Ross Gardler
Steven Noels wrote: On 12 May 2005, at 16:36, Upayavira wrote: ... I was just chatting with Sylvain about this. We don't have time to create an xdocs export for Daisy, but if all goes well, we'll be doing Daisy Books (aggregation and book-like publishing) over summer. Those would target XSL-FO a

CForms and XHTML

2005-05-12 Thread Ugo Cei
Hi, I'm currently developing a website which has some forms and of course I'm using CForms (2.1.7). The webapp uses the XHTML serializer (XHTML 1.0 transitional) and this breaks completely the rendering of forms (at least using Firefox). if I use the HTML serializer, forms are displayed OK but

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Stefano Mazzocchi
Sebastien Arbogast wrote: Such management tools should allow people that have the responsibility to validate and publish content on the website to quickly grasp the job they have to do. For example, I may want to have a quick look at all changed documents that have the "forms" "flowscript" or "site

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Stefano Mazzocchi
Mark Leicester wrote: I think you are right, I probably have dismissed the "existing stuff" a bit early. In that case, I pledge to keep in touch with the current effort. I certainly value ongoing dialogue. However, I wonder out loud: should we be putting documentation behind the barrier of commi

Re: Community health

2005-05-12 Thread Tony Collen
Sebastien Arbogast wrote: And have you tried, Cocoon/Hibernate/Spring designed with AndroMDA ? This is wonderful the time you save. You just compile your UML model, write your business methods, create your forms, templates and flowscript and there you go. It's high-level, it's wonderful... as soon

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Sebastien Arbogast
> Such management tools should allow people that have the responsibility > to validate and publish content on the website to quickly grasp the job > they have to do. For example, I may want to have a quick look at all > changed documents that have the "forms" "flowscript" or "sitemap" tags, > witho

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Steven Noels
On 12 May 2005, at 16:36, Upayavira wrote: To validate whether a document should be published, i.e. to review it, which involves clearly seeing what the author changed. Check. A document has been updated: http://cocoondev.org/daisydocs-1_3/37 Document ID: 37 Branch: daisydocs-1_3 Language: en Name

Re: Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Stefano Mazzocchi
Linden H van der (MI) wrote: As explained in a private mail to Sebastien, I've taken up the http://www.cocoondev.org/handbook site that Steven graciously set up for me. I intend to work on the "mid-level" tutorial that was the initial goal for the Cocoon In Action project. Doing it in Daisy is muc

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Sylvain Wallez
Steven Noels wrote: On 12 May 2005, at 15:56, Sylvain Wallez wrote: - inline WYSIWYS (what you see is what you structure, i.e. htmlarea or something similar, but no wiki or XML syntax) Check. - version management, so that validated content can be published on cocoon.apache.org while newer versio

Re: Community health

2005-05-12 Thread Stefano Mazzocchi
Niclas Hedhman wrote: On Thursday 12 May 2005 10:56, Stefano Mazzocchi wrote: So, stop wasting your words ranting and tell me how you would solve the problems we have if you had commit access. Although I sympathize with your situation, but the 'tone' is a bit harsh, wouldn't you say. FYI, approx

Re: [Vote] POJOfied Environment

2005-05-12 Thread Leszek Gawron
Daniel Fagerstrom wrote: To simplify and make the environment handling in flow, jxtg, modules and possibly other places more coherent, I propose that we extend the Cocoon environment apis with some utility methods that makes the environment more reflection friendly. See http://marc.theaimsgroup

Re: [Vote] POJOfied Environment

2005-05-12 Thread Daniel Fagerstrom
More specifically I propose is that we extend o.a.c.environment.Request with: Map getAttributes(); Map getParameters(); Map getHeaders(); and o.a.c.environment.Session and o.a.c.environment.Context with: Map getAttributes(); [+1] Go ahead and implement the environment extensions proposed ab

Re: Community health

2005-05-12 Thread Sebastien Arbogast
> Messy or poor documentation is a reason why some open-source software > around here at my new job (a large regional medical care network) gets > disqualified from use. If it takes the devs around here too long to > figure out how to use it, out the door it goes. And it's totally normal because

[Vote] POJOfied Environment

2005-05-12 Thread Daniel Fagerstrom
To simplify and make the environment handling in flow, jxtg, modules and possibly other places more coherent, I propose that we extend the Cocoon environment apis with some utility methods that makes the environment more reflection friendly. See http://marc.theaimsgroup.com/?t=11158198321&r

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Upayavira
Steven Noels wrote: On 12 May 2005, at 15:56, Sylvain Wallez wrote: - inline WYSIWYS (what you see is what you structure, i.e. htmlarea or something similar, but no wiki or XML syntax) Check. - version management, so that validated content can be published on cocoon.apache.org while newer versio

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Steven Noels
On 12 May 2005, at 15:56, Sylvain Wallez wrote: - inline WYSIWYS (what you see is what you structure, i.e. htmlarea or something similar, but no wiki or XML syntax) Check. - version management, so that validated content can be published on cocoon.apache.org while newer versions are being written

Re: CForms view model? (was Re: Externalizing JXTG tag configuration)

2005-05-12 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez wrote: Vadim Gritsenko wrote: Depending on how it's done, it can be a good thing. IMHO, public XMLizable getLabel(); seems like a right approach to me; and templating language should be more than happy to work with XMLizable objects, so to render a label

Re: Community health

2005-05-12 Thread Tony Collen
Sebastien Arbogast wrote: Can it be shown that this downward trend is not a result of improving documentation? Or maybe it's because the documentation is still so "messy" (I'm sure it's going to change with the new effort but it's still the case) that more and more people try Cocoon, don't man

Re: [RT] POJOfied Environment

2005-05-12 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez wrote: Daniel Fagerstrom wrote: In the current #{$cocoon/request/request/protocol} thread we (again) discuss problems with the environment access in JXTG. The problems comes from that we have copied part of the servlet api in our environment abstraction an

RE: Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Linden H van der (MI)
Great! Thanks for the offer, but let's wait until there is more than one or two pages of information. Bye, Helma > -Original Message- > From: Ross Gardler [mailto:[EMAIL PROTECTED] > Sent: Thursday, 12 May, 2005 14:48 > To: dev@cocoon.apache.org > Subject: Re: Cocoon documentation (was:

Re: Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Sylvain Wallez
Mark Leicester wrote: Hi Bertrand, I for one have been looking at the wiki regularly, making little tweaks here and there: nothing major, but it's a regular haunt of mine. You can verify this at: http://wiki.apache.org/cocoon/RecentChanges (Sébastien seems to have contributed a fair bit recentl

Re: CForms view model? (was Re: Externalizing JXTG tag configuration)

2005-05-12 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Vadim Gritsenko wrote: Depending on how it's done, it can be a good thing. IMHO, public XMLizable getLabel(); seems like a right approach to me; and templating language should be more than happy to work with XMLizable objects, so to render a label you don't need anything

Re: [RT] POJOfied Environment

2005-05-12 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Daniel Fagerstrom wrote: In the current #{$cocoon/request/request/protocol} thread we (again) discuss problems with the environment access in JXTG. The problems comes from that we have copied part of the servlet api in our environment abstraction and that it contains method

Re: Feedback on SpreadCocoon, and a suggestion for CocoonGT.org

2005-05-12 Thread Steven Noels
On 10 May 2005, at 19:20, Mark Leicester wrote: Steven, it occurs to me that Drupal may be well suited to the CocoonGT site. Drupal offers ecommerce modules (Worldpay, Paypal, invoicing etc.) and plenty of people have used Drupal for exactly this kind of purpose (see http://drupal.org/node/5931)

Re: [RT] POJOfied Environment

2005-05-12 Thread Daniel Fagerstrom
Vadim Gritsenko wrote: Daniel Fagerstrom wrote: As Vadim pointed out in an earlier discussion this is done in Java faces: http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/javax/faces/context/ExternalContext.html So what I propose is that we extend o.a.c.environment.Request with: Map ge

Re: CForms view model? (was Re: Externalizing JXTG tag configuration)

2005-05-12 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Daniel Fagerstrom wrote: Can you elaborate? What should be the "view model" The view model should IMO be a (minimal) read only subset of o.a.c.forms.formmodel.Widget and ContainerWidget, preferably POJO friendly. From such a view point the widget hierarchy is a simple tree

Expert pre-defined/community post-defined? [WAS: Community health]

2005-05-12 Thread Mark Leicester
Hi Bertrand, I for one have been looking at the wiki regularly, making little tweaks here and there: nothing major, but it's a regular haunt of mine. You can verify this at: http://wiki.apache.org/cocoon/RecentChanges (Sébastien seems to have contributed a fair bit recently too!) Back when Oute

RE: [CForms] having more control over showing/processing a form

2005-05-12 Thread Bart Molenkamp
Well, I still have a little problem. Your solution works fine, as long as I add submit widgets to the form definition. This works fine for many case for me, but I still have a case where this isn't a solution. I have a form, and on that form there are two date fields, and an update action. Every t

RE: Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Nathaniel Alfred
>-Original Message- >From: news [mailto:[EMAIL PROTECTED] Behalf Of Joerg Heinicke >Sent: Donnerstag, 12. Mai 2005 11:16 >To: dev@cocoon.apache.org >Subject: Re: [IMP] synchronization on session object in Cocoon >I have an implementation with map in HttpRequest and without >"double-checke

Re: Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Ross Gardler
Linden H van der (MI) wrote: As explained in a private mail to Sebastien, I've taken up the http://www.cocoondev.org/handbook site that Steven graciously set up for me. I intend to work on the "mid-level" tutorial that was the initial goal for the Cocoon In Action project. Doing it in Daisy is muc

Re: Streaming strings in JXTemplate

2005-05-12 Thread Sylvain Wallez
Leszek Gawron wrote: Sylvain Wallez wrote: Ahem... back to another hot thread: would be good to update the docs to mention these two little attributes I wasn't aware of and can be s useful. not implemented yet :)) I will commit that ASAP. Oooops, sorry!! I though it was already there!!! Sylv

Re: Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Steven Noels
On 12 May 2005, at 14:01, Sylvain Wallez wrote: Linden H van der (MI) wrote: As explained in a private mail to Sebastien, I've taken up the http://www.cocoondev.org/handbook site that Steven graciously set up for me. I intend to work on the "mid-level" tutorial that was the initial goal for the

RE: Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Linden H van der (MI)
> >As explained in a private mail to Sebastien, I've taken up the > >http://www.cocoondev.org/handbook site that Steven > graciously set up for me. I intend to work on the "mid-level" > tutorial that was the initial goal for the Cocoon In Action project. > >Doing it in Daisy is much easier for m

Re: Streaming strings in JXTemplate

2005-05-12 Thread Vadim Gritsenko
Leszek Gawron wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: or even better: xinclude has parse attribute: where parse is either "text" or "xml". what about @strip-root attribute? Is there an equivalent? No :-) Vadim

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Joerg Heinicke
Sylvain Wallez apache.org> writes: > >This solution looks really cool and elegant. Unfortunately > >HttpSessionActivationListener is Servlet Spec 2.3. In Cocoon 2.1. we are > >still on 2.2 and I guess (and suggest) we will stay with that. So only the > >WeakHashMap solution remains. > > > 2.2,

Re: Streaming strings in JXTemplate

2005-05-12 Thread Vadim Gritsenko
Ugo Cei wrote: Il giorno 12/mag/05, alle 14:08, Leszek Gawron ha scritto: what do we do with 1. generate SAX events - if value is invalid this breaks the whole view 2. parse to DOM, catch exceptions, use @lenient to throw or silently omit. Either 1 or give users a choice. Defaulting to DOM might

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Ugo Cei wrote: Il giorno 12/mag/05, alle 14:08, Leszek Gawron ha scritto: what do we do with 1. generate SAX events - if value is invalid this breaks the whole view 2. parse to DOM, catch exceptions, use @lenient to throw or silently omit. Either 1 or give users a choice. Defaulting to DOM might

Re: Streaming strings in JXTemplate

2005-05-12 Thread Ugo Cei
Il giorno 12/mag/05, alle 14:08, Leszek Gawron ha scritto: what do we do with 1. generate SAX events - if value is invalid this breaks the whole view 2. parse to DOM, catch exceptions, use @lenient to throw or silently omit. Either 1 or give users a choice. Defaulting to DOM might be too resourc

Re: Streaming strings in JXTemplate

2005-05-12 Thread Reinhard Poetz
Sylvain Wallez wrote: or even better: Ahem... back to another hot thread: would be good to update the docs to mention these two little attributes I wasn't aware of and can be s useful. I think they haven't been implemented yet, at least if I interprete the code of the JXTemplateGenerator co

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Daniel Fagerstrom wrote: Agree, but we should implement them first ;) one question only: what do we do with 1. generate SAX events - if value is invalid this breaks the whole view 2. parse to DOM, catch exceptions, use @lenient to throw or silently omit. -- Leszek Gawron

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: If you want to make it even simpler we could either have another instruction that parses strings to SAX, or have some attribute on jx:out for parsing the argument. ? Almost one liner.. some users also ask

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Sylvain Wallez wrote: Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streame

Re: Streaming strings in JXTemplate

2005-05-12 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streame

Re: Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Sylvain Wallez
Linden H van der (MI) wrote: As explained in a private mail to Sebastien, I've taken up the http://www.cocoondev.org/handbook site that Steven graciously set up for me. I intend to work on the "mid-level" tutorial that was the initial goal for the Cocoon In Action project. Doing it in Daisy is muc

Re: Streaming strings in JXTemplate

2005-05-12 Thread Sylvain Wallez
Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streamer object to JXTemplate

Re: Streaming strings in JXTemplate

2005-05-12 Thread Vadim Gritsenko
Leszek Gawron wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: If you want to make it even simpler we could either have another instruction that parses strings to SAX, or have some attribute on jx:out for parsing the argument. ? Almost one liner.. some users also asked about it long time a

Cocoon documentation (was: RE: Community health)

2005-05-12 Thread Linden H van der (MI)
As explained in a private mail to Sebastien, I've taken up the http://www.cocoondev.org/handbook site that Steven graciously set up for me. I intend to work on the "mid-level" tutorial that was the initial goal for the Cocoon In Action project. Doing it in Daisy is much easier for me, since it

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Leszek Gawron wrote: Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streamer object to JXTemplate - assign this objec

Re: Streaming strings in JXTemplate

2005-05-12 Thread Leszek Gawron
Daniel Fagerstrom wrote: Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streamer object to JXTemplate - assign this object to a variable - ca

Re: Streaming strings in JXTemplate

2005-05-12 Thread Daniel Fagerstrom
Reinhard Poetz wrote: Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streamer object to JXTemplate - assign this object to a variable - call the toSAX method and p

Streaming strings in JXTemplate

2005-05-12 Thread Reinhard Poetz
Can it be that difficult to stream a string as SAX events in JXTemplate, or did I overlook a simpler solution? - implement your own streamer object with a toSAX method - pass a streamer object to JXTemplate - assign this object to a variable - call the toSAX method and pass the content handle

RE: Community health

2005-05-12 Thread Nathaniel Alfred
>-Original Message- >From: Sebastien Arbogast [mailto:[EMAIL PROTECTED] >Sent: Mittwoch, 11. Mai 2005 23:16 >To: dev@cocoon.apache.org >Subject: Re: Community health >Personally I think of mailing lists as really old-fashioned ways of >communicate, all the more so as they are more and more

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Sylvain Wallez
Joerg Heinicke wrote: Sylvain Wallez apache.org> writes: Or more simply we could store the wrapper in the session itself using an attribute. That way it would be guaranteed to be created only once. Yes, that's another possibility I also had in mind. But on the one hand this

DO NOT REPLY [Bug 33637] - i18n messages don't work for required fields

2005-05-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Hackathon at ApacheCon EU 2005? (was Re: [CANCELLED] Hackthon London 30 April/1st May 2005)

2005-05-12 Thread Henning Schmiedehausen
I'd come earlier if we start earlier. :-) (after all it is just a two hours drive from here). Speaking of a location: The KDE people were at the Filmakademie Ludwigsburg (http://www.filmakademie.de/) for their last KDE summit (which is quite close to Stuttgart). They even got some support from th

RE: [CForms] having more control over showing/processing a form

2005-05-12 Thread Bart Molenkamp
> > Does it answer your need? > Yes it does, thank you! > Sylvain > > -- > Sylvain WallezAnyware Technologies > http://apache.org/~sylvainhttp://anyware-tech.com > Apache Software Foundation Member Research & Technology Director Bart.

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Joerg Heinicke
Sylvain Wallez apache.org> writes: > Or more simply we could store the wrapper in the session itself using an > attribute. That way it would be guaranteed to be created only once. > > > >>>Yes, that's another possibility I also had in mind. But on the one hand > >>>this

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Joerg Heinicke
Sylvain Wallez apache.org> writes: > This approach has the problem of entering a synchronized block each time > getSession is called. Although this may not that be much a problem in > this particular case because it's unlikely that many parallel requests > exist for a single request, we may to

Re: [IMP] synchronization on session object in Cocoon

2005-05-12 Thread Joerg Heinicke
Ralph Goers dslextreme.com> writes: > serverSession is a local variable. Synchronizing it accomplishes nothing > since every caller gets their own copy. Sytnchronizing on a member of > the HttpRequest object also accomplishes nothing. Huh? Why shall synchronization not work? It is not synched

Re: Form macros used without flowscript

2005-05-12 Thread Sylvain Wallez
Reinhard Poetz wrote: I have the need for using form macros but my application doesn't use flowscript as controller. AFAICS line 11: makes it impossible to access the form object as my controller (an action) doesn't set the variable "CocoonFormsInstance". Is there any way to fill this variable

Form macros used without flowscript

2005-05-12 Thread Reinhard Poetz
I have the need for using form macros but my application doesn't use flowscript as controller. AFAICS line 11: makes it impossible to access the form object as my controller (an action) doesn't set the variable "CocoonFormsInstance". Is there any way to fill this variable from within an action

  1   2   >