Thanks for the response - those are some interesting posts - I see why (the 
equivalent of) param.service was removed from the default templates

In the end I've decided to do this using javascript rather than trying to 
get thymeleaf to work - it's a little uglier, especially if supporting 
older browsers, but it does work at least for my case
e.g. for newer browsers only
?forwardURL=' + new URLSearchParams(window.location.search).get('service');

On Monday, 8 October 2018 16:30:40 UTC+1, Andy Ng wrote:
>
> Hi Ian,
>
> I don't have an answer for your question, but since nobody is commenting 
> so I thought I will give it a try :)
>
> CAS 5.3 is using *Thymeleaf *instead of jsp in CAS 4.x, so you need some 
> changes before making the jsp works again... 
>
> If I am not misunderstanded, *param.service* in jsp means you want to get 
> the *paramter service* right (I mean this service "https://www.example.com
> ?*service=ST-ASDA11C2KESAFD32*")
>
> If true, then you can try something like the following to get the service 
> parameter
> *https://stackoverflow.com/questions/14513662/thymeleaf-how-to-get-url-attribute-value
>  
> <https://stackoverflow.com/questions/14513662/thymeleaf-how-to-get-url-attribute-value>*
>
> You might encounter some problem with Spring Boot not allowing your 
> param.service, in that case this might helps too:
> *https://stackoverflow.com/questions/52592892/workaround-for-request-getparameters-in-thymeleaf/52621695
>  
> <https://stackoverflow.com/questions/52592892/workaround-for-request-getparameters-in-thymeleaf/52621695>*
>
> Again, not so familiar with this topic, so my answer are probably off, but 
> hopefully it might give your some idea.
>
> Cheers!
> - Andy
>
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/89496795-3928-4622-b10e-00a438061b1b%40apereo.org.

Reply via email to