[Bese-devel] *current-form* and call-in-restored-rendering-environment problems

Ties Stuij cjstuij at gmail.com
Thu Sep 6 12:27:13 UTC 2007


I encountered two seperate problems with the latest ucw_ajax:

The first one is about this call action before method. It seems to me
that it is letting ucw think that the to be called component is a
form, and subsequently tells all calls to install-action-js in that
links component to put a:   formsToSubmit : [ '<form>' ] }); into the
javascript. Which then throws me into the debugger.

(defmethod call-action :around ((action ajax-action) application session frame)
  (let ((form (creation-time-current-form-of action)))
    (if (and form
             (parent form))
        (let ((*current-form* form))
          (ucw.rerl.actions.dribble "Restored *CURRENT-FORM* to ~A
from CALL-ACTION of AJAX-ACTION" *current-form*)
          (call-next-method))
        (call-next-method))))

Commenting it out works for me but i am to un-knowledgeable about
ucw-ajax to fix what this fixes.


furthermore when clicking an ajax link, i'm thrown into the debugger
with as message:
 There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION IT.BESE.UCW:CALL-IN-RENDERING-ENVIRONMENT

Apparently render-nearest-ajax-component can't find a component which
is an ajax-component-mixin. Is this a new thing, that to be rendered
components must be ajax-component-mixin's or am i barking up the wrong
tree here. FYI all goes well in this area untill the

* Added call-in-restored-rendering-environment; renamed to
call-in-rendering-environment

patch.

/Ties



More information about the bese-devel mailing list