Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-07 Thread Leszek Gawron
Vadim Gritsenko wrote: for(var=name,begin=expr,end=expr,step=expr) --- Is it necessary? Current jxtg does not have it (IIRC). it does. -- Leszek Gawron [EMAIL PROTECTED] Project Manager

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-06 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Just a reminder; before you guys start implementing one or another template language, could we have [VOTE] for one of the variants, have [PROPOSAL], or at least [SUMMARY]? :) Here, I just want to comment that I find way more intuitive and user friendly following

Re: [RT] do me a favor, don't call them taglibs

2004-12-05 Thread Glen Ezkovich
On Dec 4, 2004, at 10:52 PM, Stefano Mazzocchi wrote: Glen, I don't think we are talking about very different things. I know. I *completely* agree with you that the power of pipelines and SoC is exactly that: change one file and make all the others adjust. Damn, there wouldn't be a cocoon if

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-05 Thread Leszek Gawron
Roy G. Biv wrote: Any prohibition on (non-HTML) namespaced tags would imply to me that arbitrary namespaced attributes would be a no-no in Dreamweaver as well. Stefano, as I haven't ever used Dreamweaver for more than ten minutes, is this limitation a rendering issue or data entry issue? I

Re: [RT] do me a favor, don't call them taglibs

2004-12-05 Thread Daniel Fagerstrom
Stefano Mazzocchi wrote: snip/ Still, CSS is not enough because is not able to change the layout of things and, even worse, sometimes the style dictates the markup (example: if you want to use stuff like rounded boxes). OT For rounded corners at tabs you can use :before and :after pseudo

Re: [RT] do me a favor, don't call them taglibs

2004-12-05 Thread Roy G. Biv
Daniel Fagerstrom wrote: Stefano Mazzocchi wrote: snip/ Still, CSS is not enough because is not able to change the layout of things and, even worse, sometimes the style dictates the markup (example: if you want to use stuff like rounded boxes). OT For rounded corners at tabs you can use :before

Re: [RT] do me a favor, don't call them taglibs

2004-12-05 Thread Daniel Fagerstrom
Roy G. Biv wrote: Daniel Fagerstrom wrote: Stefano Mazzocchi wrote: snip/ Still, CSS is not enough because is not able to change the layout of things and, even worse, sometimes the style dictates the markup (example: if you want to use stuff like rounded boxes). OT For rounded corners at tabs

Re: [RT] do me a favor, don't call them taglibs

2004-12-05 Thread Stefano Mazzocchi
Daniel Fagerstrom wrote: Stefano Mazzocchi wrote: snip/ Still, CSS is not enough because is not able to change the layout of things and, even worse, sometimes the style dictates the markup (example: if you want to use stuff like rounded boxes). OT For rounded corners at tabs you can use :before

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Bertrand Delacretaz
Le 3 déc. 04, à 22:35, Christian Stocker a écrit : On 3.12.2004 21:50 Uhr, Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3)

[RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-04 Thread Daniel Fagerstrom
Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3) something that doesn't use the name taglib That's pretty much all you have to

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Daniel Fagerstrom
Antonio Gallardo wrote: On Vie, 3 de Diciembre de 2004, 15:35, Tony Collen dijo: Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3)

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Daniel Fagerstrom
Bertrand Delacretaz wrote: snip/ I think we need a) data templates (for a lack of a better word), to generate XML out of data (what JXTG does now), and b) presentation templates downstream to convert the XML to HTML or other presentation markup (currently covered by XSLT, far from ideal) - oo

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Bertrand Delacretaz
Le 4 déc. 04, à 14:14, Daniel Fagerstrom a écrit : Bertrand Delacretaz wrote: ...b) presentation templates downstream to convert the XML to HTML or other presentation markup (currently covered by XSLT, far from ideal) ...For b), being dreamweaver-compatible would be a big plus, allowing less

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Antonio Gallardo
On Sab, 4 de Diciembre de 2004, 6:58, Daniel Fagerstrom dijo: Antonio Gallardo wrote: On Vie, 3 de Diciembre de 2004, 15:35, Tony Collen dijo: Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Bertrand Delacretaz
Le 4 déc. 04, à 16:56, Antonio Gallardo a écrit : ...I think is better to extend what we have instead of defining a new language. We need to consolidate things while I understand is good to have a new research areas. So in anycase the JXTG refactoring is a must... I'd say keeping JXTG alive is a

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Antonio Gallardo
On Sab, 4 de Diciembre de 2004, 10:03, Bertrand Delacretaz dijo: Le 4 déc. 04, à 16:56, Antonio Gallardo a écrit : ...I think is better to extend what we have instead of defining a new language. We need to consolidate things while I understand is good to have a new research areas. So in

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Daniel Fagerstrom
Bertrand Delacretaz wrote: Le 4 déc. 04, à 14:14, Daniel Fagerstrom a écrit : Bertrand Delacretaz wrote: ...b) presentation templates downstream to convert the XML to HTML or other presentation markup (currently covered by XSLT, far from ideal) ...For b), being dreamweaver-compatible would be a

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Jonas Ekstedt
On Sat, 4 Dec 2004, Antonio Gallardo wrote: snip... I agree. Anyway, we (in Cocoon) have a current user base using JXTG that we cannot forget. If is necesary, I can do that. Some months ago, I spend a week understanding how the JXTG works. While I don't consider myself an expert. I thing we

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-04 Thread Jonas Ekstedt
On Sat, 4 Dec 2004, Daniel Fagerstrom wrote: snip... if(test) -- example: div do=if(count(cart/item) == 0) Your cart is empty div How would you implement choose/when? snip... Several directives -- So, how do we handle multiple directives for one

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-04 Thread Leszek Gawron
Daniel Fagerstrom wrote: macro(name,param-name,...,param-name) --- example: table do=macro(mytable,list,td-class) tr do=forEach($list) td class=${$class}${item}/td /tr /table We also need an evalBody as in JXTG. And maybe we should have a possibilty

Re: [RT] do me a favor, don't call them taglibs (Please describe DreamWeaver)

2004-12-04 Thread Tim Larson
On Sat, Dec 04, 2004 at 09:37:10AM +0100, Bertrand Delacretaz wrote: For b), being dreamweaver-compatible would be a big plus, allowing less technical people to create templates themselves. Using Dreamweaver or not, that's not the point: DW-compatibility also means that the templating

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Bertrand Delacretaz
Le 4 déc. 04, à 18:56, Stefano Mazzocchi a écrit : Bertrand Delacretaz wrote: ...I think we need a) data templates (for a lack of a better word), to generate XML out of data (what JXTG does now), and b) presentation templates downstream to convert the XML to HTML or other presentation markup

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-04 Thread Leszek Gawron
Jonas Ekstedt wrote: Several directives -- So, how do we handle multiple directives for one element? We could handle the TAL example above like: p do=let(x=/a/long/path/from/the/root;if(x);content(x/txt);attributes(class=x/class) Ex Text /p Isn't there a risk that attribute

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Stefano Mazzocchi
Bertrand Delacretaz wrote: Le 4 déc. 04, à 16:56, Antonio Gallardo a écrit : ...I think is better to extend what we have instead of defining a new language. We need to consolidate things while I understand is good to have a new research areas. So in anycase the JXTG refactoring is a must... I'd

Re: [RT] do me a favor, don't call them taglibs (Please describe DreamWeaver)

2004-12-04 Thread Niclas Hedhman
On Sunday 05 December 2004 02:00, Tim Larson wrote: Perhaps I am not the only person on this list that has never used DreamWeaver... DreamWeaver is loved by many page designers as it manages the various resources and on-page placements well (seen from the eye of the designer). The concept is

Re: [RT] do me a favor, don't call them taglibs (Please describe DreamWeaver)

2004-12-04 Thread Stefano Mazzocchi
Tim Larson wrote: On Sat, Dec 04, 2004 at 09:37:10AM +0100, Bertrand Delacretaz wrote: For b), being dreamweaver-compatible would be a big plus, allowing less technical people to create templates themselves. Using Dreamweaver or not, that's not the point: DW-compatibility also means that the

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-04 Thread Roy G. Biv
Daniel Fagerstrom wrote: Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3) something that doesn't use the name taglib That's

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Glen Ezkovich
On Dec 3, 2004, at 3:33 PM, Ralph Goers wrote: Glen Ezkovich said: On Dec 3, 2004, at 2:50 PM, Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver Why? I really don't want HTML designers touching my templates. I want them to work

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Roy G. Biv
Daniel Fagerstrom wrote: And it might make a big difference, from the users point of view, by making it possible to use a single tool for the whole presentation pipeline, and making presentation templates way easier than raw XSLT, which is a major stumbling block for many people. We might want

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Roy G. Biv
Stefano Mazzocchi wrote: What we need is a template language. Period. Something that converts data *structures* into SAX events. Whether you use it for data or presentation or whatever else, it's up to you. Once again, it looks like I should have just read all the comments before replying

Re: [RT] Attribute Driven Templates (Was: [RT] do me a favor, don't call them taglibs)

2004-12-04 Thread Roy G. Biv
Roy G. Biv wrote: 2. Namespaced tag or attribute: may not be compatible with Dreamweaver (strikes me as a serious limitation that needs to be addressed by the Dreamweaver developers IMHO), but can guarantee well-formedness. Nevermind. Forget I said this. Dreamweaver supports namespaced

Re: [RT] do me a favor, don't call them taglibs (TAL-like two-step templating?)

2004-12-04 Thread Daniel Fagerstrom
Roy G. Biv wrote: Daniel Fagerstrom wrote: snip/ You're right no need to optimize until we know if it is needed. AFAICS the only reasonable way of accessing the XML input is things like XPath that in general need access to the complete XML-tree. And in that case we can reuse XSLT processor

Re: [RT] do me a favor, don't call them taglibs

2004-12-04 Thread Stefano Mazzocchi
Glen Ezkovich wrote: On Dec 3, 2004, at 3:33 PM, Ralph Goers wrote: Glen Ezkovich said: On Dec 3, 2004, at 2:50 PM, Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver Why? I really don't want HTML designers touching my

[RT] do me a favor, don't call them taglibs

2004-12-03 Thread Stefano Mazzocchi
All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3) something that doesn't use the name taglib That's pretty much all you have to do to make me happy. --

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Glen Ezkovich
On Dec 3, 2004, at 2:50 PM, Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver Why? I really don't want HTML designers touching my templates. I want them to work withe the data received from my generator and transform that

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Davanum Srinivas
What's the closest equivalent to what you have in mind :) -- dims On Fri, 03 Dec 2004 15:50:30 -0500, Stefano Mazzocchi [EMAIL PROTECTED] wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Ralph Goers
Glen Ezkovich said: On Dec 3, 2004, at 2:50 PM, Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver Why? I really don't want HTML designers touching my templates. I want them to work withe the data received from my

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Tony Collen
Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3) something that doesn't use the name taglib That's pretty much all you have to

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Christian Stocker
On 3.12.2004 21:50 Uhr, Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3) something that doesn't use the name taglib That's

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Antonio Gallardo
On Vie, 3 de Diciembre de 2004, 15:35, Tony Collen dijo: Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with #1) 3) something that

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Upayavira
Antonio Gallardo wrote: On Vie, 3 de Diciembre de 2004, 15:35, Tony Collen dijo: Stefano Mazzocchi wrote: All I ask from a template language: 1) something that HTML designers can edit with Dreamweaver 2) something that doesn't use namespaced tags to identify dynamic scopes (clashes with

Re: [RT] do me a favor, don't call them taglibs

2004-12-03 Thread Antonio Gallardo
On Vie, 3 de Diciembre de 2004, 16:44, Upayavira dijo: That might help in the short term. But there's something special that happens in Cocoon - it has happened with flow, then CForms, but hasn't happened with JXTemplate. When everyone rounds on a technology, and thoroughly backs it. And that