http://docs.ofbiz.org/display/OFBTECH/Unified+Expression+Language+(JSR-245)+in+OFBiz
--- On Sun, 2/1/09, David E Jones <david.jo...@hotwaxmedia.com> wrote: > From: David E Jones <david.jo...@hotwaxmedia.com> > Subject: Re: Minipol in eCommerce > To: dev@ofbiz.apache.org > Date: Sunday, February 1, 2009, 10:15 AM > One limitation of the dot syntax under UEL is that it treats > the Map entry keys as variable names, which I think causes > this problem. > > To get around it we may have to change the code and instead > of using something like answers.fieldName either use > something like answers[fieldName] or even > answers.get(fieldName) if we have issues with that. > > -David > > > On Feb 1, 2009, at 10:00 AM, Jacques Le Roux wrote: > > > I had a new look at this. It's a problem with the > FlexibleMapAccessor. > > It interprets "answers.1040" as null. There > are 2 solutions > > * easy, but certainly not generic enough, put an > underscore before each surveyQuestionId value > > * change FlexibleMapAccessor to not interprets strings > like "answers.1040" as null, resulting for > if-empty tag to render a false result (empty, but it's > not) > > > > I remember having seen a discussion about such strings > (Id beginning by a digit) but I did not find it. > > > > Jacques