跳至內容
選單
此問題已被標幟
2 回覆
5688 瀏覽次數

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
2377
2
12月 23
15659
0
10月 23
33
3
10月 23
790
1
10月 23
569