posted 14 years ago
I have the following bean defined in my project:
<bean id="patronInformation" class="org.oclc.merlins.circulation.ui.patron.PatronSummaryController">
<property name="asyncView" value="jsonView"/>
<property name="currentUser" ref="currentUser"/>
<property name="services" ref="managedServices"/>
</bean>
I would like to use the property "currentUser" in my webpage (we are using YUI 3 and FreeMarker if that makes a difference).
If I understand Spring (and our project) correctly, currentUser is assigned some data when the user logs in. So within 'currentUser' is the data associated with the user. I would like to use this to display the current user name on the webpage.
TIA
Brian Enderle