On 15 svi, 18:27, David Pollak <[email protected]> wrote:
> Howdy,
>
> Lift can do convention over configuration.  It can be a dangerous convention
> to have any old method on a class be invoked, so when Lift does reflection
> to determine which method to invoke on a snippet class, it only looks at the
> public methods declared on the class.  You can update your snippet class to
> a DispatchSnippet and write an explicit dispatch method to invoke the chosen
> method.  It's a little more work, but as projects grow, it's the recommended
> practice.

Thank's for the advice and for a prompt answer. I also got it working
by changing SimpleSifarnik from class to trait but i will also try out
the DispatchSnippet solution.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to