Re: T5: select component with support for attribute multiple

2007-06-07 Thread Michael Maier
Am 06.06.2007 um 23:00 schrieb Martin Grotzke: Do you have getters/setters with a Set then? Does the method signature depend on the value? no, I use the value-encoder to map the objects in the set to strings and vice versa... I didn't change the type of _value to be able to use the

Re: T5: select component with support for attribute multiple

2007-06-06 Thread Michael Maier
Yes...it seems that multiple selects are not yet supported, but it is very easy to write a component...just take the select component from tapestry, look for value and the isOptionValueSelected method. I changed the value to Set type and changed the protected void

T5: How to inject a service into a component?

2007-05-04 Thread Michael Maier
Hi List, I'm trying to inject via @Inject annotation a service (internal service RequestPageCache) into a component: public class Menu { @Inject(RequestPageCache) RequestPageCache requestPageCache; public String getPageName() { ComponentResources pageResources=

Re: T5: How to inject a service into a component?

2007-05-04 Thread Michael Maier
ok, I solved... requestPageCache must be private...I don't know why the variable to be injected must be declared private but tapestry could log a warning, that the instance variable is not private and therefor it won't be injected... Am 04.05.2007 um 11:37 schrieb Michael Maier