Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Upgrade to 8.2.04: Issue with .STY Stylesheet
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Upgrade to 8.2.04: Issue with .STY Stylesheet
 Login/Join
 
Platinum Member
posted
Everyone,

We're attempting to upgrade to 8.2.04, and I thought I'd see if anyone has any ideas on this challenge before I open a case.

We have a custom style sheet with an extension of .sty. We've been using it since 7.7, I think although it predates my time using WebFocus which is the past four years.

When we migrated the stylesheet.sty file to 8.2.04, we ran into a strange color issue. It affects all our files. Our custom color does not appear for Series 0. Anytime Series 0 is used we get a purple shade of sorts, similar to the purple used by the legacy home page in lower releases.

Here's what I can say definitively:

We use an INCLUDE statement to place the appropriate colors on all our graphs, tables, etc.

Here is the affected part of the code:

 setFillColor(getSeries(0),new Color(Blue));
setFillColor(getSeries(1),new Color(Gold));
setFillColor(getSeries(2),new Color(Red));
setFillColor(getSeries(3),new Color(Green));
setFillColor(getSeries(4),new Color(Purple)); 


Series 0 has the correct RGB values (0-58-99) in the actual .sty file.

I changed the RGB values of Series 1 to those of Series 0. The color for Series 1 changed accordingly to the blue.

Based on the above, I ruled out the possibility of RGB values being converted incorrectly from 8.1.05 to 8.2.04. I also ruled it out because we use the same RGB values for that particular shade of blue in other parts of the portal and in tables where it renders correctly.

I tried to change Series 0 to another color altogether by inputting different RBG values. It did not change the color.

So, clearly Series 0 seems to be the issue.

To test another possibility, I omitted the "0" after Series. Nothing changed.

I reviewed the code further to determine if there is a duplicate line of code for setFillColor(getSeries(0),new Color(0,58,99)); There is not.

I spoke with our technical manager. She suggested opening a case, but like I said earlier, I just wanted to see if anyone had an idea before I opened a case later today.

Thanks in advance. The forum is always such a helpful community, and I've learned a lot all those who share solutions.

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8.1.05M
AppStudio 8.1.05M

 
Posts: 118 | Registered: September 18, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Julie

Did you change your default stylesheet in App Studio to be your custom stylesheet? You can also set the default stylesheet for InfoAssist from the client administration console under the infoassist properties.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1488 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
We have not tried that as of yet. I found the setting with ease, but might you point us in the direction of finding the stylesheet.sty file in the directory so it can be chosen and set as the default?

When I open the Change Stylesheet setting, it only opens the predefined templates. I need to use our stylesheet.sty file which we created. I need to find its stored location. I know its full name. I might add we have a case going right now because InfoAssist is not working for us.


WebFocus 8.1.05M
AppStudio 8.1.05M

 
Posts: 118 | Registered: September 18, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Julie

Copy your style sheet to this directory. C:\ibi\WebFOCUS82\ibi_html\javaassist\intl\EN\combine_templates and see if it shows up..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1488 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Thank you, Chuck, for the filepath. I was able to place it there and changed the AdminConsole setting. It still did not solve the issue for us as we are working with InfoAssist functionality challenges, but it might help us in the future.


WebFocus 8.1.05M
AppStudio 8.1.05M

 
Posts: 118 | Registered: September 18, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Upgrade to 8.2.04: Issue with .STY Stylesheet

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.