StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
BeforeSave event not firing in 1.6.6
BeforeSave event not firing in 1.6.6
Post Reply
Like
0
BeforeSave event not firing in 1.6.6
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Randy Jean
Randy Jean
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 105,
Visits: 641
I have some code in the beforesave event of one of my business objects. I've verified the handler is still connected. When I set a break point and fire a save on this business object, the code in event handler is not firing. Any ideas?
Reply
Like
0
Replies
Randy Jean
Randy Jean
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 105,
Visits: 641
Yep, looks like that is what is happening. Checkrulesoncurrentrow in the bizobj is firing before any of the beforesave events, which sort of makes sense I suppose from a logical standpoint. Knowing this I think I can probably find a workaround. Not using beforesave in too many places.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Use the BusinessRulesChecked event. This will get fired every time and allow you to override any broken rules (if you have that need). But it will always fire pre-save whether there are broken rules or not.
Reply
Like
0
Randy Jean
Randy Jean
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 105,
Visits: 641
Thanks, I'll give this a try.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
BeforeSave event not firing in 1.6.6
Randy Jean
-
17 Years Ago
Hi Randy, Make sure the Business Object property IncludeInFormSave is...
Edhy Rijo
-
17 Years Ago
Edhy's questions are valid, but it appears that the handler isn't...
Trent L. Taylor
-
17 Years Ago
IncludeInFormSave is true. This actually the main BO on an SF Wizard...
Randy Jean
-
17 Years Ago
I forgot to mention there are other BOs but they are not getting...
Randy Jean
-
17 Years Ago
Yep, looks like that is what is happening. Checkrulesoncurrentrow in...
Randy Jean
-
17 Years Ago
Use the BusinessRulesChecked event. This will get fired every time and...
Trent L. Taylor
-
17 Years Ago
Thanks, I'll give this a try.
Randy Jean
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search