Hi,
I'm working on a web application with Struts, made for several projects, and
I'm trying to write a test to display (or not) a tab in case of a particular
project.
I wrote a test, which positive result should be to add a new tab, and which
negative result is to write the content of the
by the
operator [==]. Try the method [String.equals()] instead.
In your case, i think i should be:
s:if test=config.project.eqauls('dba2')
2010/9/24 Michaël JERUSALMI michaelj...@hotmail.com
Hi,
I'm working on a web application with Struts, made for several projects,
and I'm
:
%{config.project == 'dba2'}
Then I'd try checking the type (class) of config.project and see if it's
really a string.
Dave
On Fri, Sep 24, 2010 at 9:36 AM, Michaël JERUSALMI
michaelj...@hotmail.comwrote:
Sorry, it didn't change a thing. It still goes by the else...
Date: Fri, 24
Hi everyone,
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
4 matches
Mail list logo