Re: Use "value" as an attribute name
Upravdom <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Tried that too, no luck. var["value"] actually returns me the value of "var". In other words, if I have this: <item param="123" value="456">Some Value</item> and var is a sequence of <item/> tags, then: var.value and var["value"] both return "Some Value". And, of course, if I do this: var["value"].value - FreeMarker tries to get a value from a SimpleScalar, returning an exception. -- View this message in context: http://freemarker.624813.n4.nabble.com/Use-value-as-an-attribute-name-tp2551194p2551223.html Sent from the freemarker-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev