Collision form size


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I just discovered two issues with the collision form:



1. If the field were the collision occurs is a large text field, there is no way to resize the form or the height of the rows (that I could figure out) to see all the data, thus allowing the user to be able to resolve the collision.



2. If the field is a string, but actually formatted source for something like RTF or HTML, it isn't readable. I.e. if the data is bound to the RTF property of the SF Richtextbox, the RTF is shown (I haven't tested this, I'm using TxTextControl and my data is HTML). Again the user can't (easily) resolve the collision.



I'd suggest the following:



1. Make the form sizable and the rows sizable.



2. This one's hard, as all the collision form knows is that it is a string (or a binary) and has no way to know from the datatype that is needs some specific treatment. Maybe an attribute could be added to the fields in the BO (ideally by checking a box in the BO Mapper) to indicate that the collision form needs handle it differently? If the attribute is set, the collision form would just display buttons or links that would raise an event that the application could handle? The eventargs would provide the name of the field and the data, maybe the name of the BO too, so the user could handle it appropriately.



Since the purpose of the collision form is to handle collisions, both of these are significant, though #2 might be very hard to fix.



Of course, maybe SF already handles both of these and I just don't know about it...that would be cool BigGrin



Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Did this post get overlooked?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Greg,

It sounds to me like you would be better off creating your own collision form.  If you are planning on having a lot of collisions and need RTF or HTML support, then you will need to handle this yourself.  You can do this very easily by handling the ConcurrencyException event and turning off the default concurrency manager.  All of the values are handed to you and you could then just display them in a viewer of your own.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Ah, right, its coming back to me...you discussed this in class. OK, that is a good solution for the formatting stuff.



You might still want to consider making your collision form be sizable and to allow the rows to be resized.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You might still want to consider making your collision form be sizable and to allow the rows to be resized.

Yeah it probably wouldn't hurt Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search