Re: New service configuration type

2015-05-05 Thread Charlouze
Me neither. I was asking for this feature because tapestry is extensible in so may aspects that maybe, it could have been for configuration type. Le mar. 5 mai 2015 à 12:44, Lance Java lance.j...@googlemail.com a écrit : I'm not convinced that this should be a core concept as it's likely to be

Re: New service configuration type

2015-05-05 Thread Charlouze
I was just asking if it could be possible to add new custom configuration types. I've already develop what i need and I'm building the tree myself. It works well and it is very clear on how to contribute to the service. This email's purpose was to acquire more knowledge about tapestry. Le mar. 5

Re: New service configuration type

2015-05-05 Thread Thiago H de Paula Figueiredo
On Tue, 05 May 2015 09:36:55 -0300, Charlouze m...@charlouze.com wrote: Me neither. I was asking for this feature because tapestry is extensible in so may aspects Indeed it is . . . that maybe, it could have been for configuration type. But one of the most important ways Tapestry-IoC

Re: New service configuration type

2015-05-05 Thread Lance Java
Ok, so you don't think it should be a core concept but you also don't want to build the tree yourself? Something's gotta give! It's probably best to define the interface you'd like to interact with / contribute to. I'm sure there's a tapestry-ioc friendly way to achieve what you want.

Re: New service configuration type

2015-05-05 Thread Charlouze
I thought that tapestry was doing magic... I'm disapointed :D Le mar. 5 mai 2015 à 14:49, Thiago H de Paula Figueiredo thiag...@gmail.com a écrit : On Tue, 05 May 2015 09:36:55 -0300, Charlouze m...@charlouze.com wrote: Me neither. I was asking for this feature because tapestry is extensible

Re: New service configuration type

2015-05-05 Thread Charlouze
Haha ! The more concise is the answer, the more efficient we are :D Thanks :) Le lun. 4 mai 2015 à 23:00, Thiago H de Paula Figueiredo thiag...@gmail.com a écrit : On Mon, 04 May 2015 09:13:22 -0300, Charlouze m...@charlouze.com wrote: But i want to know if adding a configuration type is

Re: New service configuration type

2015-05-05 Thread Lance Java
I'm not convinced that this should be a core concept as it's likely to be different case by case. The TypeCoercer and it's CoercionTuple are another example of a tree like structure being built by an UnorderedConfiguration. https://tapestry.apache.org/type-coercion.html On 4 May 2015 13:14,

Re: New service configuration type

2015-05-04 Thread Lance Java
You could probably achieve this with an OrderedConfigurationNodeConfig Eg: public interface NodeConfig() { public String getName(); public String getParentName(); //optional public ListString getChildNames(); // optional } After all contributions, you could build a tree of nodes by

Re: New service configuration type

2015-05-04 Thread Charlouze
Thanks for your input Lance, you pictured what i had in mind when i was talking about the workaround. But i want to know if adding a configuration type is something that is doable ? Le lun. 4 mai 2015 à 13:51, Lance Java lance.j...@googlemail.com a écrit : You could probably achieve this with

Re: New service configuration type

2015-05-04 Thread Thiago H de Paula Figueiredo
On Mon, 04 May 2015 09:13:22 -0300, Charlouze m...@charlouze.com wrote: But i want to know if adding a configuration type is something that is doable ? No. (I guess I've just broken my record on the shortest answer in this mailing list, hehehe) -- Thiago H. de Paula Figueiredo Tapestry,

New service configuration type

2015-05-03 Thread Charlouze
Hey tapestry users, I need to retrieve in a service a configuration in a tree structure. I'd like to add a new service configuration type in order to achieve this. Is it possible ? I could have a workaround by having each contributed element stating their parent and build the tree in my service