This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Feb 20, 2012, 4:55 PM
30 Posts

"Use runtime optimized" & dijit.form.TextBox - Not working together

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: dijit,dojo,csjs
  • Replies: 1
 Works great, as lons as "Use runtime optimized..." is'nt enabled.
 
If I enable it I get a JS error:   Could not load class 'dijit.form.TextBox
 
Tried with several dijits and the result is the same.
 
Uses the default theme. 
 
 
Any ideas? 
 
 
/J 
Feb 20, 2012, 6:19 PM
30 Posts
Re: "Use runtime optimized" & dijit.form.TextBox - Not working together
 Ok, I've solved it.
 
Don't know why it works, so if someone do - please explain! 
 
 
The solution is to do the dojo.require in a separate javascript file: 
 

dojo.require('dijit.form.FilteringSelect');

dojo.require('dijit.form.ValidationTextBox');
 
And include that JS-file as a resource to the XPage. 
 
 
/J 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal