Fehler bei der Verarbeitung der Vorlage.
Error on line 34, column 13 in 20155#20195#40426
DLAppServiceUtil.getFileEntryByUuidAndGroupId(imageFileUid,groupId) is undefined.
It cannot be assigned to Datei
1<div class="bild-dossierseite"> 
2 
3 <@createImageTag imageUrl="${Bild.getData()}"/> 
4 
5</div> 
6 
7 
8 
9 
10<#macro createImageTag imageUrl> 
11 
12<#assign altTag="alt-tag"> 
13<#assign bildnachweis=""> 
14 
15<#assign imageFileUid = stringUtil.extractLast(imageUrl, "/")> 
16 
17    <#if (stringUtil.extractFirst(imageFileUid, "t")??)> 
18 
19    <#assign imageFileUid = stringUtil.extractFirst(imageFileUid, "t")/> 
20    <#assign imageFileUid= imageFileUid?substring(0,imageFileUid?length-1)/> 
21 
22 
23    </#if> 
24 
25 
26    <#assign dlimageFileEntryService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")> 
27 
28        <#assign dlimageFileEntryTypeService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService")> 
29 
30 
31            <#assign dlFileVersionService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService")> 
32 
33            <#assign DLAppServiceUtil = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLAppService")> 
34            <#assign Datei = DLAppServiceUtil.getFileEntryByUuidAndGroupId(imageFileUid,groupId)> 
35 
36 
37 
38 
39                <#assign imageFileEntry = dlimageFileEntryService.getDLFileEntryByUuidAndCompanyId(Datei.getUuid() , Datei.getCompanyId() ) /> 
40 
41 
42 
43 
44                <#assign imageFileEntryTypeId = imageFileEntry.getFileEntryTypeId() /> 
45 
46                <#if imageFileEntryTypeId gt 0 > 
47                <#assign imageFileEntryType = dlimageFileEntryTypeService.getDLFileEntryType(imageFileEntryTypeId) /> 
48                <#assign dlFileVersion = dlFileVersionService.getLatestFileVersion(imageFileEntry.getUserId(), imageFileEntry.getFileEntryId()) /> 
49                <#assign fieldsMap = imageFileEntry.getFieldsMap(dlFileVersion.getFileVersionId()) /> 
50 
51            <#list fieldsMap?keys as structureKey> 
52 
53            <#list fieldsMap[structureKey].iterator() as field> 
54 
55               <#--  ${field.getName()}=${field.getValue()}<br/> --> 
56 
57                <#if field.getName() == 'ALT_Tag'> 
58                    <#assign altTag = field.getValue() /> 
59                </#if> 
60 
61               <#if field.getName() == 'Bildnachweis'> 
62                    <#assign bildnachweis = field.getValue() /> 
63                </#if> 
64 
65            </#list> 
66 
67                </#list> 
68 
69 
70            </#if> 
71 
72                <img src="${imageUrl}" alt="${altTag}"  title="${altTag}"/> 
73 
74 
75 
76            </#macro> 

Öffentlichkeit

Öffentlichkeitsbeteiligung

Die Beteiligung der Öffentlichkeit und "interessierter Stellen" ist ein wichtiger Baustein des Hochwasserrisikomanagements. Bei allen Schritten von der Erstellung und Aktualisierung der Hochwassergefahrenkarten bis hin zu den Hochwasserrisikomanagementplänen sind Kommunen, Verbände und Institutionen beteitligt. Zahlreiche öffentliche Veranstaltungen wurden bereits durchgeführt, Maßnahmenberichte veröffentlicht und die Hochwasserrisikomanagementpläne zur Stellungnahme öffentlich ausgelegt.  

Fehler bei der Verarbeitung der Vorlage.
Error on line 154, column 5 in 20155#20195#26386
DLAppServiceUtil.getFileEntryByUuidAndGroupId(imageFileUid,groupId) is undefined.
It cannot be assigned to Datei
1<#assign tlink = Link.Internal_Link.getFriendlyUrl()> 
2 
3<#if tlink?starts_with("http")> 
4    <#assign tlink = "/"+tlink?split("/")[3]> 
5</#if> 
6 
7<#assign tlink_text = "Mehr"> 
8 
9<#assign linktarget=""> 
10 
11<#if (Image.getData()!="")> 
12    <#assign imageExists="image-exists"> 
13<#else> 
14    <#assign imageExists="no-image"> 
15</#if> 
16 
17<#if (ImageMobile?has_content)> 
18    <#if (ImageMobile.getData()!="")> 
19        <#assign imageMobileExists="image-mobile-exists"> 
20    <#else> 
21        <#assign imageMobileExists="no-image-mobile"> 
22    </#if> 
23</#if> 
24 
25 
26<#if Link.External_Link.getData()!=""> 
27    <#assign tlink = Link.External_Link.getData()> 
28    <#assign linktarget="_blank"> 
29</#if> 
30 
31<#if tlink!=""> 
32    <#assign linkExists=true> 
33<#else> 
34    <#assign linkExists=false> 
35</#if> 
36 
37<#assign w1h1notext = ""> 
38<#if Height.getData() == "height1" && Text.getData() == ""> 
39    <#assign w1h1notext = "w1h1notext"> 
40</#if> 
41 
42 
43<#if Link.Link_Text.getData()!=""> 
44    <#assign tlink_text = Link.Link_Text.getData() > 
45</#if> 
46 
47<div class="teaser ${Height.getData()} ${w1h1notext}"> 
48<#if Subheadline.getData()!=""> 
49    <h2 class="spitzmarke">${Subheadline.getData()}</h2> 
50</#if> 
51 
52<#if getterUtil.getBoolean(Green_Line.getData())> 
53    <div class="green-line ${imageExists}"></div> 
54</#if> 
55 
56<#if (Image.getData()!="")> 
57    <div class="teaser-image"> 
58 
59        <#if (linkExists)> 
60            <a href="${tlink}" class="no-icon image-link" target="${linktarget}" alt="${tlink_text}"> 
61                <#if (ImageMobile?has_content) && (ImageMobile.getData()!="")> 
62                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl="${ImageMobile.getData()}"/> 
63                    <#else> 
64                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl=""/> 
65                </#if> 
66            </a> 
67        <#else> 
68 
69            <div class="image-link image-desktop"> 
70                <#if (ImageMobile?has_content) && (ImageMobile.getData()!="")> 
71                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl="${ImageMobile.getData()}"/> 
72                <#else> 
73                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl=""/> 
74                </#if> 
75            </div> 
76 
77        </#if> 
78 
79    </div> 
80</#if> 
81 
82 
83    <h1> 
84    <#if (linkExists)> 
85        <a href="${tlink}" class="no-icon" target="${linktarget}" alt="${Headline.getData()}" 
86           title="${Headline.getData()}">${Headline.getData()}</a> 
87    <#else> 
88    ${Headline.getData()} 
89    </#if> 
90    </h1> 
91 
92    <div class="teaser-content"> 
93    ${Text.getData()} 
94    </div> 
95 
96<#if (linkExists)> 
97    <a href="${tlink}" class="mehr-link" target="${linktarget}" alt="${Headline.getData()}" 
98       title="${Headline.getData()}">${tlink_text}</a> 
99</#if> 
100 
101 
102 
103<#if Zum_Herunterladen??> 
104 
105    <#if Zum_Herunterladen.PDF_Datei.getSiblings()?has_content> 
106        <#list  Zum_Herunterladen.PDF_Datei.getSiblings() as cur_Datei> 
107            <#if cur_Datei.getData()?has_content> 
108 
109                <#assign fileUrl = getterUtil.getString(cur_Datei.getData())> 
110                <#assign fileUid = stringUtil.extractLast(fileUrl, "/")> 
111 
112                <#assign DLAppServiceUtil = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLAppService")> 
113                <#assign Datei = DLAppServiceUtil.getFileEntryByUuidAndGroupId(fileUid,groupId)> 
114 
115                <#if (Datei.getDescription()?has_content)> 
116                    <#assign dateiText=Datei.getDescription()> 
117                <#else> 
118                    <#assign dateiText=Datei.getTitle()> 
119                </#if> 
120 
121 
122                <a href="${fileUrl}" class="mehr-link download-link" target="_blank" alt="${dateiText}" 
123                   title="${dateiText}">${dateiText}</a><br/> 
124            </#if> 
125        </#list> 
126    </#if> 
127 
128</#if> 
129 
130</div> 
131 
132 
133<#macro createImageTag imageUrl imageMobileUrl> 
134 
135    <#assign altTag="alt-tag"> 
136    <#assign bildnachweis=""> 
137 
138    <#assign imageFileUid = stringUtil.extractLast(imageUrl, "/")> 
139 
140    <#if (stringUtil.extractFirst(imageFileUid, "t")??)> 
141        <#assign imageFileUid = stringUtil.extractFirst(imageFileUid, "t")/> 
142        <#assign imageFileUid= imageFileUid?substring(0,imageFileUid?length-1)/> 
143    </#if> 
144 
145 
146    <#assign dlimageFileEntryService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")> 
147 
148    <#assign dlimageFileEntryTypeService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService")> 
149 
150 
151    <#assign dlFileVersionService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService")> 
152 
153    <#assign DLAppServiceUtil = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLAppService")> 
154    <#assign Datei = DLAppServiceUtil.getFileEntryByUuidAndGroupId(imageFileUid,groupId)> 
155 
156 
157 
158 
159    <#assign imageFileEntry = dlimageFileEntryService.getDLFileEntryByUuidAndCompanyId(Datei.getUuid() , Datei.getCompanyId() ) /> 
160 
161 
162 
163 
164    <#assign imageFileEntryTypeId = imageFileEntry.getFileEntryTypeId() /> 
165 
166    <#if imageFileEntryTypeId gt 0 > 
167        <#assign imageFileEntryType = dlimageFileEntryTypeService.getDLFileEntryType(imageFileEntryTypeId) /> 
168        <#assign dlFileVersion = dlFileVersionService.getLatestFileVersion(imageFileEntry.getUserId(), imageFileEntry.getFileEntryId()) /> 
169        <#assign fieldsMap = imageFileEntry.getFieldsMap(dlFileVersion.getFileVersionId()) /> 
170 
171        <#list fieldsMap?keys as structureKey> 
172 
173            <#list fieldsMap[structureKey].iterator() as field> 
174 
175            <#--  ${field.getName()}=${field.getValue()}<br/> --> 
176 
177                <#if field.getName() == 'ALT_Tag'> 
178                    <#assign altTag = field.getValue() /> 
179                </#if> 
180 
181                <#if field.getName() == 'Bildnachweis'> 
182                    <#assign bildnachweis = field.getValue() /> 
183                </#if> 
184 
185            </#list> 
186 
187        </#list> 
188 
189 
190    </#if> 
191 
192    <#if (imageMobileUrl != "")> 
193    <img src="${imageUrl}" alt="${altTag}" title="${altTag}" class="image-desktop"/> 
194    <img src="${imageMobileUrl}" alt="${altTag}" title="${altTag}" class="image-mobile"/> 
195    <#else> 
196    <img src="${imageUrl}" alt="${altTag}" title="${altTag}" class=""/> 
197    </#if> 
198 
199 
200 
201</#macro> 
Fehler bei der Verarbeitung der Vorlage.
Error on line 154, column 5 in 20155#20195#26386
DLAppServiceUtil.getFileEntryByUuidAndGroupId(imageFileUid,groupId) is undefined.
It cannot be assigned to Datei
1<#assign tlink = Link.Internal_Link.getFriendlyUrl()> 
2 
3<#if tlink?starts_with("http")> 
4    <#assign tlink = "/"+tlink?split("/")[3]> 
5</#if> 
6 
7<#assign tlink_text = "Mehr"> 
8 
9<#assign linktarget=""> 
10 
11<#if (Image.getData()!="")> 
12    <#assign imageExists="image-exists"> 
13<#else> 
14    <#assign imageExists="no-image"> 
15</#if> 
16 
17<#if (ImageMobile?has_content)> 
18    <#if (ImageMobile.getData()!="")> 
19        <#assign imageMobileExists="image-mobile-exists"> 
20    <#else> 
21        <#assign imageMobileExists="no-image-mobile"> 
22    </#if> 
23</#if> 
24 
25 
26<#if Link.External_Link.getData()!=""> 
27    <#assign tlink = Link.External_Link.getData()> 
28    <#assign linktarget="_blank"> 
29</#if> 
30 
31<#if tlink!=""> 
32    <#assign linkExists=true> 
33<#else> 
34    <#assign linkExists=false> 
35</#if> 
36 
37<#assign w1h1notext = ""> 
38<#if Height.getData() == "height1" && Text.getData() == ""> 
39    <#assign w1h1notext = "w1h1notext"> 
40</#if> 
41 
42 
43<#if Link.Link_Text.getData()!=""> 
44    <#assign tlink_text = Link.Link_Text.getData() > 
45</#if> 
46 
47<div class="teaser ${Height.getData()} ${w1h1notext}"> 
48<#if Subheadline.getData()!=""> 
49    <h2 class="spitzmarke">${Subheadline.getData()}</h2> 
50</#if> 
51 
52<#if getterUtil.getBoolean(Green_Line.getData())> 
53    <div class="green-line ${imageExists}"></div> 
54</#if> 
55 
56<#if (Image.getData()!="")> 
57    <div class="teaser-image"> 
58 
59        <#if (linkExists)> 
60            <a href="${tlink}" class="no-icon image-link" target="${linktarget}" alt="${tlink_text}"> 
61                <#if (ImageMobile?has_content) && (ImageMobile.getData()!="")> 
62                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl="${ImageMobile.getData()}"/> 
63                    <#else> 
64                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl=""/> 
65                </#if> 
66            </a> 
67        <#else> 
68 
69            <div class="image-link image-desktop"> 
70                <#if (ImageMobile?has_content) && (ImageMobile.getData()!="")> 
71                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl="${ImageMobile.getData()}"/> 
72                <#else> 
73                    <@createImageTag imageUrl="${Image.getData()}" imageMobileUrl=""/> 
74                </#if> 
75            </div> 
76 
77        </#if> 
78 
79    </div> 
80</#if> 
81 
82 
83    <h1> 
84    <#if (linkExists)> 
85        <a href="${tlink}" class="no-icon" target="${linktarget}" alt="${Headline.getData()}" 
86           title="${Headline.getData()}">${Headline.getData()}</a> 
87    <#else> 
88    ${Headline.getData()} 
89    </#if> 
90    </h1> 
91 
92    <div class="teaser-content"> 
93    ${Text.getData()} 
94    </div> 
95 
96<#if (linkExists)> 
97    <a href="${tlink}" class="mehr-link" target="${linktarget}" alt="${Headline.getData()}" 
98       title="${Headline.getData()}">${tlink_text}</a> 
99</#if> 
100 
101 
102 
103<#if Zum_Herunterladen??> 
104 
105    <#if Zum_Herunterladen.PDF_Datei.getSiblings()?has_content> 
106        <#list  Zum_Herunterladen.PDF_Datei.getSiblings() as cur_Datei> 
107            <#if cur_Datei.getData()?has_content> 
108 
109                <#assign fileUrl = getterUtil.getString(cur_Datei.getData())> 
110                <#assign fileUid = stringUtil.extractLast(fileUrl, "/")> 
111 
112                <#assign DLAppServiceUtil = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLAppService")> 
113                <#assign Datei = DLAppServiceUtil.getFileEntryByUuidAndGroupId(fileUid,groupId)> 
114 
115                <#if (Datei.getDescription()?has_content)> 
116                    <#assign dateiText=Datei.getDescription()> 
117                <#else> 
118                    <#assign dateiText=Datei.getTitle()> 
119                </#if> 
120 
121 
122                <a href="${fileUrl}" class="mehr-link download-link" target="_blank" alt="${dateiText}" 
123                   title="${dateiText}">${dateiText}</a><br/> 
124            </#if> 
125        </#list> 
126    </#if> 
127 
128</#if> 
129 
130</div> 
131 
132 
133<#macro createImageTag imageUrl imageMobileUrl> 
134 
135    <#assign altTag="alt-tag"> 
136    <#assign bildnachweis=""> 
137 
138    <#assign imageFileUid = stringUtil.extractLast(imageUrl, "/")> 
139 
140    <#if (stringUtil.extractFirst(imageFileUid, "t")??)> 
141        <#assign imageFileUid = stringUtil.extractFirst(imageFileUid, "t")/> 
142        <#assign imageFileUid= imageFileUid?substring(0,imageFileUid?length-1)/> 
143    </#if> 
144 
145 
146    <#assign dlimageFileEntryService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")> 
147 
148    <#assign dlimageFileEntryTypeService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService")> 
149 
150 
151    <#assign dlFileVersionService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService")> 
152 
153    <#assign DLAppServiceUtil = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLAppService")> 
154    <#assign Datei = DLAppServiceUtil.getFileEntryByUuidAndGroupId(imageFileUid,groupId)> 
155 
156 
157 
158 
159    <#assign imageFileEntry = dlimageFileEntryService.getDLFileEntryByUuidAndCompanyId(Datei.getUuid() , Datei.getCompanyId() ) /> 
160 
161 
162 
163 
164    <#assign imageFileEntryTypeId = imageFileEntry.getFileEntryTypeId() /> 
165 
166    <#if imageFileEntryTypeId gt 0 > 
167        <#assign imageFileEntryType = dlimageFileEntryTypeService.getDLFileEntryType(imageFileEntryTypeId) /> 
168        <#assign dlFileVersion = dlFileVersionService.getLatestFileVersion(imageFileEntry.getUserId(), imageFileEntry.getFileEntryId()) /> 
169        <#assign fieldsMap = imageFileEntry.getFieldsMap(dlFileVersion.getFileVersionId()) /> 
170 
171        <#list fieldsMap?keys as structureKey> 
172 
173            <#list fieldsMap[structureKey].iterator() as field> 
174 
175            <#--  ${field.getName()}=${field.getValue()}<br/> --> 
176 
177                <#if field.getName() == 'ALT_Tag'> 
178                    <#assign altTag = field.getValue() /> 
179                </#if> 
180 
181                <#if field.getName() == 'Bildnachweis'> 
182                    <#assign bildnachweis = field.getValue() /> 
183                </#if> 
184 
185            </#list> 
186 
187        </#list> 
188 
189 
190    </#if> 
191 
192    <#if (imageMobileUrl != "")> 
193    <img src="${imageUrl}" alt="${altTag}" title="${altTag}" class="image-desktop"/> 
194    <img src="${imageMobileUrl}" alt="${altTag}" title="${altTag}" class="image-mobile"/> 
195    <#else> 
196    <img src="${imageUrl}" alt="${altTag}" title="${altTag}" class=""/> 
197    </#if> 
198 
199 
200 
201</#macro>