تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5694 أدوات العرض

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
ديسمبر 23
2384
2
ديسمبر 23
15668
0
أكتوبر 23
33
3
أكتوبر 23
790
1
أكتوبر 23
569