logo       

Re: DWRUtil.setValue problem: msg#00199

java.dwr.user

Subject: Re: DWRUtil.setValue problem

Matthew thanks a lot for your help.
One question remains, what about passing params to the Java method?

I've tried with
function loadPage(language)
{
LoadPageIndex.getTitleData(receiveData, language);
}

function receiveData(data)
{
DWRUtil.setValue('TitleDIV', data);
}

But i get this error:
"Missing method or missing parameter converters: LoadPageIndex.getTitleData"


Java is:
public class LoadPageIndex
{
public static String getTitleData(String language)
{
return "TitleData " + language;
}
}


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise