Try

<ww:if test="creditCard.cardProvider == @[EMAIL PROTECTED]"/>

Assuming this is a public static final field on the class ICreditCardProviders.

Jason

> -----Original Message-----
> From: Jan-Peter Hagenmüller [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 22, 2004 6:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] <ww:if testing
> 
> 
> 
> 
> hey, its WebWork2
> 
> jp
> 
> 
> 
> On Thu, 22 Jan 2004 16:37:58 -0600, Jason Carreira 
> <[EMAIL PROTECTED]> wrote:
> 
> > In what version of WW?
> >
> >> -----Original Message-----
> >> From: Jan-Peter Hagenmüller [mailto:[EMAIL PROTECTED]
> >> Sent: Thursday, January 22, 2004 3:49 PM
> >> To: WebWork Mailling List
> >> Subject: [OS-webwork] <ww:if testing
> >>
> >>
> >>
> >> Hi!
> >>
> >> i've got a short questions using <ww:if... :
> >> i want to test if prop equals a constant string like this: 
> >> ICreditCardProviders.DINERS_CLUB
> >>
> >> i might have tried more or less stupid things... ;-)
> >>   - <ww:if test = "creditCard.cardProvider == 
> >> '<%=ICreditCardProviders.DINERS_CLUB%>'">
> >>   - <ww:if test = "creditCard.cardProvider == 
> >> '#ICreditCardProviders.DINERS_CLUB'">
> >>   - ...
> >>
> >> can anyone help?
> >>
> >> thanks
> >> jp
> >>
> >>
> >> -------------------------------------------------------
> >> The SF.Net email is sponsored by EclipseCon 2004
> >> Premiere Conference on Open Tools Development and 
> Integration See the 
> >> breadth of Eclipse activity. February 3-5 in Anaheim, CA. 
> >> http://www.eclipsecon.org/osdn 
> >> _______________________________________________
> >> Opensymphony-webwork mailing list 
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >>
> >
> >
> > -------------------------------------------------------
> > The SF.Net email is sponsored by EclipseCon 2004
> > Premiere Conference on Open Tools Development and 
> Integration See the 
> > breadth of Eclipse activity. February 3-5 in Anaheim, CA. 
> > http://www.eclipsecon.org/osdn 
> > _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> 
> 
> 
> -- 
>   
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration 
> See the breadth of Eclipse activity. February 3-5 in Anaheim, 
> CA. http://www.eclipsecon.org/osdn 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to