ViewResolver.Resolution: how do I know what view class has been resolved to in some request scope model?

7 views
Skip to first unread message

DavidNia

unread,
Mar 25, 2010, 6:17:49 PM3/25/10
to Induction Framework
I have a request scope model that needs to know what the currently
resolved view class is. How can I access this information?

I see that had this been an interceptor, I can simply have
ViewResolver.Resolution injected and if this is within a context of a
view class being resolved then the injected value will be non-null.

thank you,
david

DavidNia

unread,
Mar 25, 2010, 7:29:40 PM3/25/10
to Induction Framework
It seems that as of now this feature is not available. You cannot
inject ViewResolver.Resolution into models.

But you can inject them into views and interceptors.

david

Adinath

unread,
Mar 25, 2010, 7:39:35 PM3/25/10
to induction...@googlegroups.com
Correct.

Adi

--
You received this message because you are subscribed to the Google Groups "Induction Framework" group.
To post to this group, send email to induction...@googlegroups.com.
To unsubscribe from this group, send email to induction-frame...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/induction-framework?hl=en.




--
Acciente, LLC
Systems Architecture and Software Design

www.acciente.com
www.inductionframework.org
Reply all
Reply to author
Forward
0 new messages