Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

s.autocompleter not found

Rohit Dewan

2007-03-16

Replies:

I have a page configured as follows:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Test</title>
<@(protected)" />
<link rel="stylesheet" type="text/css" href="stylesheets/global.css" />
</head>

and later in the body

<@(protected)" />
<@(protected)">
           <@(protected)"
/>
           <@(protected)"/>
           <@(protected)"
method="cancel"/>
</@(protected)>


I get the following error when the page is rendered:


on line 56, column 33 in provider/addAppointment.html s.autocompleter not
found.
The problematic instruction:
----------
==> user-directive s.autocompleter [on line 56, column 33 in
provider/addAppointment.html]
in user-directive s.form [on line 55, column 25 in
provider/addAppointment.html]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: on line 56, column 33 in
provider/addAppointment.html s.autocompleter not found.
    at freemarker.core.UnifiedCall.accept (UnifiedCall.java:136)
    at freemarker.core.Environment.visit (Environment.java:196)
    at freemarker.core.MixedContent.accept (MixedContent.java:92)
    at freemarker.core.Environment.visit (Environment.java:196)
    at freemarker.core.Environment.visit (Environment.java:233)
    at freemarker.core.UnifiedCall.accept (UnifiedCall.java:116)
    at freemarker.core.Environment.visit (Environment.java:196)
    at freemarker.core.MixedContent.accept (MixedContent.java:92)
    at freemarker.core.Environment.visit (Environment.java:196)
    at freemarker.core.Environment.process (Environment.java:176)
    at freemarker.template.Template.process (Template.java:232)
    at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(
FreemarkerResult.java:168)
    at org.apache.struts2.dispatcher.StrutsResultSupport.execute(
StrutsResultSupport.java:178)
    at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(
DefaultActionInvocation.java:343)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
DefaultActionInvocation.java:248)

What am I missing. Any help would be most appreciated.

Regards,
Rohit
©2008 junlu.com - Jax Systems, LLC, U.S.A.