Announcement Announcement Module
Collapse
No announcement yet.
Eclipse 3.0 error in freemarker view when none is present? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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.

    Thanx!

    Code:
    <#import "spring.ftl" as spring />
    
    <html>
    <title>iSCRAM - User Details</title>
    
    <#include "messages.ftl">
    
    <form action="userEdit.html" method="POST">
    
    <input type="hidden" name="redirectview" value="userList.html"/> 
    	
    <@spring.bind "user.id" />
    <input type="hidden" name="id" value="$&#123;spring.status.value&#125;" /> 
    
    <p>
    Username&#58;<br>
    <@spring.formInput "user.userName" />
    </p>
    
    <p>
    Password&#58;<br>
    <@spring.formInput "user.password" />
    </p>
    
    <p>
    First Name&#58;<br>
    <@spring.formInput "user.firstName" />
    </p>
    
    <p>
    Last Name&#58;<br>
    <@spring.formInput "user.lastName" />
    </p>
    
    <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"/>
    
    </form>
    </html>
Working...
X