There are loads of customization techniques on the web if you're keen on building a hover over tool tip.
Erfan
WebFOCUS 77, Windows, HTML PDF EXCEL
June 10, 2013, 11:30 AM
Tim P.
We have tried a couple of jquery ideas for this topic one of which was just diplaying a jquery dialog box. Unfortunately it seems that with webfocus starting IE in quirks mode, most of the functionality doesn't work.
Been looking for a way to keep webfocus from entering quirks mode to no avail so far.
WebFOCUS App Studio 8.2.02 Windows 7, All Outputs
June 10, 2013, 11:49 AM
Francis Mariani
For HTML Composer GUI built HTML pages we do the unthinkable: we edit the code. We add an HTML 5 doctype to the top of the file:
<!DOCTYPE HTML>
Every time we save a file after a GUI modification, we also remove the
<!-- Generated by Report Layout Painter -->
comment. This should keep IE out of quirks mode.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 10, 2013, 02:18 PM
Tim P.
I will have to try that. I vaguely remember trying something similar and the doctype that would normally go in is baked into a servlet somewhere.
I did not think we could change the doc type because the baked in version was issued before it even got to the html file.
WebFOCUS App Studio 8.2.02 Windows 7, All Outputs
June 11, 2013, 09:36 AM
DBADiaz
You can also force an IE mode via a meta tag. Webfocus 8 attaches a meta to html pages built through composer that force IE9 mode.
Just keep in mind that when you open the file in composer, it will move the metat towards the end of the head component. The meta needs to be the first tag in the Head or it will not take.
A possible solution if you are just using the HTML composer:
Create panels
Create an iframe in each of the panel
Populate the iframes with the dummy data with autoexecute set to true
Hide the panels onLoad of the HTML page
For the hyperlinks, add the onmouseover event, which displays the corresponding panel. Also, hide the panel onmouseout.
BTW, I would split the fex to data retrieval - if dummy data, pulls from dummy data and if real, pull from real data; and the display of the data. This means that you can then use the same fex to populate the hover and the actual component and one fex to change if the report changes.
Year(s) of experience in WebFOCUS: 5+. Using WebFOCUS 7.7.03 on Windows platform with Oracle/SQL Server.
June 11, 2013, 01:00 PM
J
Good idea JL,
You don't even need the panel. You can just use the frame.
You want autoexecute to be set to false, other wise it won't stay hidden.
Onmouseover just use the IbComposer_execute function to execute (thus displaying the frame.)
Onmouseout you will have to hide it (with IbComposer_showHtmlElement)
There is a page on such IBI javascript functions in the documentation
WebFOCUS 7.7.03/8.0.08 Dev Studio 7.7.03/8.0.08 App Studio 8.0.08 Windows 7 ALL Outputs
June 11, 2013, 01:05 PM
J
The above method will force you to use sample data since it executes each time
If you want live data to be loaded on page update you will need to set auto execute to true and then in the onintialupdate function you will need initially hide it. Use the IbComposer_showHtmlElement to show/hide it on mouseover and mouse out.
If there are going to be a few samples, this method wouldn't hurt. If you have a lot of link previews you will want to execute them as needed and probably use the above method.
Pretty much all of this is done through the GUI
WebFOCUS 7.7.03/8.0.08 Dev Studio 7.7.03/8.0.08 App Studio 8.0.08 Windows 7 ALL Outputs
May 11, 2017, 10:26 AM
vaayu
Hello Tim, Have you been able to implement the popup succesfully? I have a similar requriment to show a "mini chart" as a popup on click or hover in an HTML report field. Please share your sample if you can. Thanks in advance!
quote:
Originally posted by Tim P.: We have tried a couple of jquery ideas for this topic one of which was just diplaying a jquery dialog box. Unfortunately it seems that with webfocus starting IE in quirks mode, most of the functionality doesn't work.
Been looking for a way to keep webfocus from entering quirks mode to no avail so far.