lib/fiona7/builder/obj_builder.rb in infopark_fiona7-0.71.1.12 vs lib/fiona7/builder/obj_builder.rb in infopark_fiona7-1.1.0.0.0
- old
+ new
@@ -4,11 +4,12 @@
end
end
end
require 'fiona7/type_register'
-require 'fiona7/recursive_link_resolver'
+require 'fiona7/obj_class_name_mangler'
+require 'fiona7/obj_class_name_demangler'
#require 'fiona7/write_obj'
#require 'fiona7/released_obj'
require 'fiona7/builder/batch_widget_writer'
require 'fiona7/link_converter/scrivito_to_fiona'
require 'fiona7/widget_resolver'
@@ -51,10 +52,10 @@
end
def prepare_object
@path = @values.delete(:_path) || generate_orphaned_path
@obj_class = @values.delete(:_obj_class)
- @real_obj_class = TypeRegister::NameAliaser.new(virtual: @obj_class).real_obj_class
+ @real_obj_class = Fiona7::ObjClassNameMangler.new(@obj_class).mangle
@widget_pool = @values.delete(:_widget_pool)
@permalink = @values.delete(:_permalink)
@path = "/#{@path}" unless @path.start_with?('/')
@name, parent_path = name_and_parent_path_from_path(@path)