| |

VerySource

 Forgot password?
 Register
Search
View: 1027|Reply: 3

Why can't dwr call the method

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-12-16 11:30:01
| Show all posts |Read mode
<dwr>
  <allow>
<create creator="new" javascript="problemCount">
       <param name="class" value="com.towish.oa.investigate.InvestProblemCount"/>
<include method="getChoices" />
     </create>
  </allow>
</dwr>

When testing, the getChoices method cannot be called. What could be wrong?
Reply

Use magic Report

0

Threads

1

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

Post time: 2020-12-22 00:45:01
| Show all posts
<include method="getChoices" />
Remove
ProblemCount.getChoices directly in javascript
Reply

Use magic Report

0

Threads

1

Posts

34.00

Credits

Newbie

Rank: 1

Credits
34.00

 China

Post time: 2020-12-31 13:47:20
| Show all posts
Novice
Reply

Use magic Report

0

Threads

1

Posts

1.00

Credits

Newbie

Rank: 1

Credits
1.00

 China

Post time: 2021-1-9 10:32:41
| Show all posts
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list