有没有简单的方法可以将多重上传功能包含到 NetzkeFormView 或 GridView(AddInForm) 中?
我当前使用carrierwave的图像上传字段是:
{:name => :image_link, :xtype => :displayfield, :display_only => true, :getter => lambda { |r| %Q(<a href='#{r.image.url}'>Download</a>) if r.image.url }},
{:name => :image, :field_label => "Upload image", :xtype => :fileuploadfield, :getter => lambda { |r| "" }, :display_only => true}