Hi,
I am trying to develop an elastic CMS-like rendering engine. What I'm
trying to do is to have a generic Action that gets a content-chunk ID as
a parameter and then uses reflection to create specific Action class
that will supply that content-chunk with data.
So far I was quite successful doing just
getContext().getRequest().setAttribute("actionBean",
myReflectedActionInstance)
before
return new ForwardResolution(view);
in my generic Action, but it turns out that now form fields are not
repopulated with existing bean data. Would someone please have an idea
how I can tell Stripes to use an Action instance specified by me instead
of just using "this"? I've tried doing
getContext().getRequest().setAttribute(StripesConstants.REQ_ATTR_ACTION_BEAN,
myReflectedActionInstance)
but it didn't work :-( Perhaps someone with better understanding of
Stripes internals would be able to help me?
Best regards,
Grzegorz Krugly
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users