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

Input field not rendering on collection add line item


    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8951Property editors not getting picked up on add line and collection line items
      KULRICE-8504TableLayout Collection does not render correctly with separate add line
      KULRICE-13991Fill AFT Gap: Add Line ("Collection Add Line with Custom Actions")
      KULRICE-10762KRAD Demo Library Collections Auto Sequence adds commas to Input Fields
      KULRICE-9839Collection select prototype rendered on add line row
      KULRICE-11977Collection add line and line item enter key support implementation
      KULRICE-13992Fill AFT Gap: Add Line ("Collection Add Line with Dialog and Custom Actions")
      KULRICE-5299Add line on collections not checking required fields and not refreshing just the collection group
      KULRICE-9044KRAD "stacked" collection elements are not rendering add/delete buttons
      KULRICE-13010Investigate client side collection rendering
    • Rice Module:
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:


      Actually the more I try to play with the weirder it gets…

      I did change input field in addLineItems from
      <property name="addLineItems">
      <bean parent="KS-Uif-InputField" p:fieldLabel.render="false" p:propertyName="name"
      p:additionalCssClasses="ks-uif-quickFinder" p:required="true”>
      <property name="addLineItems">
      <bean id="holidayCalendars" parent="KS-Uif-InputField" p:label=" " p:propertyName="name">

      NOTHING else was changed. However now I’m getting an error:
      “WARN org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase - Error in lifecycle phase PopulateComponentFromExpressionGraphTask InputFieldBase holidayCalendars_add
      org.kuali.rice.core.api.exception.RiceRuntimeException: Object for which expression is configured on is null or does not implement UifDictionaryBean: 'fieldLabel' …”

      How can it be that adding bean id corrupts everything?

      Thank you!

      From: vgadiyak@gmail.com vgadiyak@gmail.com
      Sent: Monday, May 12, 2014 2:19 PM
      To: rice.usergroup.krad@kuali.org

      {Rice KRAD User Group}

      Issue with Uif-TableCollectionSubSection


      After Rice Upgrade when I use

      <bean id="KS-PopulationWrapper-AddPopulationsSubSection" parent="Uif-TableCollectionSubSection"
      p:width="27%" p:id="populations_table">
      <property name="headerText" value="Population(s)" />
      <property name="collectionObjectClass" value="org.kuali.student.r2.core.population.dto.PopulationInfo" />
      <property name="propertyName" value="childPopulations" />
      <property name="layoutManager.renderSequenceField" value="false" />
      <property name="layoutManager.applyAlternatingRowStyles" value="false" />
      <property name="layoutManager.applyDefaultCellWidths" value="false" />
      <property name="layoutManager.richTable.render" value="false" />
      <property name="addLineItems">
      <bean parent="KS-Uif-InputField" p:fieldLabel.render="false" p:propertyName="name"
      p:additionalCssClasses="ks-uif-quickFinder" p:required="true">
      <property name="control">
      <bean parent="KS-Uif-TextControl" p:size="40" p:readOnly="false" />
      <property name="quickfinder">
      <bean parent="Uif-QuickFinder">
      <property name="dataObjectClassName" value="org.kuali.student.enrollment.class2.population.dto.PopulationWrapper"/>
      <property name="fieldConversions">
      <entry key="populationInfo.id" value="id"/>
      <entry key="populationInfo.name" value="name"/>
      <property name="readOnlyLookupFields" value="populationInfo.stateKey" />
      <property name="quickfinderAction">
      <bean parent="KS-Uif-ActionLink" p:methodToCall="performLookup" p:id="lookup_searchPopulation" p:actionLabel="Find a Name" />
      <property name="items">
      <bean parent="KS-Uif-DataField" p:fieldLabel.render="false" p:propertyName="name"
      p:style="font-weight:bold;" p:required="true">
      <bean parent="KS-Uif-DataField" p:render="false" p:propertyName="id" p:required="true"/>

      I don't see any input field (much less quick finder) set in "addLineItems" on screen. Only "Add" button (please, see pic attached).

      I did look at the html element and here's what I have there:
      <tr class="uif-collectionAddItem">
      <div id="null_add" class="uif-inputField ks-uif-quickFinder" data-label="Name" data-role="InputField"></div>
      <td class="uif-collection-column-action">
      <div id="u178h53q_add" class="uif-horizontalFieldGroup" data-group="u9bf7df_add" data-parent="populations_table"></div>

      This is what I had before the Rice Upgrade:
      <tr class="uif-collectionAddItem">
      <td rowspan="1" colspan="1" role="presentation">
      <div id="u100187_add" class="uif-inputField ks-uif-quickFinder" data-role="InputField" data-parent="populations_table"></div>
      <input type="hidden" value="jQuery(document).ready(function(e)

      { runValidationScript(fun…\040\f\r\n]*$/.test(value);}

      , "Can be any character");});});" data-for="u100187_add" data-role="script" script="first_run"></input>
      <td rowspan="1" colspan="1" role="presentation">
      <div id="u100156_add" class="uif-horizontalFieldGroup" data-group="u100159_add" data-parent="populations_table"></div>
      How would I go around it? Any property that needs to be set now?

      Thank you!

        Issue Links


          There are no comments yet on this issue.


            • Assignee:
              Jerry Neal (Inactive)
              Jerry Neal (Inactive)
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created:

                Structure Helper Panel