Message-ID: <185034865.13800.1711669934520.JavaMail.appbox@confluence> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_13799_1238166048.1711669934519" ------=_Part_13799_1238166048.1711669934519 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
There are a few moderate changes comi= ng with this release. The changes are backwards-compatible, so any code usi= ng API 16.x should work fine.
JIRA Version |
New API Version |
---|---|
7.1+ |
16.3.0 |
See Structure= API Versions for full version information and downloads.
BigDecimal
an=
d BigInteger
support for NUMBER attributesNumber attributes (see ValueFormat.NUMBER
) are allowed to p=
rovide instances of BigInteger
and BigDecimal
as =
a result. The appropriate support was added to NumberAccumulator for calculating totals. We're limiting the precision of the numbers to <=
code>MathContext.DECIMAL64
.
Note that if your code used NUMBER attributes before and assumed that th=
e result is either Long
or Double
, this assumptio=
n may be incorrect now.
The following methods were added to provide more power to the exporting = code:
ExportColumn.setRounding()
PrintableColumn.setDurationAsCalendarTime()
CoreIdentities
.We have added a new web item location that lets you insert web items int= o Structure's Export menu.
Location name: structure.export.menu
To add a menu item, declare a <web-item>
in that loca=
tion and declare the following sub-elements:
label
- the name of the menu item, supports i18n, mandator=
y.link
- the URL of the target page, mandatory. You can use =
${forestSpec}
in the URL, which will be replaced with the URL-=
encoded JSON representation of the forest spec currently opened. If your UR=
L does not have ${forestSpec}
in it, then forestSpec will be a=
dded to the URL as a query parameter.tooltip
- the tooltip shown when mouse hovers over the ite=
m, supports i18n, optional.styleClass
- a space-delimited CSS class names for the <=
;i> icon element before the name, optional, defaults to a Structure-prov=
ided icon.weight
attribute - defines the order of appearance of the =
links, optional.condition
/ conditions
- can be used to displ=
ay the links conditionally.context-provider
- can be used to add additional variables=
to the link labels or URL.