Class: UU::OS::Form::File

Inherits:
Input show all
Defined in:
uu_os_gvc-0.28.16/lib/uu/os/form/file.rb

Overview

File input component.

Direct Known Subclasses

InputImage

Defined Under Namespace

Classes: StorageType

Instance Attribute Summary (collapse)

Attributes inherited from Input

#data, #disabled, #read_only, #required, #submit_value_change, #value, #value_change_action_uri, #width

Attributes inherited from GVC::Component

#attributes, #code, #component_type, #form, #height, #id, #name, #width

Method Summary

Methods inherited from GVC::Component

#add_message, #focus, #initialize, #messages

Constructor Details

This class inherits a constructor from UU::OS::GVC::Component

Instance Attribute Details

- (Object) bucket_uri

URI of bucket where to store files.



11
12
13
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/file.rb', line 11

def bucket_uri
  @bucket_uri
end

- (Object) storage_type (readonly)

Which storage service to use for binary data. By default, UDS service is used. See StorageType for available options.

Note that using UU::OS::Form::File::StorageType::UU_BINARYSTORE has additional requirements for VUC controller - see documentation for more information.



18
19
20
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/file.rb', line 18

def storage_type
  @storage_type
end