I'm not sure what it is that you wanted to be able to do and can't but it's
pretty easy to override bits and pieces of widgets.

http://trac.dojotoolkit.org/browser/trunk/src/widget/Select.js
http://trac.dojotoolkit.org/browser/trunk/src/widget/ComboBox.js

overriding would probably look something like:

dojo.require("dojo.widget.ComboBox");

dojo.lang.extend(dojo.widget.ComboBox,

setValue:function(value) {
   // do something different with value
 }
);

If you don't really want to force all object definitions of ComboBox to use
your new enhancement but only one specific
instance you can do some (real) mix-ins :

dojo.lang.mixin(dojo.widget.byId("myComboBox"), new
MyCustomBehavorObject());

On 4/17/07, Daniel Leffel <[EMAIL PROTECTED]> wrote:

I've invested countless hours into this project and now need advice.

My prevailing assumption had been that I could use the forceValid option
with the Autocompleter and the subsequently be able to access the input
string to create new values on Form submit. It sounds from my prior email
that this isn't going to work well. I absolutely need this functionality
though.

My presumption is that I can't use Tacos with 4.1.2. I can't revert to
4.0because I've already extensively implemented functionality using
the
EventListener.

What should I do?




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to