Hi,
I am a bit confused about the calls to ButtonController::input() which are
done at the end of the XForms input() methods. My guess was that this is used
to enable/disable the OK, Apply etc. buttons. However, when I call this, I
get into an endless recursion in the input() methods.
Following the code, the input() method passes on the parameter to the
ButtonPolicy returned by bp(), which simply returns the object in the bp_
member variable. This is never initialized anywhere, so it must be
default-initialized. But I cannot find any template instantiations for this
for e.g. the citation dialog, just for the dialogs that have not been
converted to the controller architecture yet. So obviously, this does not
apply for the already converted dialogs. But still the input() method is
called.
I guess this all boils down to one question:
- Do I need to call ButtonController::input(), and if yes, where and with
which parameter?
Thanks,
Kalle
--
Matthias Kalle Dalheimer
President & CEO/VD
Klarälvdalens Datakonsult AB
Fax +46-563-540028
Email [EMAIL PROTECTED]