Welcome, Guest
Please Login or Register.    Lost Password?

Tips n Tricks in Convertigo
(1 viewing) (1) Guest
Convertigo Products
This is the place to ask questions, request for enhancements and more generally discuss about Convertigo products.
Go to bottomPage: 12
TOPIC: Tips n Tricks in Convertigo
#160
[Studio] Access not-certified Web page in HTTPS 1 Year, 11 Months ago Karma: 3
Accessing some web sites in HTTPS can seem impossible with Convertigo Web Integrator: the connector is not connecting to the web site...

Actually, the Web page connection is not-certified, that can be easily resolved by applying the following tip's process:

  • Try connecting to the same Web site through your standard Firefox Web browser,

  • Firefox Web browser proposes to leave the page or other options if you understand the risks,

  • Click on the "Add an exception" button, and confirm the security exception,

  • Then, open the Firefox profile folder in a file explorer (for example on Windows 7 installation: "C:\Users\<name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\"),

  • Copy the "cert_override.txt" created file and paste it in the "eclipse" folder, under the same "Mozilla" folder (for example on Windows 7 installation: "C:\Users\<name>\AppData\Roaming\Mozilla\eclipse\"),

  • Restart your Convertigo studio: the connection to the Web site should work now.

elodiee
Admin
Posts: 64
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#162
Configure dynamic select into the mobile framework 1 Year, 11 Months ago Karma: 0
Into a Convertigo mobilizer project, the objects use the sencha touch API.

In this API, some parameters of the select object must be overridden to let it to receive the good values from a store:

    valueField : Corresponds to the "value" property of the select's option tag (must exist in the model). Default value="value"

    displayField : Corresponds to the content of the select's option tag (must exist in the model). Default value=="text"


You can see below a full example which show how to configure a select object.

Code:

Ext.regModel('DatesList', {
     fields: [
          {name: 'date', type: 'string'}
     ]
});

store = new C8O.Store({
     model: 'DatesList',
     root: 'document.dates.date', //the root object to iterate on
     server : server //a C8O server object
});


var select = new Ext.form.Select({
     name: 'dateD', //Name of the parameter posted with the form
     label: 'date of departure', //Label displayed of the select
     valueField: 'date', //Corresponds to the "value" property of the select's option tag (must exist in the model). Default value="value"
     displayField: 'date', //Corresponds to the content of the select's option tag (must exist in the model). Default value=="text"
     store: store //the store containing the data. Must be load with a sequence or a transaction

});

...

store2.load({
     transaction: 'listAvailableDates', // transaction on C8O server
});

...


Martin Ducass
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/06/28 15:25 By Martin Ducass.
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: elodiee

btn developerNetwork_home

If you are a developer, an architect and more generally someone looking for technical information about our Mobile Enterprise Application Platform, Composite Applications and Convertigo, this is the right place for you.

btn downloadC8O_home

Get Convertigo Studio for Windows. This is our Eclipse based development tool for our Mobile Application Development Platform. You can get also Convertigo Servers for Windows and Linux directly on sourceforge

btn documentation_home

Find our official documentations for Convertigo Mobile Application Development Platform and and Mobile Server, including the Reference Manual, the Programming Guide, and the Installation Guide, in both HTML and PDF formats.