lib/st_html/ruing/abstract_container.rb
def add *new_items
        
        new_items = extract_va_options new_items, false 
        
        new_items.each do |x|
          @items << x
        
          set_parental_relations x
        end  
        new_items.size > 1 ? new_items : new_items[0]
    end
#
# Setting :transparent => true makes this container act as a simple rendering 
# container that will have no influence on the name of the contained 
# elements.
# 
# Important note: it's not possible set a container transparent after 
# creation, because this property determines a behavior of the contained 
# items, so it would be possible to set transparent also a container that 
# already contains items, but in the latter case the items aren't updated
# accordingly. This could be handled resyncing sub-items recoursively but 
# this would be more complex, so for simplicity we set up thing in this way.
# Perhaps if needed in the future we will make things more flexible.
#
Setting :transparent => true makes this container act as a simple rendering
container that will have no influence on the name of the contained
elements.

Important note: it's not possible set a container transparent after
creation, because this property determines a behavior of the contained
items, so it would be possible to set transparent also a container that
already contains items, but in the latter case the items aren't updated
accordingly. This could be handled resyncing sub-items recoursively but
this would be more complex, so for simplicity we set up thing in this way.
Perhaps if needed in the future we will make things more flexible.
Setting : transparent = > true makes this container act as a simple rendering container that will have no influence on the name of the contained elements . Important note : it ' s not possible set a container transparent after creation because this property determines a behavior of the contained items so it would be possible to set transparent also a container that already contains items but in the latter case the items aren ' t updated accordingly . This could be handled resyncing sub - items recoursively but this would be more complex so for simplicity we set up thing in this way . Perhaps if needed in the future we will make things more flexible .
def add *new_items
        new_items = extract_va_options new_items, false 
        new_items.each do |x|
          @items << x
          set_parental_relations x
        end  
        new_items.size > 1 ? new_items : new_items[0]
    end
def add * new_items new_items = extract_va_options new_items , false new_items . each do | x | @items << x set_parental_relations x end new_items . size > 1 ? new_items : new_items [ 0 ] end
Setting :transparent => true makes this container act as a simple rendering
container that will have no influence on the name of the contained
elements.
Setting : transparent = > true makes this container act as a simple rendering container that will have no influence on the name of the contained elements .
new_items