[
http://www.stripesframework.org/jira/browse/STS-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter updated STS-872:
---------------------------
Fix Version/s: Release 1.6
I have actually suggested this very same thing before but never got around to
opening a ticket for it. I will likely enhance all the tags that use beanclass=
to look up ActionBeans similarly to how the NameBasedActionResolver maps them:
by name, with "Action" suffix, with "ActionBean" suffix, etc.
> Action Bean name lookup jstl function
> -------------------------------------
>
> Key: STS-872
> URL: http://www.stripesframework.org/jira/browse/STS-872
> Project: Stripes
> Issue Type: New Feature
> Components: Tag Library
> Affects Versions: Release 1.6
> Environment: All
> Reporter: Karl Kirch
> Priority: Minor
> Labels: taglib
> Fix For: Release 1.6
>
>
> Stripes makes it really easy to create links to action beans from inside the
> jsp files. Unfortunately as our projects have gotten larger (and because of
> institutional requirements) we've had to rearrange code into fairly deep
> hierarchies. This is causing a lot of clutter in our views as we have
> beanclass attributes that are huge ie:
> 'com.x.y.z.web.actions.administration.ManageUsersActionBean'. This also
> presents a problem when re-factoring paths because we have to find all
> instances of that Action Bean in our views and change each link.
> We've been avoiding this problem by creating a straightforward lookup
> function that maps all of our Action Beans and exposes a lookup function in
> our jsp files.
> Goes like so
> beanclass='${linkHelper:getClass("ManageUsersActionBean")}'
> That way we can move our action bean classes easily without having to
> re-factor our views.
> It would be really nice to have stripes have some sort of similar behavior
> built in.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development