Come portare in produzione una composite application
I downloaded the Db to add additional components to create your own composite application from the site of OpenNtf, and I installed the component for the "navigation" in my pc.
This component allows you to change the look and feel of the standard browser of CA, when you use more than one page in it (I will explain in another post like starting from scratch with a CA). The navigator
standard AC, it looks horrible, it is placed only on the left of the screen and takes up valuable space.
The add-on, (actually have 4), with a touch of grace and conversion to the navigator in a series of tabs, menus or a keyboard combo (2 types), making the application pleasant to see (and ergonomic).
The problem is where?
After downloading the zip and unzipped openntf its contents into the data folder, I opened the db cl_nav_2.nsf, which is just one example of how to use the 4 browsers.
Just open the DB, the CA that is inside, he realizes that the client does not have the part you need, therefore, it triggers the request to install everything you need.
done this, you must restart the client, and reopen the db cl_nav_2.nsf CA demo starts.
Well, at this point, you can Use the navigation within your own application.
Just edit the CA, add the component to the palette of your client, so as to make available for inclusion in your CA.
On your PC, the DB will work like a dream, but when you wear it in production ... nothing happens and the various PC, which broaden the application of the system do not receive the request to install the browser plugin ...
After several tests, I realized what it depends: if you open the demo of the composite Navigator (cl_nav_2.nsf), edit and check the parameters of the plugin, you will notice about a dozen parameters, if it controlled the parameters for the plug-in to your application, you will see di meno; perchè?
I parametri che spariscono sono quelli non più necessari al vostro client, cioè tutti quei parametri relativi alla prima installazione del componente; visto che il componente da voi usato è quello installato sul vostro client, porta all' impossibilita dei vari pc che aprono per la prima volta la vostra applicazione, di capire come fare a installare il componente.
Pertanto, quello che dovete fare è aggiungere a mano i seguenti (a titolo di esempio) parametri al vostro componente:
url.feature = nrpc:///__8525744d0049743e
com.ibm.rcp.viewId = com.ibm.cademo.util.comp.nav.TabNavigatorView
version.feature = 8.1.20080530
match.feature = compatible
com.ibm.rcp.extensionType = simple view
id.feature = com.ibm.complib2.comp.navigation.feature
Non fate l'errore che avevo fatto io all'inizio, di inserire solamente la prima riga url.feature, perchè al client non è sufficiente per far partire l'installazione.
Spero di essere stato utile e chiaro.