Thanks. That was it! I must have been through the doc a dozen times, but I
missed the '$' vs '%' issue.
Thanks again.
Fred
Dale Newfield wrote:
Fred Toth wrote:
To be more specific: In jsp, you can do this:
This works even when user doesn't exist because of the OGNL null
value handling.
Fred Toth wrote:
To be more specific: In jsp, you can do this:
This works even when user doesn't exist because of the OGNL null value
handling.
If you use ${}, you're not using ognl, but rather el.
Try replacing your $'s with %'s.
-Dale
---
If I'm not wrong (big if there :) ), that ${user.firstName} is evaluated as
a FreeMarker expression (not a JSTL one), and FreeMarker is sensitive about
nulls:
http://freemarker.sourceforge.net/docs/app_faq.html#faq_picky_about_missing_vars
either use %{user.firstName}, or FreeMarker null operato
Hi,
I'm a big fan of struts2 and freemarker, but I'm just now getting around
to using
the struts2 UI tags in freemarker.
It appears that "automatic null value handling" feature of struts2 is
not available from freemarker?
To be more specific: In jsp, you can do this:
This works even when
4 matches
Mail list logo