Yes -- I checked that already.


Yiannis Mavroukakis-2 wrote:
> 
> Are you sure getSuburbs() returns something?
> 
> -----Original Message-----
> From: mxc [mailto:[EMAIL PROTECTED] 
> Sent: 31 March 2007 09:23
> To: users@tapestry.apache.org
> Subject: Autocompleter -- javascript syntax error
> 
> 
> 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]
> 
> 
> ________________________________________________________________________
> This e-mail has been scanned for all known viruses.
> 
> 
> 
> Note:__________________________________________________________________
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please immediately delete it and
> all copies of it from your system, destroy any hard copies of it and
> notify the sender. You must not, directly or indirectly, use, disclose,
> distribute, print, or copy any part of this message if you are not the
> intended recipient. Jaguar Freight Services and any of its subsidiaries
> each reserve the right to monitor all e-mail communications through its
> networks.
> Any views expressed in this message are those of the individual sender,
> except where the message states otherwise and the sender is authorized
> to state them to be the views of any such entity.
> ________________________________________________________________________
> This e-mail has been scanned for all known viruses.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Autocompleter----javascript-syntax-error-tf3496156.html#a9767261
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