You have to define a type in the property-specification. I really like how this works, a good way to start using Hivemind in Tapestry, thanks Howard.
Regards Diego On 5/25/05, mike jones <[EMAIL PROTECTED]> wrote: > are you sure the wiki is correct? > if i use a method to access the service like the one on the wiki.. > public abstract TimeService getTimeService(); > it throws an exception because contains the TimeService return type and not > Object type. > > Changing the method as below and casting it to the Service type when used > fixes this. > public abstract Object getTimeService(); > > > On 5/21/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > It works for HiveMind 1.0 and Tapestry 3.0.x. > > > > On 5/20/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > > > Cool, sounds great. When can I start using it in my projects? > > > > > > Howard Lewis Ship wrote: > > > > > > >Just documented this: > > > > > > > > >http://wiki.apache.org/jakarta-tapestry/Tapestry3HiveMind > > > > > > > > > > > >On 5/20/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > >>Actually that answers another question I had. When I start using the > > > >>Tapestry that's implemented on HiveMind will that change the way I use > > > >>HiveMind or is my access and use of HiveMind still going to be > separate > > > >>from Tapestry? > > > >> > > > >>James Carman wrote: > > > >> > > > >> > > > >> > > > >>>What version of Tapestry are you using? I think in the latest > version, the > > > >>>HiveMind support is built-in (I think it creates the "default" > registry), so > > > >>>you can access the registry via the Tapestry API. Don't quote me on > that, > > > >>>though. Howard? > > > >>> > > > >>>-----Original Message----- > > > >>>From: Stanczak Group [mailto: [EMAIL PROTECTED] > > > >>>Sent: Thursday, May 19, 2005 10:40 AM > > > >>>To: [email protected] > > > >>>Subject: Re: Accessing Registry > > > >>> > > > >>>Just to check again, what is the best method to use when accessing > the > > > >>>registry that's created by the HiveMindFilter in a Tapestry based > > > >>>application? I got a good answer from James, but just wanted to > double > > > >>>check if anyone else has another recommendation. > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>-- > > > >>Justin Stanczak > > > >>Stanczak Group > > > >>812-735-3600 > > > >> > > > >>"All that is necessary for the triumph of evil is that good men do > nothing." > > > >>Edmund Burke > > > >> > > > >>..________...............__................. > > > >>./ _____/..____..._____/..|_..____...____.... > > > >>/...\..____/.__.\./....\...__\/.._.\./._..\.... > > > >>\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..).... > > > >>.\______../\___.._\__|../__|..\____/.\____/...... > > > >>........\/.....\/.....\/.......................... > > > >> > > > >> > > > > >>--------------------------------------------------------------------- > > > >>To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > >>For additional commands, e-mail: > [EMAIL PROTECTED] > > > >> > > > >> > > > >> > > > >> > > > > > > > > > > > > > > > > > > > > > > -- > > > Justin Stanczak > > > Stanczak Group > > > 812-735-3600 > > > > > > "All that is necessary for the triumph of evil is that good men do > nothing." > > > Edmund Burke > > > > > > ..________...............__................. > > > ./ _____/..____..._____/..|_..____...____.... > > > /...\..____/.__.\./....\...__\/.._.\./._..\.... > > > \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..).... > > > .\______../\___.._\__|../__|..\____/.\____/...... > > > ........\/.....\/.....\/.......................... > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Howard M. Lewis Ship > > Independent J2EE / Open-Source Java Consultant > > Creator, Jakarta Tapestry > > Creator, Jakarta HiveMind > > > > Professional Tapestry training, mentoring, support > > and project work. http://howardlewisship.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > -- > "If we can hit that bull's-eye, the rest of the dominos will fall like a > house of cards - Checkmate." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
