Re: Dealing with reserved names
Daniel Dekany <[email protected]> Fri, 2 Jun 2006 00:00:34 +0200
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
Thursday, June 1, 2006, 8:15:24 PM, Bruce Perryman wrote:
> It must be something else that I'm doing wrong with my FreeMarker
> syntax then. The data is correct in the map. I can see it in java. I
> can't see it displayed with FreeMarker when the key name is
> 'default'. If I change the name from 'default' to something else,
> everyone's happy.
Mystical... Maybe there is something there that confuses the object
wrapper. What is exactly that map object that you pass to FreeMarker?
It's exact class and like. And, when you rename that key so it works,
then what will you get with the 'default' key? Still '' maybe?
> Are you saying that you have a map with a key named 'default' and
> the value is displayed correctly?
Yes.
> If I find out anything that I'm doing wrong, I'll post. What version
> of FreeMarker are you testing with?
It's 2.3.7rc1. But I don't think there was such bug earlier.
> And how can I know what version my application is using?
${.version}
--
Best regards,
Daniel Dekany