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

applyDefaultCellWidths property on table layout manager is not working properly

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2.0-rc1, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-8747Table layout manager rowDetailsLinkName property not getting used
      KULRICE-8748Set TableLayoutManager applyDefaultCellWidths to false by default
      KULRICE-6960Change actionFieldPrototype for table layout manager base bean from vertical box layout to horizontal box layout
      KULRICE-5402Uif Framework - Collections: table layout manager support for repeat headers
      KULRICE-6963Table layout manager requires the numberOfColumns to be set instead of using supressLineWrapping
      KULRICE-12030The KRAD Sample App library "Save Row", "Multirow" Table Layout examples do not add correctly
      KULRICE-12607Table Layout in KRAD Library broken
      KULRICE-5176Allow add line to be different layout than existing lines for table layout (needed for KIM conversion)
      KULRICE-7957Introduce layout options nested component class for item layout properties
      KULRICE-13271Item Css demo is not working in Box Layout Manager demo
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Document
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      I'm having trouble getting rid of a default cell width. I have a collection with a subcollection and the datafield within the collection is being given a 50% cell width, while the cell containing the subcollection data is being given a 100% width. I tried setting a property for applyDefaultCellWidths and layoutManager.applyDefaultCellWidths (both to false) but both did not work. My xml is below. Additionally, I used the auto width for the datafield cell, which for my situation worked OK. The cell containing the sub collection still has a 100% width, but its not effecting the layout.

       
      <bean id="academicYearCollection" parent="Uif-StackedCollectionGroup">
              <property name="collectionObjectClass" value="org.kuali.student.myplan.plan.dataobject.FullPlanItemsDataObject"/>
              <property name="propertyName" value="searchResults"/>
              <property name="renderAddLine" value="false"/>
              <property name="renderLineActions" value="false"/>
              <property name="items">
                  <list>
                      <bean parent="Uif-DataField" p:propertyName="yearRange" p:labelField.render="false"/>
                  </list>
              </property>
              <property name="subCollections">
                  <list>
                      <ref bean="termsCollection"/>
                  </list>
              </property>
          </bean>
      

        Activity

        Jerry Neal (Inactive) made changes -
        Field Original Value New Value
        Fix Version/s 2.2.0-rc1 [ 16716 ]
        Fix Version/s 2.2-backlog [ 16475 ]
        Priority Major [ 3 ] Critical [ 2 ]
        Jessica Coltrin (Inactive) made changes -
        Fix Version/s 2.2.0-m5 [ 16732 ]
        Fix Version/s 2.2 [ 16411 ]
        Fix Version/s 2.2.0-rc1 [ 16716 ]
        Jessica Coltrin (Inactive) made changes -
        Fix Version/s 2.2 [ 16411 ]
        Sona Sona (Inactive) made changes -
        Assignee Sona Sona [ sonam ]
        Jessica Coltrin (Inactive) made changes -
        Fix Version/s 2.2.0-rc1 [ 16716 ]
        Fix Version/s 2.2.0-m5 [ 16732 ]
        Hide
        Sona Sona (Inactive) added a comment -

        Hi Garret,
        You should be able to get the above working as expected if you set the these two properties :

            <property name="layoutManager.lineGroupPrototype.layoutManager.numberOfColumns" value="1"/>
        
            <property name="layoutManager.lineGroupPrototype.layoutManager.applyDefaultCellWidths" value="false"/>
        
        Show
        Sona Sona (Inactive) added a comment - Hi Garret, You should be able to get the above working as expected if you set the these two properties : <property name= "layoutManager.lineGroupPrototype.layoutManager.numberOfColumns" value= "1" /> <property name= "layoutManager.lineGroupPrototype.layoutManager.applyDefaultCellWidths" value= " false " />
        Sona Sona (Inactive) made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Sona Sona (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jessica Coltrin (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Shem Patterson (Inactive) made changes -
        Workflow custom [ 146633 ] Copy of custom for rice [ 214519 ]
        Shem Patterson (Inactive) made changes -
        Workflow Copy of custom for rice [ 214519 ] custom [ 224267 ]
        Shem Patterson (Inactive) made changes -
        Workflow custom [ 224267 ] Rice Workflow [ 234015 ]

          People

          • Assignee:
            Sona Sona (Inactive)
            Reporter:
            Garett Gowens
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel