Hi all,
I'm trying to get some code working that a previous developer has written. Yep, his now left the company. :-(
I have a JSON RPC call being made from the JS code. The JS all runs fine & the callback method gets an object back (not an error object).
But the method on the Java class never gets hit. The smd method does get hit though.
public String smd()
{
return SUCCESS; // break point reaches here
}
@SMDMethod
public void updateRowValueForField(String key, String value, String fieldname)
{
// We never get into this method.
}
Blockquote
<action name="ebToggleSelection" class="eboggleSelectionAction" method="smd">
<interceptor-ref name="jsonStack">
<param name="enableSMD">true</param>
</interceptor-ref>
<result type="json">
<param name="enableSMD">true</param>
</result>
</action>
I'm stumpped as to why, or what I'm missing. I've read JSON plugin page over and over.
I think I just need another set of eyes.
Note: no errors in the Tomcat console, no JS errors.
Anyone got any clues? Cheers Jeff Porter