AnsweredAssumed Answered

To access properties provide during user creation

Question asked by rama.honge on Oct 14, 2009
Latest reply on Oct 14, 2009 by zaizi

During user creation, i've added some additional properties (location, department) to be filled(made necessary changes in model and beans to set the new properties).

I wanted to use/get these properties auto populated when uploading a document. I've done it for author property. by overriding the getAuthor() method in

public String getAuthor()
      FacesContext fc = FacesContext.getCurrentInstance();
      NavigationBean navigator = (NavigationBean)FacesHelper.getManagedBean(fc, NavigationBean.BEAN_NAME); = navigator.getCurrentUser().getUserName();

Any inputs on how to get the properties entered during user creation while uploading a document. I need to show these properties when document is uploaded.