Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: Release 1.6
    • Fix versions: Release 1.6
    • Components: Tag Library
    • Labels:
    • Environment:
      All
    • Sprint:

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joekarl joekarl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: