Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-2123

Modify widgets and/or edoclite1.js to support custom functions on buttonClick

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.1.4
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-2308Update widgets to support calling two functions when a custom function is passed as a parm to the buttons template.
      KULRICE-2124Add functionality for custom evaluation via default widgets templates [eDocLite]
      KULRICE-2117edoclite1.js comparing element.length on typeof ==' function' causes Windows IE to error. This bug introduced with last edoclite1.js change. Changed registerHandlers to bypass typeof=='function'.
      KULRICE-2272For Edoclite, when 'Save' button clicked, allow fields without data to bypass validation. Modify edoclite1.js Also change EdocliteDef.xsd to allow null value in '<values>' type.
      KULRICE-2119Use prototype functions in widgets to support form hiding during refreshes. Form refreshes are part of logic invoked by usage of widget field type 'select_input'.
      KULRICE-11178Need support for query customizers with JPA
      KULRICE-8174Custom Function Editor in KRMS
      KULRICE-10261Inquiry download custom BO attachments, KRAD support
      KULRICE-10571Inquiry download custom BO attachments, KRAD support
      KULRICE-2213Modify widgets buttons template to correctly create attribute for calling a function passed into it as a parm.
    • Rice Module:
      KEW

      Description

      Allow a click on an action button to do validation processing and then optionally run another custom function of whose result will determine whether the form is submitted to the server or not.

      Instead of using the default onClick="buttonClick(

      {actionTitle}

      )" for action buttons, we created a new function named buttonClickFunctionName(

      {function}

      ) to be used instead. This allows any kind of onClick function processing which returns either true or false upon completion. True continues with form submittal, and false returns the form in the current state.

      No changes were required in widgets, and the adding of a limited number of lines and 1 global variable were added to edoclite.js

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Craig Solinski (Inactive)
            Reporter:
            Greg Patterson (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel