Form variable doesn't work in labels/tags

I have a label in a form with a global variable whose content changes according to certain user actions. Display Tags is checked in the form properties. I changed the global with a form variable, but now the label stays always blank, no matter what I do with the form variable. The text property of the label should be correct because I inserted the form variable preceded and followed by “%%” by choosing it in the edit text property panel.

Is this an expected behavior or a bug? I imagine this is a bug, because the form variable is listed in the text edit panel so I assume it could be inserted as a tag in a label.

Servoy Developer 4.0 Final
MacOS X 10.5.4
Java 1.5

Hi rioba,

Have you checked the displayTags property for the label?

Yes, this was the first thing I checked. But it was really not necessary, I should say: the label I used was the same displaying the global variable. I even put the two variables, the global one and the form one, on the same label: the global label worked, while the form one didn’t.

I am using MacOS X 10.5.4 and Java SE 1.5 for developer, Java SE 1.6 for client

OK confirmed.

Form variable shows up when the dataprovider is specified, but not when the tag is specified.

I have posted a ticket in the support system.

You too can post tickets in the support system at:
http://crm.servoy.com/servoy-webclient/ … oy_support

Regards

This bug is now fixed, will be present in next release.

Thanks