On Fri, Apr 10, 2009 at 11:31 AM, Jorge Ortiz <[email protected]> wrote:
> Huh? > > lift: snippet, surround, embed, ignore, comet, children, a, form, loc, and > with-param are all built-in in liftTagProcessing. Yes, they're overrideable, > but imo it'd be nicer if they were Just A Snippet, like, say, lift:msgs. It's on my to-do list to do a little house cleaning in this area. > > > lift:bind is just bad naming. it's not actually a directive, it's just what > lift:surround looks for to bind at. should probably be called surround:bind > or something with a different namespace. Yeah... we should deprecate <lift:bind/> because it's not the same thing. Please open a defect on this for me. > > > --j > > On Fri, Apr 10, 2009 at 1:26 PM, David Pollak < > [email protected]> wrote: > >> Bob, >> They are actually the same thing. Lift's processing directives are simply >> built-in snippets. You can, if you dare, override their functionality. :-) >> >> Thanks, >> >> David >> >> On Fri, Apr 10, 2009 at 11:23 AM, bob <[email protected]> wrote: >> >>> >>> if I see <lift:XXXX/>, it could mean one of two things: a directive, >>> e.g., <lift:bind/> or <lift:surround/> or shorthand for a snippet, eg >>> <lift:myClass> represents <lift:snippet type="MyClass"> >>> >>> i guess I would like to see these disambiguated a shorthand for >>> snippets that doesn't overlap with the directive namespace. >>> >>> some possible solutions: >>> >>> 1. <lift:bind/> would be the directive and <lift:.bind/> would be the >>> snippet. please don't get hung up on my use of dot. it is only an >>> example, and not an actual suggestion. >>> >>> 2. <lift:bind/> maps to a real class, not some internal code, much the >>> way <lift:msgs/> maps to net.liftweb.builtin.snippets.Msgs (thanks >>> Jorge) >>> >>> 3. <lift:bind> is the directive, and <liftsnippet:bind> is the snippet >>> >>> comments? >>> >>> thanks, bob >>> >>> >>> >>> >> >> >> -- >> Lift, the simply functional web framework http://liftweb.net >> Beginning Scala http://www.apress.com/book/view/1430219890 >> Follow me: http://twitter.com/dpp >> Git some: http://github.com/dpp >> >> >> > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
