I've made a portion of Ajax.NET for Java (currently in prototype stage)
in my personal time. According to the Ajax.NET's licence, I cannot
publish it. So I request a licence for publishing ajaxnet4j. I'll use
the same licence as Ajax.NET if you permits.
Sample codes:
package ajaxnet4j.demo;
public class Test {
@ajaxnet4j.AjaxMethod
public String HelloWorld(String person) {
return "Hello, " + person;
}
}
<script type="text/javascript">
function test() {
var name = document.getElementById("txtPerson").value;
var res = ajaxnet4j.demo.Test.HelloWorld(name);
if (res.error == null) {
alert(res.value);
} else {
alert(res.error.Type + ": " + res.error.Message);
}
}
</script>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---