Hi,
about this piece of code in TemplateControl.rb:
# This lets us add attributes from the dsl file that aren't
# predefined as accessor by setting them up as accessors as we
# go.
# I'm currently thinking of having a specific user defined block
# to stop the DSL getting too cluttered and free form
#def method_missing(sym, *args)
# self.class.dsl_accessor sym
#end
In my opinion we need something like this and make the custom parameters be available in the controller of the application.
For Framework Logic, parameters should be standardized as far as possible, but when it comes to an application using this framework, he should be able to create and read custom vars.
|