You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Marcus Irven <ma...@marcusirven.com> on 2006/10/09 14:38:01 UTC

accessing state objects from EngineService

I have created a new engine service, how can I access a State Object?

Thanks,
Marcus

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


Re: accessing state objects from EngineService

Posted by James Carman <ja...@carmanconsulting.com>.
Dependency injection is much easier in 4.1.  Tapestry will "autowire"
HiveMind services into your components/pages (provided that there is
exactly one service in the registry of the same type as the property).  If
you're on 4.0, there's a tapestry-autowire subproject (the code was added
into Tapestry in 4.1) in the Tapestry@JavaForge project.  It's available
via svn:

http://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk/


> You might like to check out the following page.
>
> http://lombok.demon.co.uk/tapestry4Demo/Inject.html
>
> Shing
>
> -- Marcus Irven <ma...@marcusirven.com> wrote:
>
>> I have created a new engine service, how can I
>> access a State Object?
>>
>> Thanks,
>> Marcus
>>
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail:
>> users-help@tapestry.apache.org
>>
>>
>
>
> Home page :
>   http://uk.geocities.com/matmsh/index.html
>
>
>
>
>
> ___________________________________________________________
> All new Yahoo! Mail "The new Interface is stunning in its simplicity and
> ease of use." - PC Magazine
> http://uk.docs.yahoo.com/nowyoucan.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


James Carman, President
Carman Consulting, Inc.


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


Re: accessing state objects from EngineService

Posted by Shing Hing Man <ma...@yahoo.com>.
You might like to check out the following page.

http://lombok.demon.co.uk/tapestry4Demo/Inject.html

Shing

-- Marcus Irven <ma...@marcusirven.com> wrote:

> I have created a new engine service, how can I
> access a State Object?
> 
> Thanks,
> Marcus
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail:
> users-help@tapestry.apache.org
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html

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