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] In 8009 AppStudio, How do I include CSS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] In 8009 AppStudio, How do I include CSS
 Login/Join
 
Guru
posted
I am trying to set the class for buttons using custom javascript in the Embedded JavScript/CSS section of App Studio.

The on_click event has the following code.

document.getElementById(buttonname).className = 'btnSelectedx';  


The above should work, but it doesn't seem to see the class and I'm not sure how to reference the CSS file. I've read the manual and searched technical content but there doesn't seem to be a clear reference to this for App Studio. At least clear enough for me to recognize it.

I've placed the file in the app path, content folders and even tried to add it to the onload function ( which locks up the page).

It just doesn't see the class I guess.

Any ideas for this would be much appreciated.

Thank you,

This message has been edited. Last edited by: Don Garland,


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
 
Posts: 291 | Location: Greater Cincinnati  | Registered: May 11, 2005Report This Post
Master
posted Hide Post
I just add the custom class name to the Class identifier (CSS) in the button properties:



Then I can add the custom CSS, referencing the added class.



Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
Master
posted Hide Post
I'm not 100% sure on 8009, I started working with WebFocus in 8105. Is there the option in 8009 to reference css files in the Settings like this?



Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report 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] In 8009 AppStudio, How do I include CSS

Copyright © 1996-2020 Information Builders