• Post Reply Bookmark Topic Watch Topic
  • New Topic

Menu bean  RSS feed

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

i've been battling with this for a almost a 2 weeks

I�m trying to get this menu bean working, I�ve got a constructor created and initialized

(I think this is where the problem might be) cos this only gets executed once,

When the status changes I want it to display a different menu option---logoff.

When status equals Home, it must display Login and when the status equals Logon then it must change to Log Off

Menu bean displays options on your left hand side of the page with different options�

I�m using java server faces with struts tiles, so I have my layout jsp menu, footer and heading and so forth.

I call the bean directly from my jsf pages and this is all fine even though I�m new to jsf. The jsf part is working fine.

Before you login it should look like this

Home
Login

--------

Admin
Users

--------

Requirements
Actors
Use Case


After you logged in it should look like this


Home
Log Off

--------

Admin
Users

--------

Requirements
Actors
Use Case

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!