Welcome Guest, Not a member yet? Register   Sign In
best practices on Form Reuse - keeping all forms in a central location with validation
#30

[eluser]Colin Williams[/eluser]
Ah, that is clear. I forgot that you were embedding this form on many page views and thought you were calling the ME module controller to extend another form or share form widgets among many forms (you can see how I was dumbfounded!) I've been critical of ME recently, but I'm starting to see more usages where it makes certain things, especially this example, extremely simple to implement.

And in other examples of ME Controllers, the way they returned data seemed odd to me, but I like more how your Controller checks the context in which it is called, and either returns data or generates output. It's a smart use of ME for sure, and I suppose I'm just focusing on the ways it can be abused.


Messages In This Thread
best practices on Form Reuse - keeping all forms in a central location with validation - by El Forum - 07-25-2008, 11:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB