Home » Developer & Programmer » JDeveloper, Java & XML » Display logged in user name
Display logged in user name [message #416511] Mon, 03 August 2009 03:06 Go to next message
aminah
Messages: 13
Registered: June 2009
Junior Member
hey there..

i need your help to solve one issue which i have been facing so far.

my motive is to display the logged in userName in the welcome page.

i tried using and outPut text in the welcome page and put the value as "#{securityContext.userName}"

but after using this,i try loggin in as Edward, but the welcome page shows "Welcome Anonymous"

i want the welcome page to display "Welcome Edward"

how do i come about doing that?can anyone please help me in this issue??

thanx alot Smile

[MOVED into the JDeveloper forum from the Forms forum by LF]

[Updated on: Mon, 03 August 2009 04:45] by Moderator

Report message to a moderator

Re: Display logged in userName [message #416518 is a reply to message #416511] Mon, 03 August 2009 03:27 Go to previous messageGo to next message
Littlefoot
Messages: 19651
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:
"#{securityContext.userName}"

I've never seen something like the above before (which, of course, doesn't mean that it doesn't exist). Is this Forms-related question? If not, would you like it to be moved somewhere else?
Re: Display logged in userName [message #416520 is a reply to message #416518] Mon, 03 August 2009 03:33 Go to previous messageGo to next message
aminah
Messages: 13
Registered: June 2009
Junior Member
errr..actually i'm not so sure under which category i should post this question??
Re: Display logged in user name [message #416522 is a reply to message #416511] Mon, 03 August 2009 04:02 Go to previous messageGo to next message
cookiemonster
Messages: 10989
Registered: September 2008
Location: Rainy Manchester
Senior Member
Well is your application written in oracle forms, and if not what is it written in?
Re: Display logged in user name [message #416523 is a reply to message #416522] Mon, 03 August 2009 04:10 Go to previous messageGo to next message
aminah
Messages: 13
Registered: June 2009
Junior Member
yea its done in oracle form..

i'm using oracle jdeveloper 11g..

please help me Very Happy
Re: Display logged in user name [message #416525 is a reply to message #416511] Mon, 03 August 2009 04:19 Go to previous messageGo to next message
cookiemonster
Messages: 10989
Registered: September 2008
Location: Rainy Manchester
Senior Member
I've never used JDeveloper but I don't believe it does create oracle forms (.fmb and .fmx files).
Oracle form builder creates oracle forms and this forum exists for that.
Theres a JDeveloper forum that you should probably be using.

EDIT: typo

[Updated on: Mon, 03 August 2009 04:28]

Report message to a moderator

Re: Display logged in user name [message #416537 is a reply to message #416525] Mon, 03 August 2009 05:03 Go to previous messageGo to next message
Frank
Messages: 7877
Registered: March 2000
Senior Member
This is ADF/JSF syntax.

I don't use this, so I don't know if securityContext is something that is user-defined or some global bean.
Re: Display logged in user name [message #416675 is a reply to message #416511] Mon, 03 August 2009 20:34 Go to previous messageGo to next message
aminah
Messages: 13
Registered: June 2009
Junior Member
so if i have any JSF/ADF questions, under where should i post my doubts??
Re: Display logged in user name [message #416677 is a reply to message #416511] Mon, 03 August 2009 21:05 Go to previous messageGo to next message
aminah
Messages: 13
Registered: June 2009
Junior Member
who knows how to do this??
Re: Display logged in user name [message #416692 is a reply to message #416677] Tue, 04 August 2009 00:18 Go to previous messageGo to next message
Frank
Messages: 7877
Registered: March 2000
Senior Member
Are you sure you are logged in?
Re: Display logged in user name [message #416705 is a reply to message #416692] Tue, 04 August 2009 01:03 Go to previous message
aminah
Messages: 13
Registered: June 2009
Junior Member
yeah the user is logged in and directed to the welcome page

but only the logged in user's name is not displayed..
Previous Topic: Storing XML tags Data in Oracle Table (merged)
Next Topic: Retrieve the project which belongs to logged on user
Goto Forum:
  


Current Time: Thu Oct 02 01:30:39 CDT 2014

Total time taken to generate the page: 0.13756 seconds