Re: Newbie help with Struts idiom: functional if/else tags

2005-11-15 Thread Mark S Petrovic
Wow. Right on. Using the with additional attributes as shown in the wiki entry below indeed solved the problem. Thank you, and thanks to everyone else who patiently read my posts and offered help. Mark On 15Nov, Rahul Akolkar wrote: > On 11/15/05, Mark S Petrovic <[EMAIL PROTECTED]&

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-15 Thread Mark S Petrovic
5Nov, Mark Petrovic wrote: > On 15Nov, Dave Newton wrote: > > Mark S Petrovic wrote: > > > > >which isn't even iterating over the list items. E.g, I get one line of > > >html output for the tag, containing > > >the string literal '${feature.premium}&

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-15 Thread Mark S Petrovic
On 15Nov, Dave Newton wrote: > Mark S Petrovic wrote: > > >which isn't even iterating over the list items. E.g, I get one line of > >html output for the tag, containing > >the string literal '${feature.premium}' in quotes - as if expansion of &g

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-15 Thread Mark S Petrovic
On 15Nov, Mark Petrovic wrote: > > > > > > > Should just be Sorry. I failed to mention in my reply that I tried this, too, and it made no difference in the html output. - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-15 Thread Mark S Petrovic
${feature.premium} is not taking place. I know the issues I'm raising are very elementary, but I hope they help someone else in the process. Mark On 14Nov, Wendy Smoak wrote: > On 11/14/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > > > > > Should just be

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Mark S Petrovic
s appreciated, and I'm on my way to get modern books on both Struts and JSPs. On 14Nov, Craig McClanahan wrote: > On 11/14/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > > > > Good day. I am new to Struts, and while I am coming up to speed, I'm > > still st

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Mark S Petrovic
Java, this produces unmaintable and > unportable code. > > Michael. > > On 11/14/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > > Good day. I am new to Struts, and while I am coming up to speed, I'm > > still struggling with what are surely common idioms.

Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Mark S Petrovic
Good day. I am new to Struts, and while I am coming up to speed, I'm still struggling with what are surely common idioms. In a JSP, I want to output, say, a element body conditionally based on a given bean property. In pseudocode, I want if bean.property == true print X else print Y