[MGNLDMS-123] getHandle on an Image upload in Dialog in DMS Created: 11/Jun/08  Updated: 03/Jul/14  Resolved: 14/Oct/10

Status: Closed
Project: Document Management System (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Ellie Hadyoon Assignee: Philipp Bärfuss
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows xp


Template:
Acceptance criteria:
Empty
Date of First Response:
Visible to:
Ben Strawson, Rik Ward

 Description   

I have added an image upload (controlType: file) to the dms dialog, in my page when I do a getHandle() on that node unless I get rid of the first character of the string it returns which is a "/" it will not display the image using a getHandle(). I used substring(1) which then got the right path in the content repository...



 Comments   
Comment by Philipp Bärfuss [ 14/Oct/10 ]

In newer versions of Magnolia you would use: ${mgnl.createLink(dmsNode.extraImageField)}

Generated at Mon Feb 12 00:48:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.