On Thu, 2003-12-18 at 20:53, Josh G wrote: > At 11:47 AM 19/12/2003, you wrote: > >This is what i was telling you before, the attribute has to be either a > >expression or a constant, not both. so add the "_off.gif" part to the > >tmp variable before you put it in the tags attribute. > > > >like this: > ><% String temp = sectionNames[i] + "_off.gif"; %> > ><image:local file="<%= temp %>" /> > > > >thats what i've done before to fix the problem. > > > >dave > > Ah, gotcha... Now I see. I misread it, and thought you meant that my > problem was within the <%= %>, not in the tag attribute. Cheers mate. > > If it helps you any, I also got > > <image:local file="<%= tmp + "off.gif" %>" /> > > to work, since I'm doing a lot of these lines and assigning tmp to > sectionNames[i] above the block. Right on, I hadn't tried it that way before. I guess as long as the whole attribute inside the expression tag, any expression will work. Makes sense. Have a good one. > Again, thanks, have a beer on me. no problem, and i'm heading out to have one now.
dave > > -Josh > > > > "He likes to run, And then the thing with the.. person.. > ... Oh boy, that monkey is going to pay." > > [ Josh 'G' McDonald ] -- [ Pirion Systems, Brisbane] > > [ 07 3257 0490 ] -- [ 0415 784 825 ] -- [ http://www.gfunk007.com/ ] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]