4 Replies Latest reply on Nov 14, 2017 4:00 PM by Idkfa2

    Where is the tooltip in the P-Track Gantt chart

    Idkfa2

      In the P-Track application from the Packaged Apps, there's a tooltip that will show when hovered over the Child Element Link. Where is the syntax or code for this tooltip located? I don't see a tooltip plugin being used when I am in the page designer for Gantt Chart of this application under Reporting. I've attached an image below. I need something similar to this but don't know how the developer added the tooltip without a tooltip plugin.ganttooltip.png

        • 1. Re: Where is the tooltip in the P-Track Gantt chart
          Idkfa2

          The only thing I can see that could be related to it is this, but it's showing as a page process.

           

           

           

          declare
              cursor bc_csr is
                  select apex_application.do_substitutions(be.url) url,
                      apex_application.do_substitutions(be.entry_label) entry_label,
                      be.defined_for_page page_id
                  from apex_application_bc_entries be
                  start with be.defined_for_page = :APP_PAGE_ID
                      and be.application_id = :APP_ID
                  connect by prior parent_breadcrumb_id = breadcrumb_entry_id
                      and prior be.application_id = be.application_id
                  order by level desc;
          --        select apex_application.do_substitutions(be.url) url,
          --            apex_application.do_substitutions(be.entry_label) entry_label,
          --            be.defined_for_page page_id
          --        from apex_application_breadcrumbs b,
          --            apex_application_bc_entries be
          --        where b.application_id = :APP_ID
          --            and b.application_id = be.application_id
          --            and b.breadcrumb_id = be.breadcrumb_id
          --        start with be.defined_for_page = :APP_PAGE_ID
          --        connect by prior parent_breadcrumb_id = breadcrumb_entry_id
          --        order by level desc;
              bc_rec bc_csr%ROWTYPE;
              --
              cursor pj_csr( p_project_id in number ) is
                  select ps.id, ps.project
                  from eba_proj_status ps
                  start with ps.id = p_project_id
                  connect by prior parent_project_id = id
                  order by level desc;
              pj_rec pj_csr%ROWTYPE;
              --
              l_cnt integer := 0;
          begin
              sys.htp.p('<ul class="t-Breadcrumb">');
              for bc_rec in bc_csr loop
                  if bc_rec.page_id = 200 then
                      for pj_rec in pj_csr( :P200_ID ) loop
                          /*if l_cnt > 0 then
                              sys.htp.p('<li class="uSeparator">'
                                  ||'<img src="'||:IMAGE_PREFIX||'f_spacer.gif" '
                                  ||'class="uBreadcrumbSeparator" alt=""></li>');
                          end if;*/
                          l_cnt := l_cnt + 1;

                          if :APP_PAGE_ID = 200 and pj_rec.id = :P200_ID then
                              sys.htp.p('<li class="t-Breadcrumb-item is-active"><span class="t-Breadcrumb-label">'
                                  ||apex_escape.html(pj_rec.project)||'</span></li>');
                          else
                              sys.htp.p('<li class="t-Breadcrumb-item"><a href="'
                                  ||apex_util.prepare_url('f?p='
                                      ||:APP_ID||':200:'||:APP_SESSION
                                      ||':::200:P200_ID:'
                                      ||pj_rec.id)
                                  ||'" class="t-Breadcrumb-label">'||apex_escape.html(pj_rec.project)||'</a></li>');
                          end if;
                      end loop;
                  else
                      /*if l_cnt > 0 then
                          sys.htp.p('<li class="uSeparator">'
                              ||'<img src="'||:IMAGE_PREFIX||'f_spacer.gif" '
                              ||'class="uBreadcrumbSeparator" alt=""></li>');
                      end if;*/
                      l_cnt := l_cnt + 1;

                      if bc_rec.page_id = :APP_PAGE_ID then
                          sys.htp.p('<li class="t-Breadcrumb-item is-active"><span class="t-Breadcrumb-label">'
                              ||apex_escape.html(bc_rec.entry_label)||'</span></li>');
                      else
                          sys.htp.p('<li class="t-Breadcrumb-item"><a href="'
                              ||bc_rec.url||'" class="t-Breadcrumb-label">'||apex_escape.html(bc_rec.entry_label)||'</a></li>');
                      end if;
                  end if;
              end loop;
              sys.htp.p('</ul>');
          end;

          • 2. Re: Where is the tooltip in the P-Track Gantt chart
            fac586

            Idkfa2 wrote:

             

            In the P-Track application from the Packaged Apps, there's a tooltip that will show when hovered over the Child Element Link. Where is the syntax or code for this tooltip located? I don't see a tooltip plugin being used when I am in the page designer for Gantt Chart of this application under Reporting. I've attached an image below. I need something similar to this but don't know how the developer added the tooltip without a tooltip plugin.ganttooltip.png

            You will have to be more specific. What page and region does this refer to? How do we reproduce this scenario?

             

            The information content of screenshots is inversely proportional to the degree to which they are cropped...

            • 3. Re: Where is the tooltip in the P-Track Gantt chart
              fac586

              Idkfa2 wrote:

               

              In the P-Track application from the Packaged Apps, there's a tooltip that will show when hovered over the Child Element Link. Where is the syntax or code for this tooltip located? I don't see a tooltip plugin being used when I am in the page designer for Gantt Chart of this application under Reporting. I've attached an image below. I need something similar to this but don't know how the developer added the tooltip without a tooltip plugin.ganttooltip.png

              It's a plain old HTML title attribute generated by the Gantt chart plug-in, as specified by its Child Element Alt. Name Column setting, using the region source TITLE_TEXT column.

              • 4. Re: Where is the tooltip in the P-Track Gantt chart
                Idkfa2

                Perfect! Thanks Fac586 once again!! I was over thinking it. Thanks for always helping.