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     [TIP] Including code in your FocalPoint Post

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[TIP] Including code in your FocalPoint Post
 Login/Join
 
Expert
posted
This has been mentioned many times, but perhaps we need to "sticky" this topic for a while...

When you include code (WebFOCUS, HTML, JavaScript, CSS, etc.) you should use the button at the top right of the "Post A Reply" pop-up.

Clicking this button will add
[code]
[/code]
tags to your post.

Paste the code between these tags.

Without the code tags, any HTML code included in a post will become part of the HTML of the web browser page and will either cause a problem with a page or might just not display. Including the code tags disables HTML translation and displays the code as-is. It is good practice to use the code tags for any kind of code.

Here is example code:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
END

<style type="text/css">
body
{
font-family: "Trebuchet MS", sans-serif;
font-weight: bold;
size: 30px;
}
</style>

<script type="text/javascript">
alert('ha ha');
</script>


You can also use this technique when displaying report output where there is more that one space between column data. For example, I have pasted report output without code tags:

COUNTRY SALES
--------- -----
ENGLAND 12000
FRANCE 0
ITALY 30200
JAPAN 78030
W GERMANY 88190

Here it is with code tags:

COUNTRY   SALES
--------- -----
ENGLAND   12000
FRANCE        0
ITALY     30200
JAPAN     78030
W GERMANY 88190

Nicer, innit?

I hope this helps the newer members of the forum.

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


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Thanks Francis for sharing the tip with all. Let's make this a sticky for a few days. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     [TIP] Including code in your FocalPoint Post

Copyright © 1996-2020 Information Builders