跳至内容
菜单
此问题已终结
2 回复
5623 查看

Hello my Friends,

I want to ask you how can i raise an exception in a controller.

I have tried as usual raise UserError but it doesnt work ant i got this:

 

形象
丢弃

Pleae show your code.

编写者

Would you help please !!

编写者 最佳答案

It i too simple my Friend.

I want to launch a warning like those launched in models class. But, this time from controller.

I have tried the raise.UserError it doesnt wok.

Would you help please?!

形象
丢弃
相关帖文 回复 查看 活动
0
12月 23
2339
2
12月 23
15614
0
10月 23
33
3
10月 23
790
1
10月 23
569