Hi all,

I am trying to get the autocompleter component to work. When I enter any
text in the autocompleter component the javascript debugger prints out the
following

"DEBUG: [SyntaxError: syntax error, file:
http://127.0.0.1:8080/app-1.0/app?service=asset&path=%2Fdojo%2Fdojo.js,
line: 15]"

Here is the relevant code:

html page
=========

                       <tr>
                                <td>
                                    <label displayName="Suburb" 
field="component:selectSuburb"
jwcid="@FieldLabel">Suburb</label>
                                </td>
                                <td>
                                        <select jwcid="[EMAIL PROTECTED]"
model="ognl:suburbAutoModel" value="ognl:suburb" />
                                        </td>
               </tr>

page.java
==========
        public abstract void setSuburb (Suburb suburb);
        public abstract Suburb getSuburb();

        public DefaultAutocompleteModel getSuburbAutoModel(){
                return new DefaultAutocompleteModel(getSuburbs(),"Id","Name");
        }


Any help appreciated. I am using Tapestry 4.1


Thanks
-- 
View this message in context: 
http://www.nabble.com/Autocompleter----javascript-syntax-error-tf3496156.html#a9765187
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to