[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Style behavior  XML
Forum Index -> Development
Author Message
cfuchs

Active

Joined: 21/01/2013 09:33:01
Messages: 16
Offline

Hallo everyone,

last week, our project did a CC-Update from Februar release. Upon starting our web application, we had some unfamiliar style issues as the font wasn't the same color as before the update.

Analysing the issue, there is following behavior:
Some labels refer to a particular style which modifies the attribute foreground (foreground = Y) . Additionally, those labels have a variable linked to the foreground attribute.

Code:
 
 public String getForeground() {
   return hasRight ? X : null;
 }
 


Before the CC-Update, the foreground were either X if hasRight had been equal to true or Y when the method had returned null. After the update, the foreground seems to be as if no style was applied.

In other words, when null is returned, the style is reset completely (new behavior) and no longer refers to the style definition (old). Is this intended behavior?


Regards,
Christian
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Uuuuh, thanks for finding out! - If the logic (your get-ter) returns null then the style value is to be selected. We fix immediately - update of this week is not yet published, so we can include the fix. Update will be available Wednesday (tomorrow) morning.

Regards!
Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team