Page History
...
Create a hyperlink to open a URL. For example:
Name | Type | Description | |
---|---|---|---|
Parameter(s) | url | java.lang.String | A URL text. |
content | java.lang.Object | The text content. | |
Return | - | com.nomagic.magicreport.Link | The text content with a hyperlink. |
For example:
Code Block | ||
---|---|---|
| ||
$bookmark.openURL("http://www.nomagicasia.com","NoMagic Asia") |
...
Create a hyperlink to open a URL. For example:
Name | Type | Description | |
---|---|---|---|
Parameter(s) | url | java.net.URL | A URL instance. |
content | java.lang.Object | The text content. | |
Return | - | com.nomagic.magicreport.Link | The text content with a hyperlink. |
For example:
Code Block | ||
---|---|---|
| ||
$bookmark.openURL($url, "NoMagic Asia") |
...
Create a hyperlink to open a URI. For example:
Name | Type | Description | |
---|---|---|---|
Parameter(s) | uri | java.net.URI | A URI instance. |
content | java.lang.Object | The text content. | |
Return | - | com.nomagic.magicreport.Link | The content with a hyperlink. |
For example:
Code Block | ||
---|---|---|
| ||
$bookmark.openURL($uri, "NoMagic Asia") |
...
Name | Type | Description | |
---|---|---|---|
Parameter(s) | bookmarkId | java.lang.String | The bookmark ID. |
content | java.lang.Object | The text content. | |
Return | - | com.nomagic.magicreport.Link | The text content with a hyperlink. |
For example:
Code Block | ||
---|---|---|
| ||
Click this link to: $bookmark.open($element.elementID, "Click here to $element.name") |
$bookmark.create(bookmarkObject)
Create a bookmark. The bookmark ID will be automatically generated from the bookmark object.
...
Name | Type | Description | |
---|---|---|---|
Parameter(s) | bookmarkId | java.lang.String | The bookmark ID. |
bookmarkObject | java.lang.Object | A bookmark object or content. | |
Return | - | com.nomagic.magicreport.Bookmark | The content with a bookmark. |
For example:
Code Block | ||
---|---|---|
| ||
$bookmark.create($element.elementID, $element.name) |
$bookmark.create(bookmarkId, bookmarkObject, elementType)
...