Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <li {#ctx.httpSession} >
- <span th:object="${session.user}"> </span>
- <span><p>Surname: <span th:text="*{user.id}">Pepper</span></p></span>
- This is one of my attempts
- <li sec:authorize="isAuthenticated()" {#ctx.httpSession}, th:object="${session.user}" th:replace="::menuItem ( '/users/'+*{user.id}+'/coworkers/find','coworkers','find coworkers','search','Find coworkers')"><span>Find Coworkers</span>
- </li>
- This is the orginial
- <li sec:authorize="isAuthenticated()" th:replace="::menuItem ( '/users/2/coworkers/find','coworkers','find coworkers','search','Find coworkers')">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement