Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Is this even possible?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Is this even possible?
 Login/Join
 
Silver Member
posted
I am still learning WebFOCUS and I have a set of requirements that I have been handed that I am not even sure is possible to complete.
http://s855.photobucket.com/al...w¤t=report.jpg (link in case image does not show up in post)

Based on the image, can someone let me know if the following are possible:
1) Dropdown selector in a title column.
2) Graph in a table cell
3) Pagination (using javascript?)

Also, if you could give me an idea on the level of effort it would take so I can let the person who created the requirements if it is worth pursuing.

Thanks!

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.8
Linux
HTML,AHTML,PDF
 
Posts: 37 | Registered: June 12, 2009Report This Post
Gold member
posted Hide Post
Cody,

I believe you can do all of that in webfocus however, it's not your simple webfocus report.

1. Dropdown in the title would be a mixture of webfocus, html code, javascript code.
2. Would be links to prepared sparkline images.
3. Webfocus has methods for pagination.

I would guess a day or two effort, if all the data is prepared and known.

My two cents,
--wg


WF 8009m, Clustered vm Windows2008r2 reporting servers;
Web interface: tomcat;
Output: EXCEL, HTML, PDF; dbms: Oracle 10, db2 on mvs, mssql
 
Posts: 81 | Location: Monroe LA | Registered: January 07, 2005Report This Post
Master
posted Hide Post
Cody,
It looks like a normal HTML page with images and a mouse-over drop down.

Its very much possible in WebFOCUS.
Here is the solutions that I will prefer.
1. Create
<DIV>
elements and using onmouseover event change visible property of the elements.
2. Save graph output as images. Use -HTMLFORM and build report output. Create a define column like this
IMG_COLUMN/A200='<IMG SRC='''| graph_output_1.jpg | '>';
Call in the TABLE FILE request.
3. To create pagination with row limit. Use a counter in the final output and limit the display using WHERE CNTR GT 11 AND CNTR LE 20. You can dynamically change the filter values based on user selected page number and row count. Use dialogue manager variables(-SET &START_ROW=11;, -SET &END_ROW=20Wink for that.

Finally to do all these, go for HTMLFORM. That will make things easier.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Virtuoso
posted Hide Post
The beginning of a solution:
  
-* File cody01.fex
-*
-* The dropdown in title
-SET &STITLE='<Select name="Cody"><option value="1">Total Sales per Car</option><option value="2">Other Option</option></Select>';
-*
-* Limit number of lines/page
SET LINES = 12
-*
-* Change 0 to something visible
DEFINE FILE CAR
SALES/I6=IF SALES EQ 0 THEN 2000 ELSE SALES;
END
-*
-* Report
TABLE FILE CAR
SUM 
     SALES AS '&STITLE'
BY CAR
ON TABLE SET PAGE-NUM OFF 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
-*
-* Use WF WebViewer for paging
ON TABLE SET WEBVIEWER ON
ON TABLE SET WEBVIEWTARG OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
     GRAPHTYPE=DATA,
     COLUMN=N2,
     GRAPHLENGTH=1.000000,
     GRAPHWIDTH=0.1,
     GRAPHCOLOR='TEAL',
$
TYPE=REPORT,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-TOP-COLOR=RGB(153 153 153),
     BORDER-BOTTOM-COLOR=RGB(153 153 153),
     BORDER-LEFT-COLOR=RGB(153 153 153),
     BORDER-RIGHT-COLOR=RGB(153 153 153),
     FONT='ARIAL',
     SIZE=9,
$
TYPE=DATA,
     COLUMN=N2,
     FONT='ARIAL',
     SIZE=14,
     COLOR='GRAY',
     STYLE=NORMAL,
$
TYPE=DATA,
     COLUMN=N1,
     FONT='ARIAL',
     SIZE=14,
     COLOR='GRAY',
     STYLE=NORMAL,
$
TYPE=TITLE,
     COLUMN=N2,
     SIZE=14,
     COLOR='GRAY',
     STYLE=NORMAL,
     JUSTIFY=RIGHT,
$
TYPE=TITLE,
     COLUMN=N1,
     FONT='ARIAL',
     SIZE=14,
     COLOR='GRAY',
     STYLE=NORMAL,
$
ENDSTYLE
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Silver Member
posted Hide Post
Thanks for the help. I certainly have a much better place to start from now than I did.


WebFOCUS 7.6.8
Linux
HTML,AHTML,PDF
 
Posts: 37 | Registered: June 12, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Is this even possible?

Copyright © 1996-2020 Information Builders