RE: T5: Service disambiguation

2008-07-30 Thread Russell Brown
Thanks. That isn't what I originally implemented but it will do the job just as well. My problem is/was that SecureCookiesImpl uses the Cookies service as a delegate (the constructor expects Cookies as a parameter) but doesn't extend CookiesImpl...although it could. That would be one solution. I w

T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Hi, I'm just looking for a way to configure the visibility of services within the IoC container. The target would be have module internal services i.e. these internal services can be injected to services within the same module only. A short example to illustrate, in the MyCoreModule I want

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Renat Zubairov
Hello Michael, Would would be the usecases for this feature? Why would you need it? Are you also planning to have versions for the modules? How are dependencies between the modules are resolved? Renat 2008/7/30 Michael Zehender <[EMAIL PROTECTED]>: > Hi, > > I'm just looking for a way to configu

Re: What if Tapestry's I18N was just "UTF-8"?

2008-07-30 Thread Renat Zubairov
+1 to UTF IMHO it's advantage that T5 will take care about it. Concerning the one/two bytes penalties one can always use gzipped output :) 2008/7/30 Josh Long <[EMAIL PROTECTED]>: > +1 me too > > On Tue, Jul 29, 2008 at 1:04 PM, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > >> From me too. >> >> Uli

T5: RC? Beta? Alpha? Final?

2008-07-30 Thread Martin Kersten
Hi there, what is the considered status of Tapestry 5? Is it officially called a final yet? The homepage still states beta-status... . Since I have no information about the current bug-frequency I can not guess when it is 'officially' production ready. Also it feels production ready since 5.0

Re: Access control with dispatchers and annotations

2008-07-30 Thread Massimo Lusetti
On Tue, Jul 29, 2008 at 3:54 PM, Sven Homburg <[EMAIL PROTECTED]> wrote: > massimo, > > i ask me sometimes, now i ask you ;-) > why do you use the the Restriced annotation not directly > your code RestrictedWorker class seach for Restriced class an injected > some metas into the page/component > a

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Hello Renat, I'm currently building a product that will integrate with 3rd party modules. I want them to use only the published services to prevent them of developing bad hacks using the Internal Services instead, which might change from version to version. I want to provide backwards com

Re: first tapestry component

2008-07-30 Thread Argo Vilberg
Thanks, i got detail stack trace in tomcat log. but how to set tapestry application development mode. In manual: tapestry.production-mode A flag (true or false) indicating whether the application is running in production or in development. The default is true, which means that runtime excepti

Re: Access control with dispatchers and annotations - problem

2008-07-30 Thread photos
I too have been trying to implement what is on the wiki. This is really doing my head in (not helped by the fact the wiki solution http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess does not have all the "bits" of code necessary for a newbie like myself to get it working. For insta

Sorting in Grid

2008-07-30 Thread Moritz Gmelin
Hi, If I wanted to change the sorting system of a grid colum. e.g ignore lower/uppercase for sorting. How could I do this? Regards Moritz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Howard Lewis Ship
This is actually a feature of Tapestry IoC that was stripped out long ago (that is, private services within modules). HiveMind, the precursor to Tapestry 5 IoC, has this feature. On Wed, Jul 30, 2008 at 1:56 AM, Michael Zehender <[EMAIL PROTECTED]> wrote: > Hello Renat, > > I'm currently building

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
May I ask why the decision was made to strip it out? I'm sorry, I don't want to be rude but I'd just like to know. Maybe I'd need to redesign a few things if I understand ... Thanks, Michael 2008/7/30, Howard Lewis Ship <[EMAIL PROTECTED]>: > This is actually a feature of Tapestry IoC that was s

Re: T5: RC? Beta? Alpha? Final?

2008-07-30 Thread Daniel Jue
T5 is still beta, until the homepage says otherwise. Daniel On Wed, Jul 30, 2008 at 4:31 AM, Martin Kersten <[EMAIL PROTECTED]> wrote: > Hi there, > > what is the considered status of Tapestry 5? Is it officially called > a final yet? > The homepage still states beta-status... . Since I have no

Re: Sorting in Grid

2008-07-30 Thread Daniel Jue
Here is one way to do it: For the object associated with the column you want to sort, you override the comparable method. I am not sure if there is an existing JDK Object for "case-insensitive String", but you could create one. Overriding comparable is how you do the custom sorting. There are p

Re: T5: RC? Beta? Alpha? Final?

2008-07-30 Thread Howard Lewis Ship
Still beta. Still need to sort out DateField localization and a few advanced use cases related to Ajax and to user input validation. On Wed, Jul 30, 2008 at 7:22 AM, Daniel Jue <[EMAIL PROTECTED]> wrote: > T5 is still beta, until the homepage says otherwise. > > Daniel > > On Wed, Jul 30, 2008 a

Re: T5: RC? Beta? Alpha? Final?

2008-07-30 Thread Thiago H. de Paula Figueiredo
Em Wed, 30 Jul 2008 11:49:51 -0300, Howard Lewis Ship <[EMAIL PROTECTED]> escreveu: Still beta. Still need to sort out DateField localization and a few advanced use cases related to Ajax and to user input validation. Will they include updating more than one zone (or component) in the same

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Renat Zubairov
That sounds for me very similar to what OSGI already does quite well, IMHO Tapestry 5 IOC OSGI integration would be pretty interesting to see. Concerning private/public services/interfaces you may consider using some compile time checks/warnings when such things happening, for example AspectJ based

Re: Access control with dispatchers and annotations - problem

2008-07-30 Thread Martijn Brinkers (List)
Could you try to move all non-page classes/interfaces out of the pages package (same applies to components). So move Private.java to some package other than in components, mixins, base, pages Martijn On Wed, 2008-07-30 at 10:41 +0100, [EMAIL PROTECTED] wrote: > I too have been trying to implem

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Howard Lewis Ship
Part of Tapestry 5 is "simplify, simplify". HiveMind had qualified service ids and service visibility, but with the move to Tapestry 5, prompted by other containers such as Guice, I started to question why some of those features are in place. I found that all the "private" services were in one of

Re: What if Tapestry's I18N was just "UTF-8"?

2008-07-30 Thread Howard Lewis Ship
On Wed, Jul 30, 2008 at 1:29 AM, Renat Zubairov <[EMAIL PROTECTED]> wrote: > +1 to UTF > > IMHO it's advantage that T5 will take care about it. > Concerning the one/two bytes penalties one can always use gzipped output :) Something that Tapestry 5.1 should just take care of automatically. > > 200

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Thanks, that hint was great! Its exactly what I was looking for :-) On Jul 30, 2008, at 5:31 PM, Renat Zubairov wrote: That sounds for me very similar to what OSGI already does quite well, IMHO Tapestry 5 IOC OSGI integration would be pretty interesting to see. Concerning private/public service

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Michael Zehender
Thanks for the insight. I fully agree. On Jul 30, 2008, at 6:37 PM, Howard Lewis Ship wrote: Part of Tapestry 5 is "simplify, simplify". HiveMind had qualified service ids and service visibility, but with the move to Tapestry 5, prompted by other containers such as Guice, I started to question

Re: Sorting in Grid

2008-07-30 Thread Moritz Gmelin
OK, but then I would have to dramatically change all models I use for grids. To use some transient properties of the data returning CaseInsensitiveStrings for the actual property I wanted to display. I was rather hoping for some very T5-like-elegant way to either replace the default Compara

Re: Looking for a t5 contractor

2008-07-30 Thread Thiago H. de Paula Figueiredo
Em Tue, 29 Jul 2008 13:04:38 -0300, Dan Adams <[EMAIL PROTECTED]> escreveu: Hey everyone, Hi! I have a t5 project that is need of full-time contractor over the next 3 months. Working remote is fine. Please feel free to contact me at the number below any time or email me if interested. I

Re: Looking for a t5 contractor [Apologize]

2008-07-30 Thread Thiago H. de Paula Figueiredo
I'm deeply ashamed of myself for answering Dan's message to the list and not to him. I'm sorry. Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5-IOC: Visibility of Services

2008-07-30 Thread Renat Zubairov
Glad that my comments were at least somehow helpful, you can also check messages from Igor Drobiazko in this and in tap-dev lists, he is now trying to integrate Tapestry with OSGI and already solved some of the problems with that. BR Renat 2008/7/30 Michael Zehender <[EMAIL PROTECTED]>: > Thanks,

URL parameters or context?

2008-07-30 Thread Algirdas
I'm writing custom grid component with paging, sorting, etc. (also migrating from Tapestry 4.0.2 to T5). I need to pass page number, page size, sorting order and so on in url. There is this new "context" thing and wonder if I should use it. That is, my old implementation was myapp/product?id=1

Re: URL parameters or context?

2008-07-30 Thread Renat Zubairov
IMHO passing page number as page activation context is not RESTFull :) depends on the use cases off course. I think you would better use parameter for that. Renat 2008/7/30 Algirdas <[EMAIL PROTECTED]>: > > I'm writing custom grid component with paging, sorting, etc. > (also migrating from Tapest

Re: Sorting in Grid

2008-07-30 Thread Howard Lewis Ship
The GridDataSource has control over sorting. If you provide an instance of GridDataSource as the source parameter, rather than a List, you'll have the control you need. On Wed, Jul 30, 2008 at 11:38 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > OK, > > but then I would have to dramatically chang

Re: Looking for a t5 contractor [Apologize]

2008-07-30 Thread Andreas Andreou
Well, why be ashamed of yourself? Perhaps you hit the wrong reply-to button, but there's nothing wrong with wanting to work with your favorite framework + you've been active on this list for more than 1.5y so most ppl should know you. Anyway, good luck :) On Wed, Jul 30, 2008 at 9:52 PM, Thiago H

T5: index page in pages package acts as a catchall

2008-07-30 Thread Chris Lewis
Hello list, Imagine an app with a few page packages: com.t5app.pages com.t5app.pages.users com.t5app.pages.admins Now assume I have an index page in the main package, com.t5app.pages.Index, as my home page. I have an app like this as I'm sure most do, but am having an unexpected and undesired si

TreeView sample

2008-07-30 Thread Tan [EMAIL PROTECTED]
hi, i'm newbie in tapestry and t5components. i'm currently using t5components/Accordion as my menu. but i was thinking to put some sub t5components/Accordion or tree view inside the Detail. because tutorial is using private String _detail = "wording" . is there any way to attach my sub compo