Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3446

Manipulate Strings with Struts²

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Other
    • Environment:

      windows, java, struts 2, hibernate

      Description

      I'm working on a Java Web App under Struts², and i'm having trouble using the taglib s:if.

      I have a test <s:if>, but instead of writing a test like this

      <s:if test="string == myValue">

      I'd like to write something like this :

      <s:if test="string.contains(myValue)"> , or using a substring function

      Does such functions exist ? How to use it ?
      Thanks for your help.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              michaeljeru michael jerusalmi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: