We're updating the issue view to help you get more done. 

Action Bean name lookup jstl function

Description

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.

Environment

All

Status

Assignee

Unassigned

Reporter

Labels

Tester

None

Components

Fix versions

Affects versions

Release 1.6

Priority

Minor