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     Encapsulating/packaging HTML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Encapsulating/packaging HTML
 Login/Join
 
Gold member
posted
Hello,

Just wondering how folks encapsulate/package HTML so that components can be reused using Webfocus.

For example, say you've got a nifty bit of date selector HTML and Javascript and you want to encourage folks to use it rather than have them re-invent the date selector for each launch page that requires one. How do you package stuff in webfocus?
 
Posts: 83 | Location: Dartmouth Hitchcock Medical Center | Registered: April 17, 2003Report This Post
Expert
posted Hide Post
save your focus table output to a filename inside your agent and then display that table(s) within an html shell you write at the bottom of your fex. In that shell, you can drop in all the javascript you want. What you can't do is make it an .asp page...really really needed feature.
TABLE FILE CAR
..dostuff
ON TABLE HOLD AS MYTABLE FORMAT HTMTABLE (or FORMAT HTML if you're using multiple choice dd's)
END
-RUN
-HTMLFORM BEGIN
[HTML>
[HEAD>
[SCRIPT .....whatever you have
[/script]
[/head]
[body>
<!-- WEBFOCUS TABLE MYTABLE -->
[/BODY>
[/HTML>
-HTMLFORM END
.......any help? or have i misunderstood you completely?
...wait i think i've misunderstood you. are you using a gui tool to build launch pages? and are they within mre? And you haven't got output yet, you're wanting to provide an existing logic module for one of your selector boxes?
...If so, its easy to do in a self serv...you make your pages .asp and use a server side include to the logic block, or make the html and load the js function. but you cant build it using a gui tool.
... if you're in mre, you're stuck with hmtl pages and you'll have to hand edit to preload the js function, or ... change the html launch page to a fex itself, and filedef the file where your logic block is and use a !ibi to include it in your html (now a fex).
...is this TMI?
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
Sorry, should have been clearer about my intentions. Let's say I'm using Developer Studio and I want to create a launch page that will run a focexec. I'd like to reuse a nifty bit of HTML and javascript developed by someone else. How do folks package up the javascript and HTML so that others may use it?

We're running with DS on Windows and the wfclient (WFServlet) and reporting server on unix. No MRE.

We tried enabling SSI's in Tomcat but that has the unfortunate side effect of writing over your .htm file if you "right-click and run" from within the "Data Servers" section of DS. So it looks like SSI's are not going to work there.

Were using Webfocus 5.3.2

Thanks for any ideas you may have.
 
Posts: 83 | Location: Dartmouth Hitchcock Medical Center | Registered: April 17, 2003Report 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     Encapsulating/packaging HTML

Copyright © 1996-2020 Information Builders