Re: [T5] Any component Bis

2007-08-03 Thread David Avenante
Yes thank you Nick.

I've create my own Any component from T5 5.0.3 sources ;)

Regards


Re: [T5] Any component Bis

2007-08-01 Thread Nick Westgate

May as well use the original. I've put it here:
http://wiki.apache.org/tapestry/Tapestry5AnyComponent

Please update or add examples of its use.
I think Any was prematurely deprecated.

Cheers,
Nick.


David Avenante wrote:

Yes, after investigation you're right.
So I think I need to re-implement an Any component ;)

Thank you for your input.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Any component Bis

2007-08-01 Thread David Avenante
Yes, after investigation you're right.
So I think I need to re-implement an Any component ;)

Thank you for your input.


Re: [T5] Any component Bis

2007-08-01 Thread Evan Rawson - Work
after some more research it seems that mixins have to be applied to a 
specific component type of specific instance of a component type. i dont 
think you can mixin for generics. i think a component minus a template is 
more what your looking for.


~evan
- Original Message - 
From: "David Avenante" <[EMAIL PROTECTED]>

To: "Tapestry users" 
Sent: Wednesday, August 01, 2007 3:31 PM
Subject: [T5] Any component Bis



Hi,

The Any component is gone and now

...

is now just:

...

but is it possible since it's gone to add a mixin to and element like

My layout

When I try this case tapestry throw me this error :

You may not specify mixins for element  because it does not
represent a component (which requires either an id attribute or a type
attribute)

Ok so a :

My layout

Embedded component 'subLayout' has no type. You should specify a type
in the component template, or define the component inside class 

Any solution ?

Thanks.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[T5] Any component Bis

2007-08-01 Thread David Avenante
Hi,

The Any component is gone and now

...

is now just:

...

but is it possible since it's gone to add a mixin to and element like

My layout

When I try this case tapestry throw me this error :

You may not specify mixins for element  because it does not
represent a component (which requires either an id attribute or a type
attribute)

Ok so a :

My layout

Embedded component 'subLayout' has no type. You should specify a type
in the component template, or define the component inside class 

Any solution ?

Thanks.