Re: How to link from item list to item detail

2006-09-06 Thread David Harkness
Malin Ljungh wrote: This means I will have to check on the details page that the item to be shown is indeed owned by the current user. OK, I can do that, but is there maybe a better way to perform the link? Hi Malin, If you don't enforce the rule by checking on the server, no matter what you

Re: page current URL?

2006-08-17 Thread David Harkness
Martin Strand wrote: If the current page wasn't loaded by the PageService, I believe this hack is needed in order to prevent a page reload. Right? I use it for pages that require a login to access. If the user isn't authenticated, I grab the current URL (say a Product Purchase page that has t

Re: page current URL?

2006-08-17 Thread David Harkness
Henri Dupre wrote: I'd like to write an @Anchor component that provides anchor links with the absolute url of the page so that I can easily use anchors in any page. How can I retrieve the current URL in a page? I'm using this in my base page class, though I'm sure there's a spiffier way since