i test this sample with T5.0.7, during page rendering i got this java script
error.

Tapestry.onDOMLoaded is not a function



On Dec 28, 2007 7:32 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> This kind of error looks too easy to make.  The Autocompleter mixin
> should complain if it is triggered from the client browser and no
> event handler for its "providecompletions" event is found.
>
> On Dec 28, 2007 7:48 AM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote:
> > Hi Joshua,
> >
> > i think that your method names is wrong, your textfield on template has
> no
> > t:id,
> > try it with  t:id="clientName"
> >
> > onProvideCompletionsFromClientName
> >
> >
> >
> >
> >
> > On Dec 28, 2007 2:25 PM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> >
> > > I know. Perhaps this is due to the incompatibility of scriptaculous
> > > library.
> > >
> > > :(
> > > :sigh:
> > >
> > > On 12/28/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Joshua,
> > > >
> > > > I tried your sample, it does not work in IE/Firefox/Safari, maybe I
> miss
> > > > something, I can see calls to the server :
> > > > http://localhost:8080/myapp/testajax.textfield:autocomplete? here is
> > > what I
> > > > did:
> > > >
> > > >  public List<String> onProvideCompletionsFromClientName(String
> input)
> > > >    {
> > > >        List<String> result = new ArrayList<String>();
> > > >        result.add("test1");
> > > >        result.add("test2");
> > > >        System.out.println("Inside Autocompletion Event Handler");
> > > >        return result;
> > > >    }
> > > >
> > > >  <t:form>
> > > >        <input t:type="TextField" t:value="prop:clientName"
> > > > t:mixins="autocomplete"  />
> > > >    </t:form>
> > >
> > > --
> > > I'm a coder not a drag-n-dropper
> > >
> > > Blog: http://joshuajava.wordpress.com/
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > sincerely yours
> > M. H. Shamsi
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
sincerely yours
M. H. Shamsi

Reply via email to