Hi Antonios,

you mean the java source Code or something I can extract from the jsp?

The source code is confidential.

I checked the get/set methods and getId on certificate returns a Long if thats what you wanted to know...

Best
Fabian

Am 27.06.2013 10:24, schrieb Antonios Gkogkakis:
Hi Fabian,

Can you give as the code of the Action that is in the Value Stack?

Antonios


On 27 June 2013 09:16, Fabian Richter <frich...@mtg.de> wrote:

Hey,

so I tried to use the <s:if test=""> tag in one of my jsps and couldnt get
neither working:

<s:if test="!empty certificate.status">isTrue</s:**if>
<s:if test="certificate.status == 1">isTrue</s:if>
<s:if test="%{certificate.status == 1}">isTrue</s:if>
<s:if test="%{#certificate.status == 1}">isTrue</s:if>

but

${certificate.status}

outputs a 1. Using ${certificate.status}  within test="" throws a JSP
exception that "attribute test does not accept any expressions"

The only thing that works is:

<s:if test="%{true}">isTrue</s:if>

What am I missing?

TIA and best
Fabian




--
media transfer AG

Fabian Richter, M.Sc.
Softwareentwickler

Mail:    frich...@mtg.de
Telefon: +49 6151 8193-24
Telefax: +49 6151 8193-41
Web:     http://www.mtg.de

Firmensitz: Dolivostraße 11, 64293 Darmstadt
Registergericht: Amtsgericht Darmstadt, HRB 8901
Vorstand: Jürgen Ruf (Vors.), Tamer Kemeröz
Aufsichtsratsvorsitzender: Dr. Thomas Milde

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to