Hi,

 

                I have the two following Java classes :

 

Class Info {

…

List lesTableaux;   // or ArrayList<Tableau> instead of List, it’s the same
problem!

… }

 

And

 

Class Tableau {

…

String type;

… }

 

 

I have a java object named ‘infos’:

 

Info infos = new Info();

 

And some java code to fill the ‘lesTableaux’ list and the ‘type’ string : 

 

Infos.lesTableaux[0].type = “my type”;

 

In one cell of the the Excel sheet, I have this :

                

                ${infos.lesTableaux[0].type}

 

When I run the program, there’s the good string (“my type”) in the cell but
my program prints this error : 

 

ATTENTION:
net.sf.jxls.parser.expressioncollectionparser.findcollectionpropert...@104![
0,10]: 'infos.type;' undefined variable infos.type

4 janv. 2011 15:43:45 org.apache.commons.jexl2.Interpreter unknownVariable

 

 

What is the reason of this error (because it works)? Why ‘infos.type’ and
not ‘infos.lesTableaux[0].type’?

 

Regards,

 

Philippe Juhel

Assistant au pôle GEI (Génie Electronique et Informatique)

ICAM

75, av de Grande Bretagne

31300 Toulouse

Tél : 05-34-50-50-45

Mail : philippe.ju...@icam.fr

 

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
jXLS-user mailing list
jXLS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxls-user

Reply via email to