Hello,
I have a xbl component.
I'm trying to call java from xbl to do something when I click on a button, e.g. get some strings back and fill in a field.
After reading this
http://discuss.orbeon.com/uopdate-field-value-by-calling-java-class-td4498994.html, I wrote a class with some static methods and test it. Unlucky, it did not work. And I saw a error in orbeon.log like this:
XPath syntax error at char 25 in {string((obj:getFullName())[}: Cannot find a matching 0-argument function named {java:com.test.MyClass}getFullName()
But when I wrote the same methods in Scala, it worked!
Could anyone tell me why it doesn't work when using Java?
Thanks!