Hochwasserüberschwemmte Hämmelsgasse in Wertheim, Januar 2011 (anonym)

Risiken gemeinsam mindern

Maßnahmen

Viele Maßnahmen auf verschiedenen Ebenen müssen Hand in Hand gehen, damit die Risiken durch Hochwasser effektiv und effizient minimiert werden können. Die Eigenvorsorge von Bürgerinnen und Bürgern, Unternehmen und Kulturinstitutionen spielt dabei eine wesentliche Rolle. Ergänzt wird sie durch ein breites Bündel von Maßnahmen des Hochwasserrisikomanagements anderer Akteure: von der verlässlichen Hochwasservorhersage bis zur hochwasserangepassten Landwirtschaft. Wichtig ist dabei ein koordiniertes Vorgehen. Deshalb werden die Maßnahmen in Maßnahmenberichten zusammengeführt.

.


 

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> 

Vorbereitet sein

Verhaltensvorsorge

Hochwasser kann jeden treffen! Eine gründliche Vorsorge und das Wissen um die Gefahren sind der beste Weg, sich und seinen Besitz zu schützen. Jede Person ist dazu verpflichtet, Maßnahmen zur Eigenvorsorge für den Fall eines Hochwassers zu treffen. Denn richtiges Verhalten kann Leben retten und Schäden wesentlich vermindern.

Mehr
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> 
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> 

Vorsorge

Vor dem Hochwasser

Eine solide Informationsbasis schaffen, Akteure zusammenbringen, Siedlungen hochwasserangepasst entwickeln und technischen Hochwasserschutz gewährleisten: Dies sind die Vorsorge-Eckpfeiler des kommunalen Hochwasserrisikomanagements.

Mehr

Gut gerüstet

Krisenmanagement

Das kommunale Krisenmanagement bei Hochwasser soll Gefahren für Menschen, Tiere, Umwelt und Sachwerte abwenden und die lebensnotwendige Versorgung der Bevölkerung sicherstellen.

Mehr

Schäden vermeiden

Bauvorsorge

Bauliche Anlagen sind in festgesetzten Überschwemmungsgebieten unzulässig. Das Bauen in Gebieten, die (erst) bei einem Extremhochwasser überschwemmt werden, ist dagegen grundsätzlich möglich. Deshalb sollten Gebäude nach den drei Strategien – Ausweichen, Widerstehen oder Nachgeben – geplant und gebaut.

Mehr

Nach dem Hochwasser

Nachsorge

Wohin mit dem Abfall? Was passiert mit den feuchten Sandsäcken, die nicht mehr gebraucht werden? Was tun, wenn Öl ausläuft oder Strom ausfällt? Viele Aufgaben, die unmittelbar nach einem Hochwasser anfallen, sind bereits vorher absehbar und planbar.

Mehr