Choices URL for Select Box

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Choices URL for Select Box

Post by k2R400 »

Hello,

The JSON expected to fill a SelectBox expects "success" with a boolean (true or false)

Code: Select all

{
     "success":true,
     "response":[
          {"text":"Dishes and Cups", "value":"18"},
          {"text":"Soaps", "value":"14"}
     ]
}
We would like to use IWS (integrated WebService Server) to generate this WS instead of the "Universal Handler" (however which is a very good tool).
As you know, IWS does not support booleans true/false, so it cannot be used to generate the JSON stream expected by ProfoundUI.

Would you have an alternative, for example the possibility of sending {"success": 1} which would be interpreted by a {"success": true} ?
Hoping IBM will evolve IWS....

Regards
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests