Page 1 of 2

Buttons' text, Options... in uppercase?

Posted: Fri May 04, 2012 2:55 pm
by stefano.reksten

Still exploring the possibilities of your tool. I added a select box to my app, adding three possibilities. Descriptions are in lowercase, but when I test run the app, the descriptions are added in uppercase.

Also, I was trying to understand how to make a buttin invisible. So I added an element to the XML my REST is producing, with "false" as a result, and mapped this attribute to the button's Visible attribute. Nope, it still shows. So I mapped also the "false" attribute to the button's text. Here it is, but all in uppercase.

Why all these uppercase strings? And how does the "visible" attribute work?

Thanks in advance for any support.


Buttons' text, Options... in uppercase?

Posted: Fri May 04, 2012 3:32 pm
by stefano.reksten

Forget about the uppercase; it's clearly a CSS problem. But still I have the issue of the buttons that can't be made invisible. Any help on this?


Buttons' text, Options... in uppercase?

Posted: Fri May 04, 2012 3:33 pm
by maxkatz

Please give us more details on how exactly you are mapping. Screen shots, code would help.


Buttons' text, Options... in uppercase?

Posted: Fri May 04, 2012 4:54 pm
by stefano.reksten

Well, actually I am producing this file:

Code: Select all

 SDB IT, Scandicci 
 Conference call per definire i cazzabubboli a molla con John Deere 

I get the Operations slice, get the @canConfirm and @canDeny and then map those attributes to the Visible field of a button.

I'm trying to enclose a screenshot.

Image


Buttons' text, Options... in uppercase?

Posted: Fri May 04, 2012 5:33 pm
by maxkatz

What values @canConfirm and @canDeny return?


Buttons' text, Options... in uppercase?

Posted: Mon May 07, 2012 8:42 am
by stefano.reksten

true or false, lowercase string. It seems my XML has been parsed in my comment. Can I add it somehow?


Buttons' text, Options... in uppercase?

Posted: Mon May 07, 2012 6:47 pm
by maxkatz

Post as Reply (as opposed to comment). You can use some HTML there for code (click on 'some HTML allowed' link).


Buttons' text, Options... in uppercase?

Posted: Mon May 07, 2012 7:34 pm
by maxkatz

That's a bug, we'll fix it. Here is an easy workaround:

For Visible attribute, add this JavaScript:
code
if (value == 'false'){
element.hide();
}
/code


Buttons' text, Options... in uppercase?

Posted: Wed May 09, 2012 11:35 am
by stefano.reksten

That worked perfectly, thank you!!! :)


Buttons' text, Options... in uppercase?

Posted: Tue Oct 09, 2012 1:43 am
by egonzalez

I added that code to the mapping in an attempt to hide a mobile list. I confirmed that a 'false' value was being returned but the list is still visible. Any ideas?