Re: [Proposal] Creating better portal urls

2005-09-06 Thread Carsten Ziegeler
Ok, the more I think about it, I could imagine using a url pre and post precessor. When a url (link) is created the usual way, a post processor can change the url and for example create url path elements instead of request parameters. For an incomming event, the url pre processor does the other way

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Carsten Ziegeler
Ralph Goers wrote: > > I beg to differ. I actually implemented pageLabels based upon explicit > requirements I was given from our web authors. i.e. they wanted a syntax > like pageLabel=maintab1.subnavitem2.thirdnav1. And while I will admit > that the event data passed to the portlet url is s

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: Sylvain Wallez wrote: Don't know much about the portal, but this proposal triggered a few thoughts. First of all, using path elements to identify objects and actions, and possibly allowing to have multiple pairs is likely to cause problems by forbidding the use

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: Ralph Goers wrote: Why? It seems cleaner to me to use parameters. The way it is implemented now uses the javax.portlet restricted namespace and it doesn't clutter up the url - which is typically used for navigation. I thought about adding the stuff to the url, b

Re: OT: O/R collection mapping [was: SQLTransformer]

2005-09-06 Thread Leszek Gawron
Antonio Gallardo wrote: Not sure is there can be a usecase where you will not need to store a value in the DB. But, let assume the special usecase exists, then the additional index should be "optional" and not obligatory as is now in hibernate. ;-) It is obligatory for mapping a List. You can m

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Carsten Ziegeler
Ralph Goers wrote: > > Why? It seems cleaner to me to use parameters. The way it is > implemented now uses the javax.portlet restricted namespace and it > doesn't clutter up the url - which is typically used for navigation. I > thought about adding the stuff to the url, but in the end it seem

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Carsten Ziegeler
Sylvain Wallez wrote: > Don't know much about the portal, but this proposal triggered a few > thoughts. > > First of all, using path elements to identify objects and actions, and > possibly allowing to have multiple pairs is likely to cause problems by > forbidding the use of relative URLs for

Re: Status of JXTemplate refactoring

2005-09-06 Thread Leszek Gawron
Joerg Heinicke wrote: On 07.09.2005 00:29, Leszek Gawron wrote: OK. So we have pluggable expression parser. I just wanted to have answers, not new code :) But thanks very much for it. Are other things coming as fast as this time when I just ask for them? What about real blocks? ;) Jörg As

Re: OT: O/R collection mapping [was: SQLTransformer]

2005-09-06 Thread Antonio Gallardo
Leszek Gawron wrote: Vadim Gritsenko wrote: Leszek Gawron wrote: - Marathon class: - name - place - date - thoseWhoFinishedTheRace collection which is a sorted list of those Persons who managed to get to the finish line. The list is sorted in an order of finishing so thoseWhoFinish

Re: Status of JXTemplate refactoring

2005-09-06 Thread Joerg Heinicke
On 07.09.2005 00:29, Leszek Gawron wrote: OK. So we have pluggable expression parser. I just wanted to have answers, not new code :) But thanks very much for it. Are other things coming as fast as this time when I just ask for them? What about real blocks? ;) Jörg

Re: Status of JXTemplate refactoring

2005-09-06 Thread Leszek Gawron
Daniel Fagerstrom wrote: Leszek Gawron wrote: Daniel Fagerstrom wrote: No, I use faulty terminology, I didn't mean expression parser but rather string template parser (or whatever we should call it). OK. So we have pluggable expression parser. I have tested it a bit but new test cases are a

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Ralph Goers
Sylvain Wallez wrote: Don't know much about the portal, but this proposal triggered a few thoughts. First of all, using path elements to identify objects and actions, and possibly allowing to have multiple pairs is likely to cause problems by forbidding the use of relative URLs for links,

Re: [EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Stefano Mazzocchi
Daniel Fagerstrom wrote: Done, hopefully. Any comments on the Gump and Maven2 discussion? http://marc.theaimsgroup.com/?t=11255200745&r=1&w=2 is that the descriptor that gump uses? wasn't it moved over to the gump repository? Upayavira, did you volunteer to make sure that the two becam

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: Ralph Goers wrote: Did you look at the ConvertableEvent and ConvertableEventFactory? The idea there was to allow events to be created using the information provided in the request. You can see implementations of this in FullScreenCopletEventFactory and PortletURL

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Sylvain Wallez
Carsten Ziegeler wrote: The current portal creates urls like ...portal?cocoon-portal-event=XXX for most links. There are some additional things in there, like the page labels and the bookmark action and some events can create more readable urls, but I think all of this has some disadvantages. N

TEST I had send some question in the maillist, but it had shown,

2005-09-06 Thread He Jiadong
this is only for test.

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Carsten Ziegeler
Ralph Goers wrote: > > Did you look at the ConvertableEvent and ConvertableEventFactory? The > idea there was to allow events to be created using the information > provided in the request. You can see implementations of this in > FullScreenCopletEventFactory and PortletURLProviderFactory. The

Re: [2.2] Using includes in the sitemap for components?

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: Ralph Goers wrote: Would I even be able to get a source resolver? You haven't read cocoon.xconf yet. Yes :) Cocoon itself uses a simple bootstrap source resolver which is able to do relative resolving and supports the context and resource protocol. So, we coul

Re: [Proposal] Remove aspect datas in the portal

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: The portal currently uses a highly configurable and absolutely complicated mechanism to add additional features to a coplet (or layout object): so called aspect datas. Two example (taken from the xconf configuration): THis adds to values to eac

Re: [EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Daniel Fagerstrom
Done, hopefully. Any comments on the Gump and Maven2 discussion? http://marc.theaimsgroup.com/?t=11255200745&r=1&w=2 /Daniel Stefano Mazzocchi wrote: Gump wrote: - [cocoon.javac] location: class org.apache.cocoon.core.osgi.OSGiLoggerManager.OSGiLogger

Re: [2.2] Using includes in the sitemap for components?

2005-09-06 Thread Carsten Ziegeler
Ralph Goers wrote: > > Would I even be able to get a source resolver? You haven't read > cocoon.xconf yet. > Yes :) Cocoon itself uses a simple bootstrap source resolver which is able to do relative resolving and supports the context and resource protocol. So, we could pass this to your compone

[Proposal] Remove aspect datas in the portal

2005-09-06 Thread Carsten Ziegeler
The portal currently uses a highly configurable and absolutely complicated mechanism to add additional features to a coplet (or layout object): so called aspect datas. Two example (taken from the xconf configuration): THis adds to values to each coplet indicating the d

Re: [Proposal] Creating better portal urls

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: The current portal creates urls like ...portal?cocoon-portal-event=XXX for most links. There are some additional things in there, like the page labels and the bookmark action and some events can create more readable urls, but I think all of this has some disadvantages. N

Re: [2.2] Using includes in the sitemap for components?

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: Ok a first version is there which is a base to continue the discussion - for some reason I don't know I named it "PropertyProvider" which is a simple interface with just one method. If such a property is set, an instance of the class is created and invoked. Now I can ima

Re: [EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Stefano Mazzocchi
Gump wrote: - [cocoon.javac] location: class org.apache.cocoon.core.osgi.OSGiLoggerManager.OSGiLogger [cocoon.javac]return isLevelEnabled(LogService.LOG_ERROR); [cocoon.javac] ^ [cocoon.javac] /x1/gump/public/workspac

[Proposal] Creating better portal urls

2005-09-06 Thread Carsten Ziegeler
The current portal creates urls like ...portal?cocoon-portal-event=XXX for most links. There are some additional things in there, like the page labels and the bookmark action and some events can create more readable urls, but I think all of this has some disadvantages. Now, I'm currently thinking

Re: [2.2] Using includes in the sitemap for components?

2005-09-06 Thread Carsten Ziegeler
Ralph Goers wrote: >>Ok, I think we can control this by...tata...properties...I think we can >>do something like a >>org.apache.cocoon.properties.controller=YOURCLASS|ANOTHERCLASS >>and this class has some interface and delivers the properties. >> >>How does this sound? >> >> > > This sounds jus

[EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project cocoon has an issue affecting its community integration. This issue affects 49 pr

[EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project cocoon has an issue affecting its community integration. This issue affects 49 pr

Re: [RT] flowscript in jruby anyone?

2005-09-06 Thread Leszek Gawron
Stefano Mazzocchi wrote: http://jruby.sourceforge.net/ Looks like current JRuby version has broken continuation support: http://jruby.sourceforge.net/release-announcement.shtml?0.8.1 I thought the major agreement was to have a single flowscript language in cocoon. Am I mistaken? -- Leszek G

Re: [RT] flowscript in jruby anyone?

2005-09-06 Thread Tony Collen
Stefano Mazzocchi wrote: http://jruby.sourceforge.net/ Cool. I'm still waiting for the Rails people to realize they have native continuation support and decide to take advantage of it :) Tony

Re: [RT] flowscript in jruby anyone?

2005-09-06 Thread Aurélien DEHAY
Hello Stefano Mazzocchi a écrit : > http://jruby.sourceforge.net/ > As a cocoon user, I'll love it. -- Aurélien

DO NOT REPLY [Bug 36524] New: - Can't set cookie path etc. used by LocaleAction

2005-09-06 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

[RT] flowscript in jruby anyone?

2005-09-06 Thread Stefano Mazzocchi
http://jruby.sourceforge.net/ -- Stefano.

Re: Jing validation component (was: JING Transformer...)

2005-09-06 Thread Pier Fumagalli
On 6 Sep 2005, at 10:14, Andreas Hartmann wrote: Pier Fumagalli wrote: [...] > It's in Subversion right now... 2.1.x branch, "validation" block. I tried it, it works nicely - thanks a lot! Unfortunately we need an isolated valdiation service (not a transformer), which I created using your

Re: OT: O/R collection mapping [was: SQLTransformer]

2005-09-06 Thread Leszek Gawron
Vadim Gritsenko wrote: Leszek Gawron wrote: - Marathon class: - name - place - date - thoseWhoFinishedTheRace collection which is a sorted list of those Persons who managed to get to the finish line. The list is sorted in an order of finishing so thoseWhoFinishedTheRace().get( 0 ) is

Re: Jing validation component (was: JING Transformer...)

2005-09-06 Thread Pier Fumagalli
On 6 Sep 2005, at 13:41, Andreas Hartmann wrote: Pier Fumagalli wrote: On 6 Sep 2005, at 10:14, Andreas Hartmann wrote: Pier Fumagalli wrote: [...] > It's in Subversion right now... 2.1.x branch, "validation" block. I tried it, it works nicely - thanks a lot! Unfortunately we need an isola

Re: Jing validation component (was: JING Transformer...)

2005-09-06 Thread Andreas Hartmann
Pier Fumagalli wrote: On 6 Sep 2005, at 10:14, Andreas Hartmann wrote: Pier Fumagalli wrote: [...] > It's in Subversion right now... 2.1.x branch, "validation" block. I tried it, it works nicely - thanks a lot! Unfortunately we need an isolated valdiation service (not a transformer), whi

Re: OT: O/R collection mapping [was: SQLTransformer]

2005-09-06 Thread Vadim Gritsenko
Leszek Gawron wrote: - Marathon class: - name - place - date - thoseWhoFinishedTheRace collection which is a sorted list of those Persons who managed to get to the finish line. The list is sorted in an order of finishing so thoseWhoFinishedTheRace().get( 0 ) is the winner. In this exa

[EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project cocoon has an issue affecting its community integration. This issue affects 49 pr

[EMAIL PROTECTED]: Project cocoon (in module cocoon) failed

2005-09-06 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project cocoon has an issue affecting its community integration. This issue affects 49 pr

Re: Status of JXTemplate refactoring

2005-09-06 Thread Daniel Fagerstrom
Leszek Gawron wrote: Daniel Fagerstrom wrote: No, I use faulty terminology, I didn't mean expression parser but rather string template parser (or whatever we should call it). For those who don't remember the discussions (which seem to include me and me :) Thanks for such a good summary

Re: Jing validation component (was: JING Transformer...)

2005-09-06 Thread Pier Fumagalli
On 6 Sep 2005, at 10:14, Andreas Hartmann wrote: Pier Fumagalli wrote: [...] > It's in Subversion right now... 2.1.x branch, "validation" block. I tried it, it works nicely - thanks a lot! Unfortunately we need an isolated valdiation service (not a transformer), which I created using your

Re: Status of JXTemplate refactoring

2005-09-06 Thread Leszek Gawron
Daniel Fagerstrom wrote: No, I use faulty terminology, I didn't mean expression parser but rather string template parser (or whatever we should call it). For those who don't remember the discussions (which seem to include me and me :) Thanks for such a good summary. One more thing though.

Re: Status of JXTemplate refactoring

2005-09-06 Thread Daniel Fagerstrom
Leszek Gawron wrote: Leszek Gawron wrote: To make the expressions completely plugable within the template framework, we need a expression parser interface and we need to make the expression parser implementation plugable in the Parser. Plugging one expression parser into the Parser is not

Jing validation component (was: JING Transformer...)

2005-09-06 Thread Andreas Hartmann
Pier Fumagalli wrote: [...] > It's in Subversion right now... 2.1.x branch, "validation" block. I tried it, it works nicely - thanks a lot! Unfortunately we need an isolated valdiation service (not a transformer), which I created using your code - mostly using copy & paste :( Would you be int

Re: Status of JXTemplate refactoring

2005-09-06 Thread Leszek Gawron
Leszek Gawron wrote: To make the expressions completely plugable within the template framework, we need a expression parser interface and we need to make the expression parser implementation plugable in the Parser. Plugging one expression parser into the Parser is not enough. Most of users wi

Re: Status of JXTemplate refactoring

2005-09-06 Thread Leszek Gawron
Daniel Fagerstrom wrote: Joerg Heinicke wrote: Hello, I was asked for a possible refactoring of the JXTemplateGenerator. Somebody wants to provide only a very limited set of functionality to his template writers: only JXPath (no JEXL), only one object model. He started with patching the ve

Re: [2.2] Using includes in the sitemap for components?

2005-09-06 Thread Ralph Goers
Carsten Ziegeler wrote: Ah, I think now I get it (sorry, early in the morning I sometimes need to wakeup): You're right. It is very early in the morning - a quarter to 1am to be exact. About time for bed since I have to be up at 5:30am. The plugin component we are talking about will in

Re: [2.2] Using includes in the sitemap for components?

2005-09-06 Thread Carsten Ziegeler
Ralph Goers wrote: > > > I don't think so. I really don't want to have two files with system > properties in them. As I said, we have an XML file that contains iniital > logging configuration along with system properties. We use this same > file (well, the contents might be different) in di

OT: O/R collection mapping [was: SQLTransformer]

2005-09-06 Thread Leszek Gawron
Antonio Gallardo wrote: Using "orderby" attribute - http://db.apache.org/ojb/docu/guides/repository.html#collection-descriptor There is no need of an extra field. you can do it same way in hibernate. see: http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#collections-sorted If y