As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
We got a problem: when we use the field W_POPUP in combination with HFREEZE all the fields next of W_POPUP disappears.
We use WF 8
-* File popup.fex
-SET &ECHO=ALL
DEFINE FILE CAR
W_POPUP/A100='<div title=''' | CAR | ' ' | MODEL | '''>' | 'A' | '</div>';
END
TABLE FILE CAR
PRINT
COUNTRY
W_POPUP
CAR
MODEL NOPRINT
DEALER_COST
RETAIL_COST
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
TYPE=REPORT,
HFREEZE=ON,
$
ENDSTYLE
END
This message has been edited. Last edited by: <Kathryn Henning>,
Your problem stems from the fact that you have the div within your field output. This adds length to the scrolling content which is not reflected within the "frozen" headings such that the rest of the fields are pushed out of view to the right.
To show this, run in IE and hit F12. Leaving the tab on HTML, click the arrow and then click on the first entry on the Country column. This will show the styling on this column in the right hand pane of the IE tools window.
Now click on the "div" row just above in the left hand pane. Notice that the style on the right now reflects that for the selected element.
Uncheck the last attribute under "inline style" this should be something like Width 444px.
Now move back to your report and you will notice that the fields have appeared - to the right of where the table width forced a finish.
I guess that you are just attempting to add a tooltip for a particular column?
I would suggest moving the W_POPUP to the last position so that you allow the "overlapped" portion of the report to be the excess length caused by the div element but would this work for you?
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Thanks for your reply. I put it in the front because the fields in the tooltip ar position there. (see Model) if I'm not mistaken it work in older versions of WebFOCUS???
Unfortunately I do not have pre 8.0.0.6 available at the moment so I couldn't confirm that it worked. If someone has an earlier release perhaps we could ask that they check it and advise?
As regards the tooltip, the ideal method would be to be able to add field(s) to the ALT attribute in the WF style sheet syntax -
But that isn't possible. Perhaps raise an NFR? Get many people to add their weight to the NFR and perhaps it will be considered in a favourable light?
Who knows, the "FOCUS Nation" (to coin a phrase) managed to persuade product division to add items such as F5 to run, block commenting etc. in Dev Studio before.
Personally, I think that it would be a worthy and immensely beneficial enhancement - anyone else?
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
It's me again, with some alternative code that will give you a similar effect but with a little more coding -
DEFINE FILE CAR
S_POPUP/A300='type=data, column=W_POPUP, when=MODEL EQ '''|MODEL|''', javascript=void(0), alt='''||CAR | ' ' | MODEL|''', $';
END
TABLE FILE CAR
PRINT S_POPUP AS ''
BY COUNTRY NOPRINT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SAVE AS MYPOPUP
END
-RUN
TABLE FILE CAR
PRINT
COUNTRY
COMPUTE W_POPUP/A1 = 'A';
CAR
MODEL NOPRINT
DEALER_COST
RETAIL_COST
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt, $
TYPE=REPORT, HFREEZE=ON, $
-INCLUDE mypopup.ftm
ENDSTYLE
END
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004