dxa-web-application-java icon indicating copy to clipboard operation
dxa-web-application-java copied to clipboard

In Page Navigation (relative links on the same page)

Open kunalshetye opened this issue 9 years ago • 3 comments

When generating Component Links, if the component link resolves to the page itself then can it be generated as a samepage.html#1234 where 1234 is the Item Id of Component? For this to work the LinkResolver needs to be aware of the PageContext.

We have a use case where on a page we have a Link List with Component Links and the Component Links are pointing to the Component Presentations on the same page.

What the we are trying to achieve is generate "relative" links on the page that allow the users to navigate across different sections (represented by different component presentations) on the same page.

Does the use case make sense?

kunalshetye avatar Jul 19 '16 07:07 kunalshetye

Yes, the use case makes sense. Labeled this as a future Enhancement.

rpannekoek avatar Jul 19 '16 07:07 rpannekoek

TSI-1939 (internal issue ID for tracking purposes)

rpannekoek avatar Sep 12 '16 14:09 rpannekoek

Internal Issue ID (for tracking purposes): CRQ-12780

rpannekoek avatar Dec 18 '18 15:12 rpannekoek