primative boolean null?
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <OF599DA770.142CA78A-ON852574CF.004917AD-852574CF.004A327C@tsys.com> |
I unable to explain why freemarker thinks this boolean primative is null.
Any ideas? The method getCanDriveAccountNegative() returns boolean. I've
tried isCanDriveAccountNegative(), too. Same result. I know that feeSetup
is not null because the references before that all work.
<tr><td>Account
Subtype:</td><td>${feeSetup.accountSubType}</td></tr>
<tr><td>Allow a fee to drive an account
negative:</td><td>${feeSetup.canDriveAccountNegative?string}</td></tr>
09:26:56,272 line:271 ERROR [ContainerBase->invoke] Servlet.service() for
servlet internaladmin threw exception
Expression feeSetup.canDriveAccountNegative is undefined on line 17,
column 77 in global/views/feeConfirm.ftl.
The problematic instruction:
----------
==> ${feeSetup.canDriveAccountNegative?string} [on line 17, column 75 in
global/views/feeConfirm.ftl]
in include content [on line 68, column 17 in global/views/shell.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression
feeSetup.canDriveAccountNegative is undefined on line 17, column 77 in
global/views/feeConfirm.ftl.
at freemarker.core.TemplateObject.assertNonNull(
TemplateObject.java:124)
at freemarker.core.TemplateObject.invalidTypeException(
TemplateObject.java:134)
-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. The information may also constitute a legally
privileged confidential communication. If the reader of this
message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified
that you have received this communication in error and that any
review, dissemination, copying, or unauthorized use of this
information, or the taking of any action in reliance on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately
by e-mail, and delete the original message. Thank you
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/