[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
From Flames To Fork, Comes Freedom • View topic - Customization jar related issue

Customization jar related issue

Help is preferred to those who publish their work as Open Source and not as private branches rejecting collaboration. Such projects are not maintainable and shall be deleted.
Forum rules
This forum is personally pruned to avoid redundant posts. Related topics are grouped together. IF YOU HAVE REGISTERED, you need to send email to red1(a)red1.org with your username in the subject title to get me to activate you.

Customization jar related issue

Postby vivekjustthink » Wed Oct 24, 2012 11:29 pm

vivekjustthink
 
Posts: 21
Joined: Thu Oct 04, 2012 5:32 pm

Re: Customization jar related issue

Postby globalqss » Wed Oct 24, 2012 11:46 pm

FDialog is a view class - and MOrder is a model class - you must avoid using that.

Most of the times what you need is to return the string and the dialog will be shown, on the case of beforeSave you can use log.saveError (check other classes for examples).

Regards,

Carlos Ruiz
globalqss
Senior
 
Posts: 599
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia

Re: Customization jar related issue

Postby vivekjustthink » Thu Oct 25, 2012 12:35 pm

vivekjustthink
 
Posts: 21
Joined: Thu Oct 04, 2012 5:32 pm

Re: Customization jar related issue

Postby globalqss » Fri Oct 26, 2012 12:33 am

Hi Vivek - on MOrder try setting the value of variable m_processMsg.

Regards,

Carlos Ruiz
globalqss
Senior
 
Posts: 599
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia

Re: Customization jar related issue

Postby vivekjustthink » Fri Oct 26, 2012 12:49 pm

Hi carlos,

Thank you so much, the problem is resolved by setting the text to m_processMsg. But isn't there any way to pop up a warning window from that model class.

regards
vivek
vivekjustthink
 
Posts: 21
Joined: Thu Oct 04, 2012 5:32 pm

Re: Customization jar related issue

Postby globalqss » Sat Oct 27, 2012 12:17 am

Hi Vivek, popup warning windows is achieved using Callouts.
globalqss
Senior
 
Posts: 599
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia


Return to HELP ME!!!

Who is online

Users browsing this forum: No registered users and 2 guests

cron