Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Canceling from the form and returning to the top level
Message
De
26/09/2016 04:56:55
 
 
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01641209
Message ID:
01641328
Vues:
20
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform