Forum Discussion
Claudius
10 years agoBoss
Something seems to be broken with this context object though. Checking out the documentation for the webuisupport context object I would have expected this to allow me to easily build a complete URL, e.g. a Tag view page for the "Video" tag in desktop skin using:
urls.fullyQualifiedPage.name.TagViewPage.path("tag", "Video").query("device-view", "desktop").build()"
Instead this returns the invalid URL to
http://testcommunity.lithium.com/t5/tagging/tagviewpage/tag/Video?device-view=desktop
But then the following code
${webuisupport.urls.fullyQualifiedPage.name.ViewProfilePage.path("user-id","14").build()}
...correctly builds the expected URL:
http://testcommunity.lithium.com/t5/user/v2/viewprofilepage/user-id/14
So you need to try your luck a bit with building these URLs for your page.
Related Content
- 3 years ago
- 5 years ago
- 10 years ago