Servoy 6.1

You could use the XML plugin for that. It has a feature to create a XML from a foundset including relations and calculations if wanted. Then, it can also create a XMLFoundset from a XML file, that you can use to process the records in the XML.

http://www.servoy-plugins.de

No tabs in tab panels in 6.1 web-client…
I’m in the process of upgrading a solution from 5.2 to 6.1. I started with various 6.1 release candidates and didn’t notice the issue in web client before. It’s possible I missed it because I mostly test in smart client but I don’t think so.
Attached are two images, one from my 5.2 solution and the other from the upgraded 6.1 solution. The tab panels are just plain vanilla, nothing fancy. This is in Developer and I’ve tried both Firefox and Safari with the same results on a Mac running 10.6.8 (Snow Leopard). Any ideas what could be causing this? I’ll probably be upgrading to OS 10.8 one of these days but my users won’t necessarily be doing that.

No errors are reported and can’t see anything significant in the log. The only output from the log around the time I last launched the web client is this:

2012-08-07 17:46:13,959 ERROR [http-8180-1] com.servoy.j2db.util.Debug - ComponentFactory:unkown type 18, uuid: 294FB561-FB64-4642-838D-943F99D50583, parent:patient [955A33FD-611D-426C-AF4D-E6B63A9CF07C URO_ONCOLOGY]
2012-08-07 17:47:32,893 ERROR [http-8180-2] com.servoy.j2db.util.Debug - ComponentFactory:unkown type 18, uuid: 294FB561-FB64-4642-838D-943F99D50583, parent:patient [D6190931-3830-470E-8065-0F5226FF1B31 URO_ONCOLOGY]

Please advise.

From the screenshot it looks like you are using the Alternative CSS for webclient but you forgot to install the css files in your templates dir, look for this in your code: application.setUIProperty(APP_WEB_PROPERTY.WEBCLIENT_TEMPLATES_DIR, ‘custom’);

John, are you sure you don’t have any custom things overwritten? For example your own mainpage.html in your server/webapp/root/servoy-webclient/templates folder?
Or any kind of custom css (or the thing nicola is pointing out yes)

:oops: Of course… I have only ‘dabbled’ with the web-client starting about a year ago with my 5.2 solution. At the time I read about Harjo’s custom template for webclient and thought that sounded cool and so installed it. Imported the application to 6.1 but not the custom template forgetting that I installed that (and obviously not ever fully understanding all what it did!). And obviously again I guess I hadn’t even launched the solution in 6.1 as web client in the couple of months I’ve been working on it or I would have seen it… Oh dear. Sorry about that. Hopefully I’ll remember it at least!

One further question: What I’m doing in 6.1 is trying to fix/resolve the various ‘warnings’ before deploying it. I notice that ‘application.setUIProperty’ is deprecated. Still works but I can’t seem to see what the replacement is for that function. Is there one? Or should I just get rid of that template and function? (I do quite like the look Harjo’s template gives).

Thanks both of you!

John, hoover over setUIProperty and press the ALT key, then you should get the actual doc that will tell you that you should use @deprecated use putClientProperty(Object,Object)

Excellent and very good description of the replacement function when hovering. I know Paul mentioned that tip about hovering on deprecated functions in one of his talks. Lot going on in the old duder’s head I guess! (Big Lebowski reference… best movie of the last 20 years!)

Hi all,

I would like to come back to the utils.dateFormat() function.
In Servoy 6.1.2 I still get the deprecated warning while setting the date format and not parsing. The function is in the list and should work without warnings, or?
Ok, I can add “@SuppressWarnings(deprecated)”, but I don’t think that this could be the solution.

Regards,

i see fv_find_txt variable…
i guess that “_txt” tells me that that is a String variable
but dateFormat is : (Date,String) not (String,String)
for that we have parseDate(String,String) that is for parsing a string to a date and returning a date
dateFormat is formatting a date and returning a string.