Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-2236

Rewrite RuleTemplateLookupableImpl to use KNS framework

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: Development
    • Labels:
      None
    • Rice Module:
      KEW

      Description

      org.kuali.rice.kew.lookupable.RuleTemplateLookupableImpl needs to be rewritten to use the KNS lookup framework

      See KULRICE-1457 for more details

        Attachments

          Issue Links

            Activity

            Hide
            stimble Shubhangi Timble (Inactive) added a comment -

            I have comlpeted the following steps and committed the relevant code/files to rice-9.4-br:-

            1) Moved RuleTemplate.java into the org.kuali.rice.kew.rule.bo package.
            2) Updated all the references in OJB-repository-kew.xml to org.kuali.rice.kew.rule.bo.RuleTemplate
            2) Modified RuleTemplate so that it extends PersistableBusinessObjectBase.
            2) Created a data dictionary file for RuleTemplate
            3) Added a reference of new data dictionary file in KewSpringBeans.xml.
            4) Added a new link "Rule Template New" in Admin.jsp of en web module which points to kr/lookup.do

            The new lookup results do not display the exact value in delegationTemplate column,I compared my dd file with ruleAttribute, but did not find any difference/missing information.
            This column is referencing to same table,so do we need to write some method to fetch the ruletemplate name?
            Is there some other file which needs to be created/updated for kns lookup?

            The old rulelookup does not display lockVerNbr in the results, is it needed now?

            [ Show » ] Shubhangi Timble - 11/Sep/08 08:35 AM I have comlpeted the following steps and committed the relevant code/files to rice-9.4-br:- 1) Moved RuleTemplate.java into the org.kuali.rice.kew.rule.bo package. 2) Updated all the references in OJB-repository-kew.xml to org.kuali.rice.kew.rule.bo.RuleTemplate 2) Modified RuleTemplate so that it extends PersistableBusinessObjectBase. 2) Created a data dictionary file for RuleTemplate (see the RuleAttribute.xml file that I created). 3) Added a reference of new data dictionary file in KewSpringBeans.xml. 4) Added a new link "Rule Template New" in Admin.jsp of en web module which points to kr/lookup.do The new lookup results do not display the exact value in delegationTemplate column,I compared my dd file with ruleAttribute, but did not find any difference/missing information. Is there some other file which needs to be created/updated for kns lookup? The old rulelookup does not display lockVerNbr in the results, is it needed now?

            Show
            stimble Shubhangi Timble (Inactive) added a comment - I have comlpeted the following steps and committed the relevant code/files to rice-9.4-br:- 1) Moved RuleTemplate.java into the org.kuali.rice.kew.rule.bo package. 2) Updated all the references in OJB-repository-kew.xml to org.kuali.rice.kew.rule.bo.RuleTemplate 2) Modified RuleTemplate so that it extends PersistableBusinessObjectBase. 2) Created a data dictionary file for RuleTemplate 3) Added a reference of new data dictionary file in KewSpringBeans.xml. 4) Added a new link "Rule Template New" in Admin.jsp of en web module which points to kr/lookup.do The new lookup results do not display the exact value in delegationTemplate column,I compared my dd file with ruleAttribute, but did not find any difference/missing information. This column is referencing to same table,so do we need to write some method to fetch the ruletemplate name? Is there some other file which needs to be created/updated for kns lookup? The old rulelookup does not display lockVerNbr in the results, is it needed now? [ Show » ] Shubhangi Timble - 11/Sep/08 08:35 AM I have comlpeted the following steps and committed the relevant code/files to rice-9.4-br:- 1) Moved RuleTemplate.java into the org.kuali.rice.kew.rule.bo package. 2) Updated all the references in OJB-repository-kew.xml to org.kuali.rice.kew.rule.bo.RuleTemplate 2) Modified RuleTemplate so that it extends PersistableBusinessObjectBase. 2) Created a data dictionary file for RuleTemplate (see the RuleAttribute.xml file that I created). 3) Added a reference of new data dictionary file in KewSpringBeans.xml. 4) Added a new link "Rule Template New" in Admin.jsp of en web module which points to kr/lookup.do The new lookup results do not display the exact value in delegationTemplate column,I compared my dd file with ruleAttribute, but did not find any difference/missing information. Is there some other file which needs to be created/updated for kns lookup? The old rulelookup does not display lockVerNbr in the results, is it needed now?
            Hide
            stimble Shubhangi Timble (Inactive) added a comment -

            Corrected references to delegationTemplateId in RuleTemplate.xml, now the results show the delegationTemplateId as an inquiry link.

            Show
            stimble Shubhangi Timble (Inactive) added a comment - Corrected references to delegationTemplateId in RuleTemplate.xml, now the results show the delegationTemplateId as an inquiry link.
            Hide
            ewestfal Eric Westfall added a comment -

            Great, I've got a commit I'll be doing here shortly that will fix some of the issues I encountered on the inquiry.

            Show
            ewestfal Eric Westfall added a comment - Great, I've got a commit I'll be doing here shortly that will fix some of the issues I encountered on the inquiry.
            Hide
            ewestfal Eric Westfall added a comment -

            Rest of changes committed for this. Active attributes attached to a Rule Template are now being displayed on the inquiry correctly. XML Export is in place for rule templates from the lookup and links to delegation templates are working properly.

            Show
            ewestfal Eric Westfall added a comment - Rest of changes committed for this. Active attributes attached to a Rule Template are now being displayed on the inquiry correctly. XML Export is in place for rule templates from the lookup and links to delegation templates are working properly.

              People

              • Assignee:
                stimble Shubhangi Timble (Inactive)
                Reporter:
                ewestfal Eric Westfall
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: