File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes jsf does not has actions,right? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "jsf does not has actions,right?" Watch "jsf does not has actions,right?" New topic
Author

jsf does not has actions,right?

Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
hi..
Does JSF has action calss like the Action class at Struts?
thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14456
    
    7

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
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 ]

Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://jrebel.com/download
 
subject: jsf does not has actions,right?
 
Similar Threads
validator
AboutJpa and Hybernate
Using JQuery JSF components together
why i can not use f:param inside an html form? what is the solution for it?
Books on JSf and Spring integration.