Re: rtexprvalue ignored? - fixed

2003-12-19 Thread Rodrigo Ruiz
Hi, just a tip for portability: WebSphere JSP parser will complain when you use an expression containing the same string delimiter used for the attribute. This means that attr=%= aaa % will produce a compiler error. To avoid this, simply use a different quotation marks for the attribute

rtexprvalue ignored?

2003-12-18 Thread Josh G
Hi All, I've tracked down my problem, and despite tomcat's bogus error reporting the problem is this code: image:local file=%= tmp %_off.gif / Which should work as far as I can tell, since I have rtexprvalue set to true in the .tld file. Is this just being ignored for some reason? Also, is it

Re: rtexprvalue ignored?

2003-12-18 Thread David Evans
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

Re: rtexprvalue ignored? - fixed

2003-12-18 Thread Josh G
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

Re: rtexprvalue ignored? - fixed

2003-12-18 Thread David Evans
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: %