Re: Problem with logic:equal tag

2008-03-05 Thread Laurie Harper
Something like should produce what you want. The option values/names will be retrieved from the mobileEmailProviders each time the page is rendered; nothing is hardcoded into the page. Does that not do what you need? L. Ken Bowen wrote: The list comes up out of the database, and

Re: Problem with logic:equal tag

2008-03-05 Thread Antonio Petrelli
2008/3/5, Ken Bowen <[EMAIL PROTECTED]>: > The list comes up out of the database, and changes (slowly) over time. > There will be other cases were the list changes rapidly. So I can't > hardcode it onto the page. What do you mean with "hard code"? Can't you use EL to determine the value that it

Re: Problem with logic:equal tag

2008-03-05 Thread Ken Bowen
The list comes up out of the database, and changes (slowly) over time. There will be other cases were the list changes rapidly. So I can't hardcode it onto the page. Antonio Petrelli wrote: 2008/3/5, Ken Bowen <[EMAIL PROTECTED]>: SELECTED > Why did you

Re: Problem with logic:equal tag

2008-03-05 Thread Antonio Petrelli
2008/3/5, Ken Bowen <[EMAIL PROTECTED]>: > > > property="mobileEmailService" > value=" property='key'/>">SELECTED > > > > > > putting the correct "value"? Antonio - To

Re: Problem with logic:equal tag

2008-03-05 Thread Ken Bowen
Argh! Can you point me at a technique for accomplishing this? The input for the SELECT is a list of pairs of string (A1,A2) where A1 is to be the value tag of the option, and A2 is the visible display for the option element. The list comes up out of the database, and changes (slowly) over tim

Re: Problem with logic:equal tag

2008-03-05 Thread Dave Newton
--- Ken Bowen <[EMAIL PROTECTED]> wrote: > property="mobileEmailService" > value=" property='key'/>">SELECTED > > That's not valid JSP; you can't nest custom tags like that. Dave - To unsubscrib

Problem with logic:equal tag

2008-03-05 Thread Ken Bowen
Hi, I'm using: Struts 1.2.7; Tomcat 5.5.25; Java 1.5 I am having a problem using logic:equal in implementing a SELECT statement on a page. It should be simple. The code snippet is this (stripped out scopes to simplify it): value="property='key'/>">SELECTED > The