aspose 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 Spring in Action this week in the Spring 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: 53
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: 16145
    
  21

"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: 53
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: 16145
    
  21

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: 53
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?
 
wood burning stoves
 
subject: JSF ActionEvent processAction duplication