I have a method that needs to be able to redirect the user to another
page based on the Application Sate. My problem is this class is part
of a separate package from the MyApp.Pages package.
To make this work I need to use these injected fields. However
Tapestry 5 clearly isn't processing the annotations as they all remain
null.
@ApplicationState
private User authenticatedUser;
private boolean authenticatedUserExists;
@Inject
@Service("LinkFactory")
private LinkFactory linkFactory;
@Inject
@Service("RequestPageCache")
private RequestPageCache requestPageCache;
@Inject
@Service("RequestGlobals")
private RequestGlobals requestGlobals;
Is there some why to get tapestry 5 to process this classes
annotations or is there another way to access these objects.
I am using my own service to modify the pages at runtime so, I really
don't want to have to pass all these objects through to my class.
Charlie M
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]