On 21 March 2011 01:31, Jarrod Hollingworth <jarrod.hollingworth@*****.com> wrote: > It might also be useful to pass a reference to the visitor (easy) and/or the > visitor group name (harder).
A few times now I thought this would be quite handy with visitor group names, but that is a rather hard problem to solve. I have always found alternative solutions though - thank goodness. :) > I also thought that this would be a possible candidate for property > attributes. A decent implementation of property attributes/classes has been on my tiOPF todo list for a very long time. With that will be a total rework of AutoMapping - thus making it actually useful with a lot more optimized SQL generation. BTW: You idea for solving my problem is an interesting one. In the mean time I simply implemented a custom mediator and override the GUItoObject() and ObjectToGUI() methods - removing the dependency on RTTI. This solved my problem with very little effort. This got me thinking, because I still couldn't use that custom mediator with tiModelMediator, simple because of one line of code that does a sanity check on the property name (using RTTI). I want to see if I can improve this a bit, so in future I could still use tiModelMediator. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ tiOPF-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tiopf-talk
