Hi,
I'm having a bit of trouble understanding how to write an extension so that
when a user logs in, custom objects are listed within the connection list.
These objects are supposed to be mere URLs, and I want them to show up in the
connection list as simple HREF links opening in new browser pages or tabs.
My authentication provider is LDAP, and ideally I'd like to create these URL
objects in LDAP. However, since this route is a bit tedious and I'm running out
of time, I was wondering if I could settle for simply "extending" the "home"
web page where the connections are listed. I would simply set a fixed list of
static href links for every user who successfully logs in. No need to provide
connection objects.
So, I edited this file:
app/home/templates/home.html
and added something like this:
<div class="view" ng-class="{loading: !isLoaded()}">
<div class="connection-list-ui">
<!-- custom links -->
<div class="header">
<h2>WEB LINKS</h2>
</div>
<div class="all-connections">
<ul>
<li><a href="https://my.reverse.proxy1" target="_blank">Web
site 1</a></li>
<li><a href="https://my.reverse.proxy2" target="_blank">Web
site 2</a></li>
</ul>
</div>
I'm modifying the code directly in the webapp folder just for testing purposes
before writing an extension for it as a jar file.
Reloaded tomcat, but I'm not seeing the updated web page, as if the "WEB LINKS"
section were not there.
What can I try?
Vieri
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]