[ 
https://issues.apache.org/jira/browse/WW-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

michael jerusalmi updated WW-3446:
----------------------------------

    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.

  was:
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(maValeur)">

or using a substring function

Does such functions exist ? How to use it ?

Thanks for your help.

Merci pour votre aide 


> Manipulate Strings with Struts²
> -------------------------------
>
>                 Key: WW-3446
>                 URL: https://issues.apache.org/jira/browse/WW-3446
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>         Environment: windows, java, struts 2, hibernate
>            Reporter: michael jerusalmi
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to