Wiki source code of 2.2.1. BUILDING
Last modified by Hyunji Cho on 2022/06/08 10:37
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="table-bordered" %) | ||
| 2 | |**2.2.1.**|(% colspan="3" %)**BUILDING** | ||
| 3 | |**Definition**|(% colspan="3" %)The building including residential and industrial buildings. | ||
| 4 | |**Examples**|(% colspan="3" %)((( | ||
| 5 | A residential building | ||
| 6 | |||
| 7 | Commercial | ||
| 8 | |||
| 9 | Industrial facilities | ||
| 10 | ))) | ||
| 11 | |(% rowspan="5" %)((( | ||
| 12 | **Fields of entity** | ||
| 13 | |||
| 14 | **(Attributes)** | ||
| 15 | )))|**Attribute**|**Description**|**Type of data** | ||
| 16 | |BUILDING_ID|Building code|Integer | ||
| 17 | |Type of building|Use of the building (residential, commercial, educational, industrial, etc.)|Integer | ||
| 18 | |Address|Address of this building|Varchar | ||
| 19 | |LOCATION_ID|LOCATION of the building|Integer | ||
| 20 | |**Relationships**|(% colspan="3" %)See below diagram | ||
| 21 | |**Notes**|(% colspan="3" %) | ||
| 22 | |||
| 23 | {{box}}{{velocity}} | ||
| 24 | {{html}} | ||
| 25 | ## Chrome's XSS Auditor blocks the preview action if: | ||
| 26 | ## * the submitted content has an iframe with an external URL | ||
| 27 | ## * the preview action displays the submitted iframe | ||
| 28 | ## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML. | ||
| 29 | ## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome | ||
| 30 | #set ($iframe = 'iframe') | ||
| 31 | |||
| 32 | <iframe src="https://embed.kumu.io/5df25a9948029b101ee9f487b46ebd9e" width="940" height="600" frameborder="0"></iframe> | ||
| 33 | |||
| 34 | |||
| 35 | {{/html}} | ||
| 36 | {{/velocity}}{{/box}} | ||
| 37 |