 
     emptyTemplateName: -> this.writeTemplate()
     readTemplateName:  -> this.writeTemplate()
-    writeTemplateName: -> 'lanes/views/empty-span'
+    writeTemplateName: -> 'empty-span'
 
     renderContextFree: ->
         tmpl = if this.writeAble

            'emptyTemplate'
        this.replaceEl( this.renderTemplateMethod(tmpl) );

    templatePrefix: -> _.dasherize(this.FILE.extensionName) + "/components"

    calculate_access:->
        if ! @field_name || Lanes.Views.RenderContext.canWrite(@field_name)
            'write'

class BaseComponent
    abstractClass: true

    constructor: (options={})->
        super
        @access ||= this.calculate_access()

    session:
        field_name: { 'string', setOnce: true }
        access:
            type: 'string',
            values: ['read','write','none']
