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 ActionEvent processAction duplication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF ActionEvent processAction duplication" Watch "JSF ActionEvent processAction duplication" New topic
Author

JSF ActionEvent processAction duplication

Piter Smith
Ranch Hand

Joined: Feb 25, 2009
Posts: 31
For the forward and back links I want to use ActionListener even if it's not quite correct to do so, just so I can understand how to use this class. The two listeners are basically identical, except for the boolean value. How can have make just one listener? Presumably the ActionEvent object has sufficient information to determine that?

messages.html:



and the action, which is duplicated by a ForwardListener which just sends a different value for the boolean:

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15629
    
  15

"THUFIR HAWAT",

We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .

A little incentive: The sooner you correct your display name, the sooner you get an answer.


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

Joined: Feb 25, 2009
Posts: 31
Tim Holloway wrote:"THUFIR HAWAT",

We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .

A little incentive: The sooner you correct your display name, the sooner you get an answer.



Ok, name corrected.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15629
    
  15

Piter Smith wrote:
Tim Holloway wrote:"THUFIR HAWAT",

We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .

A little incentive: The sooner you correct your display name, the sooner you get an answer.



Ok, name corrected.


Sure you didn't mean "Piter DeVries"?
Piter Smith
Ranch Hand

Joined: Feb 25, 2009
Posts: 31
Tim Holloway wrote:
Piter Smith wrote:
Ok, name corrected.

Sure you didn't mean "Piter DeVries"?


Well, the name was approved. Oh well, what sort of reply do you want here?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF ActionEvent processAction duplication
 
Similar Threads
DataTable datas are not actual
Component ID frm1_window viewid has already been found in the view
JEE example with EJB, JSF is not working
JSF form problems
commandLink in table -> javax.servlet.ServletException: Can't find bundle