Announcement Announcement Module
No announcement yet.
Eclipse 3.0 error in freemarker view when none is present? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Eclipse 3.0 error in freemarker view when none is present?

    Hi there all,

    I'm using Eclipse 3.0 with 'Build Project Automatically'. In a freemarker template, Eclipse reports an error (little red X marker in the package explorer view). However, there is no error in the template and it works mighty fine when deploy. I'm opening the template in the text editor. I'm not using some add-on plugin to edit the template.

    Here's the error in the Problems view:

    Severity Description Resource In Folder Location Creation Time
    2 Encountered "?default(\"\")}\" /> \r\n\r\n<" at line 11, column 60.
    Was expecting one of:
    "}" ...
    <DOT> ...
    "(" ...
    userEdit.ftl iSCRAM Server V1.0/web/WEB-INF/freemarker line 13 September 30, 2004 2:48:09 PM

    Anybody has had the same behavior? Here's the template in question.


    <#import "spring.ftl" as spring />
    <title>iSCRAM - User Details</title>
    <#include "messages.ftl">
    <form action="userEdit.html" method="POST">
    <input type="hidden" name="redirectview" value="userList.html"/> 
    <@spring.bind "" />
    <input type="hidden" name="id" value="$&#123;spring.status.value&#125;" /> 
    <@spring.formInput "user.userName" />
    <@spring.formInput "user.password" />
    First Name&#58;<br>
    <@spring.formInput "user.firstName" />
    Last Name&#58;<br>
    <@spring.formInput "user.lastName" />
    <input type="submit" class="button" name="save" value="Save"/>
    <input type="submit" class="button" name="delete" value="Delete"/>
    <input type="submit" class="button" name="goback" value="Go Back"/>