As a developer I can use a basic upload field to upload files without media feature. (MGNLUI-1054)

[MGNLUI-1060] Create a Simple Upload Field Definition and Builder Created: 09/Apr/13  Updated: 26/Apr/13  Resolved: 23/Apr/13

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Sub-task Priority: Neutral
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: upload
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:
Sprint: Iteration 2013-14, Iteration 2013-15, Iteration 2013-17

 Description   

Create a Definition and a Builder for the new Simple Upload Field
Definition allows to configure:

  • Allowed File type
  • Maw Allowed File Size
  • Name of the sub Node
  • Caption label.

Builder has to :

  • Create a SimpleUploadFile based on the Definition
  • Retrieve the existing File stored into JCR or create a new JcrItem
  • Based on this Item, initialize a File Wrapper


 Comments   
Comment by Espen Jervidalo [ 23/Apr/13 ]

info.magnolia.ui.form.field.builder.BasicUploadFieldBuilder#getOrCreateSubItemWithBinaryData
javadoc sais imageBinary

Generated at Mon Feb 12 08:42:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.