Hi,
I have a problem with calling static methods after creating a
object:
I am using coldfusion 7.0 and this is my code:
When I am using either <cfobject> or createObject the
same
<cfobject action="create" type="java"
class="com.endeca.navigation.ENEQueryToolkit" name="new_N">
<cfset new_N = createObject("java",
"com.endeca.navigation.ENEQueryToolkit")>
<cfdump var = "#new_N#">
<cfset new_N = new_N.selectRefinement(#my_nav_results#,
toString(sample_refinement_value))>
1. CFDUMP tells me that object [unknown type] and [unable to
convert to string]
2. When I call a static method new_N.selectRefinement(...) i
get "The selected method selectRefinement was not found."
3. Arguments to selectRefinement() method are of correct
datatype
Below are all methods of this class (all are static):
static boolean isImplicitRefinement(Dimension dim, DimVal
refinement)
static DimValIdList removeDescriptor(Navigation n, DimVal
descriptor)
static DimValIdList selectAncestor(Navigation n, DimVal
ancestor, DimVal descriptor)
static DimValIdList selectRefinement(Navigation n, DimVal
refinement)
Any suggestions?
Thank You