Row background style not working on server

Questions and answers for designing and implementing forms in Servoy

Row background style not working on server

Postby jdbruijn » Fri Mar 02, 2012 12:34 pm

I've got a problem with the row background styles for table views.
It is working correctly in my developer, but as soon as a deploy the solution to a server, the style does not work anymore.
Has anybody got an idea why this happens?

Both server and developer are 6.0.5
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Row background style not working on server

Postby Joas » Fri Mar 02, 2012 1:05 pm

Are other changes in your style imported correctly?
Is this about smartclient or webclient?
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Row background style not working on server

Postby jdbruijn » Fri Mar 02, 2012 1:47 pm

My changes are in the imported style. This is an old change, back when we moved to Servoy 6.
The problem occurs in both smart and web client.
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Row background style not working on server

Postby Joas » Fri Mar 02, 2012 1:52 pm

jdbruijn wrote:This is an old change, back when we moved to Servoy 6.

So this worked before, but it broke when you updated to 6.0.5?
If so, then please create a case in our support system.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Row background style not working on server

Postby jdbruijn » Fri Mar 02, 2012 2:27 pm

I'm not sure the problem is related to the update to 6.0.5, because i've got another solution on the same server that does not have this problem. The style is working there (using another stylesheet of course).
Do you know of a way I could check if there are any problems in the stylesheet?
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Row background style not working on server

Postby Joas » Fri Mar 02, 2012 2:45 pm

What you could try is deleting the style from the server (on the admin page on the page "Styles") and then do a new import.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Row background style not working on server

Postby jdbruijn » Mon Mar 19, 2012 4:40 pm

Hi Joas, Sorry it took me a while to respond but i've been busy with more pressing matters.

I tried to delete the style, however that was not possible because the style was used by my forms!
But I found the problem, for some reason the style was not correct any more. The css file contained the folowing style classes:
Code: Select all
form odd {...}
form even {...}
form selected {...}

I'll have to look in SVN to see if I can find out why and when this has been changed, but removing 'form' in those style classes fixed my problem on the servers.

But I stil wonder why I didnot get the same result in my Developer, there I did get the odd/even style. Is that maybe hardcoded in the developer?
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm


Return to Forms

Who is online

Users browsing this forum: Bing [Bot] and 8 guests