argoyle/tapestry-tagselect — Issue #8: Error javascript
Author: tnodev
Created: 2011-11-28 07:50:12+00:00
State: open

Hello,

I am using Tapestry 5.2.6, Linux Ubuntu, Firefox and I try to use tagselect but, I have a problem.

* The list from the autocomplete field works, but the selection of an item does not.
* The click on the arrow image does not work too

Here the js error :

Erreur : $("entite").tagSelect is undefined

the tapestry5 tml code :

and the tapestry5 java code :

@Persist
@Property
private String tag;

SelectModel onProvideCompletionsFromEntite(final String input) {
return new SelectEntiteModel(input);
}

void onActivate(final EventContext context) {
if (context.getCount() > 0) {
final String tag = context.get(String.class, 0);
this.tag = tag;
}
}

Is it a bug, or I misunderstood the way to use it ?

Thanks, Thomas