Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-7996Progressive disclosure and refresh within table not working
      KULRICE-7987Problems with tooltip and mouse event
      KULRICE-8940Tooltip Edit
      KULRICE-12901Input field validation tooltips displays behind bubblepopup
      KULRICE-10182Error messages scrollTo not working when message in closed disclosure group
      KULRICE-7332Tooltip behavior is inconsistent
      KULRICE-10661Fields not updating when changed within a lightbox
      KULRICE-8556Progressive disclosure of group/fields within a checkbox or radio group - verify functionality
      KULRICE-9672Progressive disclosure not working
      KULRICE-7158Validation messaging - single checkbox tooltip persists/open
    • Rice Module:
      KRAD
    • Sprint:
      2.4.0-m3 KRAD Sprint 1
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Tooltips inside a disclosure that is closed by default don't work

      It appears that my tooltips aren't working under the conditions mentioned in the subject. I'm using an optionsFinder and the label of the checkboxes use a value like the one below:

      String value="[id='course_checkbox_tooltip' messageText='" + courseCode + "' toolTip.tooltipContent='" + courseName + "']";

      Here are the relevant pieces of xml:

      <bean id="conversation_bookmarked_courses" parent="conversation_bookmarked_courses-parent"/>
      <bean abstract="true" id="conversation_bookmarked_courses-parent" parent="Uif-Disclosure-HorizontalBoxSection" p:id="conversation_bookmarked"
      p:headerText="Include bookmarked courses">
      <property name="header.headerLevel" value="h4" />
      <property name="disclosure.defaultOpen" value="false"/>
      <property name="items">
      <list>
      <bean parent="Uif-InputField-LabelTop" p:propertyName="selectedBookmarks" p:required="false">
      <property name="control">
      <bean parent="Uif-HorizontalCheckboxesControl"/>
      </property>
      <property name="optionsFinder">
      <bean class="org.kuali.student.ap.plan.review.util.BookmarkedCoursesBuilder" p:addBlankOption="false" />
      </property>
      <property name="cssClasses">
      <list merge="true">
      <value>bookmarkCheckboxRows</value>
      </list>
      </property>
      </bean>
      <bean id="no_bookmarked_courses_msg" parent="Uif-MessageField" p:messageText="No bookmarked courses available"
      p:render="@

      {bookmarkedCourses.size() eq 0}

      "/>
      </list>
      </property>
      </bean>
      <bean id="course_checkbox_tooltip" parent="Uif-MessageField" p:messageText="Message Field Text">
      <property name="toolTip">
      <bean parent="Uif-Tooltip" p:tooltipContent=""/>
      </property>
      </bean>

      If I set defaultOpen="true", toolTips work as expected. But when false, they do not. I can see that the createTooltip javascript runs when I click to expand the disclosure. Perhaps that's too late in terms of setting up whatever needs to happen in order to create the tooltips?
      I'm pretty sure they worked at some point, possibly even under this same setup, but I've changed things around a bit so maybe just have something simple out of whack.

        Activity

        Hide
        Kristina Taylor (Inactive) added a comment -

        I'm able to replicate in TravelAccountMaintenance with the following tooltip:

        <bean parent="Uif-InputField" p:propertyName="name">
          <property name="toolTip">
            <bean parent="Uif-Tooltip" p:tooltipContent="This is only a test"/>
          </property>
        </bean>
        
        Show
        Kristina Taylor (Inactive) added a comment - I'm able to replicate in TravelAccountMaintenance with the following tooltip: <bean parent= "Uif-InputField" p:propertyName= "name" > <property name= "toolTip" > <bean parent= "Uif-Tooltip" p:tooltipContent= "This is only a test" /> </property> </bean>
        Hide
        Brian Smith (Inactive) added a comment -

        Try initBubblePopups function call when trying to fix this and see if it has any effect

        Show
        Brian Smith (Inactive) added a comment - Try initBubblePopups function call when trying to fix this and see if it has any effect
        Hide
        Kristina Taylor (Inactive) added a comment -

        It's a problem with how when the disclosure is opened, it sends the wrong value (true) to skip tooltip initialization. It's not in this sprint, so I'll put it in either if I get clearance or after the next sprint is cut.

        Show
        Kristina Taylor (Inactive) added a comment - It's a problem with how when the disclosure is opened, it sends the wrong value (true) to skip tooltip initialization. It's not in this sprint, so I'll put it in either if I get clearance or after the next sprint is cut.
        Hide
        Brian Smith (Inactive) added a comment -

        I hope this was a mistake on my part and not intentional

        Show
        Brian Smith (Inactive) added a comment - I hope this was a mistake on my part and not intentional
        Hide
        Kristina Taylor (Inactive) added a comment -

        If it was intentional and my fix becomes a performance problem, we could probably put some more logic in the method you mentioned to check to see if the hidden elements are initialized or not.

        Show
        Kristina Taylor (Inactive) added a comment - If it was intentional and my fix becomes a performance problem, we could probably put some more logic in the method you mentioned to check to see if the hidden elements are initialized or not.
        Hide
        Adam Campbell (Inactive) added a comment -

        (can't be manually validated unless tooltip is added to xml)
        closing as fixed - 10/17/13

        Show
        Adam Campbell (Inactive) added a comment - (can't be manually validated unless tooltip is added to xml) closing as fixed - 10/17/13

          People

          • Assignee:
            Kristina Taylor (Inactive)
            Reporter:
            Jerry Neal (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 hours
              2h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours
              2h

                Agile

                  Structure Helper Panel