Use DWR alarm missing type info for method (0). assuming this is a map with string keys. Please add to in D

Source: Internet
Author: User

for example, on the page:
function savesjjl () {<br/> var Param = new object (); <br/> param ["s_nbxh"] = document. form1.s _ nbxh. value; <br/> param ["s_yhmc"] = document. form2.s _ yhmc. value; <br/> param ["d_cbsj"] = document. form2.d _ cbsj. value; <br/> param ["s_rqsj"] = document. form2.s _ rqsj. value; <br/> param ["s_cbry"] = document. form2.s _ cbry. value; <br/> fyglimpl. save _ Yhsj (Param, {<br/> callback: function (STR) {<br/> $ ('savesjjl '). disabled = true; <br/> alert ("saved successfully! "); <Br/>}, <br/> Timeout: 5000, <br/> errorhandler: function (Message) {alert (" Oops: "+ message );} <br/>}); <br/>}

in the class:
Public void save_yhsj (map param) {}< br> solution:

Import Java. util. map;
Import COM. fygl. implement. fyglimpl;
fyglimpl. save_yhsj (Map param);
]>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.