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
 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, Charlouze m...@charlouze.com wrote:

  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 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 calculating
   actual children combining getParentName() with getChildNames() where
   appropriate. You could contribute multiple times to the same Node.
  
 



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 mai 2015 à 15:19, Lance Java lance.j...@googlemail.com a écrit :

 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 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 accomplish that is exactly  
through distributed configuration, so how could you contribute another  
distributed configuration using distributed configuration? :D


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



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
  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 accomplish that is exactly
 through distributed configuration, so how could you contribute another
 distributed configuration using distributed configuration? :D

 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




tapestry split button

2015-05-05 Thread Chung Khanh Duy
Hi experts,

Do you know any example about mixins for split button for Tapestry ? I
appreciate.

Thanks.


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 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, Java and Hibernate consultant and developer
 http://machina.com.br

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: tapestry split button

2015-05-05 Thread Dimitris Zenios
Hi

By split button you mean bootstrap button groups?


On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy chungkhanhduy1...@gmail.com
 wrote:

 Hi experts,

 Do you know any example about mixins for split button for Tapestry ? I
 appreciate.

 Thanks.



Re: tapestry split button

2015-05-05 Thread Chung Khanh Duy
Hi,

Yes, it is similar with
http://foundation.zurb.com/docs/components/split_buttons.html.

Thanks.

On Tue, May 5, 2015 at 4:00 PM, Dimitris Zenios dimitris.zen...@gmail.com
wrote:

 Hi

 By split button you mean bootstrap button groups?


 On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy 
 chungkhanhduy1...@gmail.com
  wrote:

  Hi experts,
 
  Do you know any example about mixins for split button for Tapestry ? I
  appreciate.
 
  Thanks.
 




-- 
Chung Khánh Duy
Project Support Manager
Formos


Re: tapestry split button

2015-05-05 Thread Chung Khanh Duy
I intend to write a new component and use it many places in project if
possible. That is the reason why I am finding a good example for mixins.
Example you can use t:button  as usual and then assign the mixins if you
want it as dropdown button.

Thanks.

On Tue, May 5, 2015 at 4:14 PM, Dimitris Zenios dimitris.zen...@gmail.com
wrote:

 Why do you need a mixin for that.This is plain html there.What exactly are
 trying to achieve?

 On Tue, May 5, 2015 at 12:03 PM, Chung Khanh Duy 
 chungkhanhduy1...@gmail.com wrote:

  Hi,
 
  Yes, it is similar with
  http://foundation.zurb.com/docs/components/split_buttons.html.
 
  Thanks.
 
  On Tue, May 5, 2015 at 4:00 PM, Dimitris Zenios 
 dimitris.zen...@gmail.com
  
  wrote:
 
   Hi
  
   By split button you mean bootstrap button groups?
  
  
   On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy 
   chungkhanhduy1...@gmail.com
wrote:
  
Hi experts,
   
Do you know any example about mixins for split button for Tapestry ?
 I
appreciate.
   
Thanks.
   
  
 
 
 
  --
  Chung Khánh Duy
  Project Support Manager
  Formos
 




-- 
Chung Khánh Duy
Project Support Manager
Formos


Re: tapestry split button

2015-05-05 Thread Chung Khanh Duy
Thanks for your suggestion. I will

On Tue, May 5, 2015 at 4:20 PM, Dimitris Zenios dimitris.zen...@gmail.com
wrote:

 I would go with a custom component directly instead of button and mixin

 On Tue, May 5, 2015 at 12:18 PM, Chung Khanh Duy 
 chungkhanhduy1...@gmail.com wrote:

  I intend to write a new component and use it many places in project if
  possible. That is the reason why I am finding a good example for mixins.
  Example you can use t:button  as usual and then assign the mixins if
 you
  want it as dropdown button.
 
  Thanks.
 
  On Tue, May 5, 2015 at 4:14 PM, Dimitris Zenios 
 dimitris.zen...@gmail.com
  
  wrote:
 
   Why do you need a mixin for that.This is plain html there.What exactly
  are
   trying to achieve?
  
   On Tue, May 5, 2015 at 12:03 PM, Chung Khanh Duy 
   chungkhanhduy1...@gmail.com wrote:
  
Hi,
   
Yes, it is similar with
http://foundation.zurb.com/docs/components/split_buttons.html.
   
Thanks.
   
On Tue, May 5, 2015 at 4:00 PM, Dimitris Zenios 
   dimitris.zen...@gmail.com

wrote:
   
 Hi

 By split button you mean bootstrap button groups?


 On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy 
 chungkhanhduy1...@gmail.com
  wrote:

  Hi experts,
 
  Do you know any example about mixins for split button for
 Tapestry
  ?
   I
  appreciate.
 
  Thanks.
 

   
   
   
--
Chung Khánh Duy
Project Support Manager
Formos
   
  
 
 
 
  --
  Chung Khánh Duy
  Project Support Manager
  Formos
 




-- 
Chung Khánh Duy
Project Support Manager
Formos


Re: tapestry split button

2015-05-05 Thread Dimitris Zenios
Why do you need a mixin for that.This is plain html there.What exactly are
trying to achieve?

On Tue, May 5, 2015 at 12:03 PM, Chung Khanh Duy 
chungkhanhduy1...@gmail.com wrote:

 Hi,

 Yes, it is similar with
 http://foundation.zurb.com/docs/components/split_buttons.html.

 Thanks.

 On Tue, May 5, 2015 at 4:00 PM, Dimitris Zenios dimitris.zen...@gmail.com
 
 wrote:

  Hi
 
  By split button you mean bootstrap button groups?
 
 
  On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy 
  chungkhanhduy1...@gmail.com
   wrote:
 
   Hi experts,
  
   Do you know any example about mixins for split button for Tapestry ? I
   appreciate.
  
   Thanks.
  
 



 --
 Chung Khánh Duy
 Project Support Manager
 Formos



Re: tapestry split button

2015-05-05 Thread Dimitris Zenios
I would go with a custom component directly instead of button and mixin

On Tue, May 5, 2015 at 12:18 PM, Chung Khanh Duy 
chungkhanhduy1...@gmail.com wrote:

 I intend to write a new component and use it many places in project if
 possible. That is the reason why I am finding a good example for mixins.
 Example you can use t:button  as usual and then assign the mixins if you
 want it as dropdown button.

 Thanks.

 On Tue, May 5, 2015 at 4:14 PM, Dimitris Zenios dimitris.zen...@gmail.com
 
 wrote:

  Why do you need a mixin for that.This is plain html there.What exactly
 are
  trying to achieve?
 
  On Tue, May 5, 2015 at 12:03 PM, Chung Khanh Duy 
  chungkhanhduy1...@gmail.com wrote:
 
   Hi,
  
   Yes, it is similar with
   http://foundation.zurb.com/docs/components/split_buttons.html.
  
   Thanks.
  
   On Tue, May 5, 2015 at 4:00 PM, Dimitris Zenios 
  dimitris.zen...@gmail.com
   
   wrote:
  
Hi
   
By split button you mean bootstrap button groups?
   
   
On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy 
chungkhanhduy1...@gmail.com
 wrote:
   
 Hi experts,

 Do you know any example about mixins for split button for Tapestry
 ?
  I
 appreciate.

 Thanks.

   
  
  
  
   --
   Chung Khánh Duy
   Project Support Manager
   Formos
  
 



 --
 Chung Khánh Duy
 Project Support Manager
 Formos



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, Charlouze m...@charlouze.com wrote:

 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 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 calculating
  actual children combining getParentName() with getChildNames() where
  appropriate. You could contribute multiple times to the same Node.