tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giuseppe Briotti <>
Subject Re: RE: question about jsp:element and jsp:attribute
Date Thu, 08 Apr 2004 14:43:01 GMT
I think that the problem is due to the evaluation of the if, as 
stated in a previous message.

Can you change the code as follows:

 <jsp:element name="fo:table-column">
   <jsp:attribute name="column-width">
     if (bgColors[i] = null) {
            bgColors[i] = <a default value>
   <jsp:attribute name="background-color">
where <default value> can be the background color of the page...

Another way (more complicated) is to use a bean and a tag :-)




Giuseppe Briotti

"Alme Sol, curru nitido diem qui 
promis et celas aliusque et idem 
nasceris, possis nihil urbe Roma 
visere maius."

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message