Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <li {#ctx.httpSession} >
  2. <span th:object="${session.user}"> </span>
  3. <span><p>Surname: <span th:text="*{user.id}">Pepper</span></p></span>
  4.  
  5. This is one of my attempts
  6. <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>
  7. </li>
  8. This is the orginial
  9. <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