Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Canceling from the form and returning to the top level
Message
From
26/09/2016 04:56:55
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01641209
Message ID:
01641328
Views:
19
>>>Looks like in our application these problems outweigh the benefits. Is there a way to change absUrl? We do have a service returning baseUrl I could have used.
>>
>>As per the docs there are parts of the absUrl that you can change : path, search and hash ( or url which is all of the previous)
>>You cannot change protocol, host and port.
>>Not sure why you would want to change any of the setter only items anyway ?
>
>Unfortunately, in the default mode the url returns / and path returns nothing. The absUrl returns the full correct path.

I don't see that behaviour. What is the absolute url (in both Hashbang and HTML5 modes) and what do expect to see in $location.path() ?

> So, I can not figure out if it's either possible to get rid of the Items/Preferences part in the path. It only works correctly in Html5 mode. I guess I have to leave with the window.location.href and full page re-load approach as it was.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform