lol - sorry that was lame answering my own question but I just figured it out. If I go with something like:
https://gist.github.com/9df3baee3793b750e42e then it can be truley arbitrary code; comparatively a subclass could never the as flexible. Pretty neat. Now my IPN code will operate a little like this: val pending = PaypalEventAction(PendingPayment, List( () => println("hello) // update your database or do whatever here )) val refunded = PaypalEventAction(RefundedPayment, List( () => println("hello) // update your database or do whatever here )) PaypalIPN().onEvent(pending).onEvent(refunded) What are people's thoughts? Cheers Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
