Re: [RT] Cforms selection-lists

2005-05-29 Thread Sylvain Wallez
Joerg Heinicke wrote: On 28.05.2005 14:45, Sylvain Wallez wrote: So this must be handled entirely either in the pipeline or in the selection-list. +1 You're right in saying that a pipeline querying a database cannot easily be cached. Now we have in the scratchpad (and this should IMO be

Re: [RT] Cforms selection-lists

2005-05-29 Thread Sylvain Wallez
Antonio Gallardo wrote: On Sab, 28 de Mayo de 2005, 7:45, Sylvain Wallez dijo: Antonio Gallardo wrote: Hi: Yesterday, I posted a simple RT on how to improve cforms dynamic selection list performance. After getting a huge responses and a lot interest from the cocoon dev list. :-)

Re: [ANN] This week in Cocoon - Real Blocks and OSGi

2005-05-29 Thread Sylvain Wallez
Mark Leicester wrote: Hello, I've started writing a This week in Cocoon column, over on http://www.planetcocoon.com. Each week I'll be covering Cocoon community news, digesting hot topics from the mailing lists, digging into the archives to give you a bit of background information. It's

Re: [RT] Cforms selection-lists

2005-05-29 Thread Joerg Heinicke
On 29.05.2005 10:10, Sylvain Wallez wrote: I don't see why you consider it as pollution. Request attributes do exist, and their purpose is to provide temporary storage for the various things that participate in processing a request and are isolated either in space (different classes) or time

Re: [RT] Cforms selection-lists

2005-05-29 Thread Joerg Heinicke
On 29.05.2005 04:03, Antonio Gallardo wrote: Per form is not a good option, IMHO because I suppose the life of the form can have more than one request. Please correct me if I am wrong here. You are correct. I meant only a part of the form lifecycle, the form processing during a request.

[Fwd: jxpath and namespaces]

2005-05-29 Thread Leszek Gawron
What do you say if we extend JXTemplateGenerator ExpressionContext with namespaces support? Every namespace that is registered on the jxtg template could also be registered at JXPathContext. Read the mail from [EMAIL PROTECTED] below. Original Message Subject: jxpath and

Re: Possible memory leak when handle-errors is called

2005-05-29 Thread Carsten Ziegeler
Reinhard Poetz wrote: I noticed that the memory consumption of my 2.2 applications (I haven't looked into BRANCH_2.1.X yet) is steadily increasing. First I blamed the HTMLGenerator, then I found out that the produced HTML contains a lot of img, script, link and iframe tags. Those tags

Re: [Fwd: jxpath and namespaces]

2005-05-29 Thread Daniel Fagerstrom
Leszek Gawron wrote: What do you say if we extend JXTemplateGenerator ExpressionContext with namespaces support? Every namespace that is registered on the jxtg template could also be registered at JXPathContext. Sound usefull, any idea about how to implement it? /Daniel

Re: [RT] Cforms selection-lists

2005-05-29 Thread Antonio Gallardo
On Dom, 29 de Mayo de 2005, 3:21, Sylvain Wallez dijo: Antonio Gallardo wrote: On Sab, 28 de Mayo de 2005, 7:45, Sylvain Wallez dijo: Antonio Gallardo wrote: No problem. You have a need, you explain it and start implementing, and we discuss :-) Hehe! :-S - each field in a repeater can

Cforms: Setting up @dynamic programatically in a SelectionList.

2005-05-29 Thread Antonio Gallardo
Hi, It's me again! BTW, dunno, if I am asking to much from cforms? Sorry if this is the case. :-) Question: In definition.xml, how in javascript code we can set an attribute? Or I want to know how to build programatically a DSL like: fd:selection-list src=cocoon:/myDSL.data dynamic=true/ I

Move selections list java files to: o.a.c.forms.datatype.selectionlist

2005-05-29 Thread Antonio Gallardo
Hi: While playing with SelectionList, I thougt this is a good idea to have all of them on the same place as already are the Convertors, typeImpl and Validation Rules. Right now we can do that easily. cforms is still considered unstable. WDYT? Best Regards, Antonio Gallardo.

Re: Server-side image map in CForms ?

2005-05-29 Thread oceatoon
I have been doing waaay too much GIS stuff ... I saw something about map and straight away thought you meant geo-map :-) What is geo-map ? is this a current project ? I'm looking for simple (dynamic clickable points on map, with possibility to play on the gfx styling) GIS systems, are there

Re: Server-side image map in CForms ?

2005-05-29 Thread oceatoon
The map-viewing platform I envisage will be very simple and work even with very big fonts and buttons, and it should do this without JavaScript, frames and mouse (I mean, mouse is considered an optional, useful, but not necessary). Very interesting, Maps are largely laking around internet

Re: Cform: Field 2 SelectionList, and the otherway??

2005-05-29 Thread oceatoon
2 interfaces? I only see org.apache.cocoon.forms.formmodel.SelectableWidget. It has no removeSelectionList(), but a javadoc comment at setSelectionList(SelectionList): Thanks Joerg I finally found my way on this. the removeSelectionList() was the solution. sorry for not closing that post

Re: [Fwd: jxpath and namespaces]

2005-05-29 Thread Sylvain Wallez
Leszek Gawron wrote: What do you say if we extend JXTemplateGenerator ExpressionContext with namespaces support? Every namespace that is registered on the jxtg template could also be registered at JXPathContext. Definitely needed, as not seeing the document's namespaces from XPath

Re: Cforms: Setting up @dynamic programatically in a SelectionList.

2005-05-29 Thread Sylvain Wallez
Antonio Gallardo wrote: Hi, It's me again! BTW, dunno, if I am asking to much from cforms? Sorry if this is the case. :-) Asking too much? Hey Antonio, CForms is powerful because it answers its user's needs! Question: In definition.xml, how in javascript code we can set an attribute?

Re: Move selections list java files to: o.a.c.forms.datatype.selectionlist

2005-05-29 Thread Sylvain Wallez
Antonio Gallardo wrote: Hi: While playing with SelectionList, I thougt this is a good idea to have all of them on the same place as already are the Convertors, typeImpl and Validation Rules. Makes sense. If we're to move some classes around, I'd like to move Convertor into datatype (it's

Re: Possible memory leak when handle-errors is called

2005-05-29 Thread Reinhard Poetz
Carsten Ziegeler wrote: Reinhard Poetz wrote: I noticed that the memory consumption of my 2.2 applications (I haven't looked into BRANCH_2.1.X yet) is steadily increasing. First I blamed the HTMLGenerator, then I found out that the produced HTML contains a lot of img, script, link and iframe

Re: [ANN] This week in Cocoon - Real Blocks and OSGi

2005-05-29 Thread Carlos M. S. Bento Nogueira
Hi there! Anything targeted to newbies is always welcome :)) From my personal point of view, a news blog is something interesting but most of times not very usefull to a real newbie, e.g. someone like me who comes from de JSP world and found cocoon never knowing nothing about it. If some

CForms:Selection List generated Repeater ??

2005-05-29 Thread oceatoon
Hi everyone As I can see there are quite a bit of movement around selection-list, I'll reopen an old request of mine about repeaters being able to be generated from a selection list. meaning if a selection list is positionned on a widget inside a repeater, the repeater will generate as many rows

[OT] Re: Server-side image map in CForms ?

2005-05-29 Thread Jorg Heymans
oceatoon wrote: I have been doing waaay too much GIS stuff ... I saw something about map and straight away thought you meant geo-map :-) What is geo-map ? is this a current project ? I'm looking for simple (dynamic clickable points on map, with possibility to play on the gfx styling)

Re: CForms:Selection List generated Repeater ??

2005-05-29 Thread Sylvain Wallez
oceatoon wrote: Hi everyone As I can see there are quite a bit of movement around selection-list, I'll reopen an old request of mine about repeaters being able to be generated from a selection list. meaning if a selection list is positionned on a widget inside a repeater, the repeater will

Re: Move selections list java files to: o.a.c.forms.datatype.selectionlist

2005-05-29 Thread Antonio Gallardo
On Dom, 29 de Mayo de 2005, 7:32, Sylvain Wallez dijo: Antonio Gallardo wrote: Hi: While playing with SelectionList, I thougt this is a good idea to have all of them on the same place as already are the Convertors, typeImpl and Validation Rules. Makes sense. If we're to move some classes

Re: CForms:Selection List generated Repeater ??

2005-05-29 Thread Antonio Gallardo
On Dom, 29 de Mayo de 2005, 11:31, oceatoon dijo: Hi everyone As I can see there are quite a bit of movement around selection-list, I'll reopen an old request of mine about repeaters being able to be generated from a selection list. Meaning if a selection list is positionned on a widget