Hi Lars,
Thank you very much great support. now it works.
Chatura.
-----Original Message-----
From: Lars Windauer [mailto:lar...@ch...]
Sent: Monday, February 22, 2010 5:32 PM
To: Chatura Sanduruwan
Cc: chi...@li...
Subject: Re: [Chiba-users] Chiba support xsi:type in instances
Chatura,
you have to be aware which Chiba useragent you are using (whether you run on a "compiled" dojo version or not)
The default useragent is configured in the web.xml (<param-name>useragent</param-name>, <param-value>dojo</param-value>). Where the useragent dojo means you run on compiled JavaScript sources while useragent = dojodev is used for development and runs on uncompiled JavaScript. You can simply change the useragent during runtime by setting the uri param useragent (http://localhost:8080/forms/MyForm.xhtml?useragent=dojodev
Only the ant target: package of the web module creates a dojo release (compiled version) while deploy-resources run on uncompiled resources. If you are not sure which version you have build, take a look at:
$project_home/web/target/chiba/resources/scripts. If scripts only contains the folder release only the compiled version is deployed, otherwise you will see the folders chiba, dijit, dojo, dojox.. Note: it is possible to deploy the compiled and uncompiled version and change the useragent during runtime as described earlier.
A great support for debugging is "Firebug" which is an Firefox extension to see whats happinging on the client side.
Hth, good look with your forms, regards
Lars
This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
|