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



Jun 28, 2011, 10:50 AM
38 Posts

JavaScriptValueBinding.... What does it mean?

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: xpages,java
  • Replies: 0
Let's say I have two properties in my custom control: normalProperty & groupProperty.
 
normalProperty is NOT inside a group while groupProperty is inside a Group called group. Both of them are of the type java.lang.Object
 
I pass computed value of @Explode("test1,test2", ",") to both the properties from an XPage.
 
I created Java class to which I pass on the normalProperty and group. When I access the groupProperty from group it is of type "com.ibm.xsp.binding.javascript.JavaScriptValueBinding" while normalProperty is of type java.util.ArrayList.
 
Why are the types of both the properties are different despite data type and data being the same? I was able to access the value of groupProperty by calling the function getValue(FacesContextObject) but I can't write a general method to access both the properties. Also what is the significane of the class "com.ibm.xsp.binding.javascript.JavaScriptValueBinding"?
 
Thanks :) 

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