Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Consolidate Inquiry and DirectInquiry widgets into one by adding a 'directInquiry' flag to the Inquiry widget. That way, we can have only one property in the input field and you don't have to configure the relationship twice to get both the standard inquiry and direct inquiry
  2. Look at relationships with lighbox. For example, why does Action field have two nested Lightbox components? It seems like the Inquiry and Lookup widgets should operate on the lightbox for ActionField instead of ActionField having this dependency. In particular since it is not possible to use the Lightbox generically.
  3. Also case of LinkField and the nested Lightbox widget. I think this is there for inquiry. Would be good to have a general lightbox component with an 'openInLightbox' flag or a 'lightbox' target option that states the linked contents should be displayed in a lightbox.
Ajax Improvements
  1.  Add Add property ajaxSubmit to ActionField. When set to true this will submit the form using Ajax instead of the browser submit. Will default to updating the page contents.
  2. Add property preSubmitCall to ActionField. This will invoke script before the form is submitted. A boolean will be returned to indicate whether the form submission should continue.
  3. Add property successCallback to AjaxActionField. This will be invoked for succesful ajax calls.
  4. Add property errorCallback to AjaxActionField. This will be invoked for failed ajax calls.
  5. Rename 'clientSideJs' to 'actionScript'. This will be used for script only actions (do not invoke the server).
  6. In krad.ajax, do cleanup to have an ajaxSubmitForm and stantard submitForm (browser). Methods to do validation before hand.
  7. Refactoring action parameters to not do script writing of hiddens, but to use new 'data' attributes. For ajax calls the data attributes will be picked up and added to the ajax data. For standard browser submits the data attributes will be picked up and added as hiddens

...