stefano.reksten
Posts: 0
Joined: Fri Apr 27, 2012 1:41 pm

Buttons' text, Options... in uppercase?

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.

stefano.reksten
Posts: 0
Joined: Fri Apr 27, 2012 1:41 pm

Buttons' text, Options... in uppercase?

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Buttons' text, Options... in uppercase?

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

stefano.reksten
Posts: 0
Joined: Fri Apr 27, 2012 1:41 pm

Buttons' text, Options... in uppercase?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Buttons' text, Options... in uppercase?

What values @canConfirm and @canDeny return?

stefano.reksten
Posts: 0
Joined: Fri Apr 27, 2012 1:41 pm

Buttons' text, Options... in uppercase?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Buttons' text, Options... in uppercase?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Buttons' text, Options... in uppercase?

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

stefano.reksten
Posts: 0
Joined: Fri Apr 27, 2012 1:41 pm

Buttons' text, Options... in uppercase?

That worked perfectly, thank you!!! :)

egonzalez
Posts: 0
Joined: Fri Sep 14, 2012 9:34 pm

Buttons' text, Options... in uppercase?

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?

Return to “Issues”