• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsf does not has actions,right?

 
Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..
Does JSF has action calss like the Action class at Struts?
thanks
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not exactly. A JSF backing bean is sort of a cross between an Action and a Form Bean. In other words, you put the action code in the same JavaBean that the data normally resides in. Which is more OOP-like.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use ActionEvent to retrieve the current PhaseId, the LifeCycleImpl and the originating UIComponent.

JSF

MyBean
[ November 26, 2006: Message edited by: Bauke Scholtz ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!