I'm somewhat puzzled by the signature of Loc.Link.createLink - principally by the fact that it returns Box[NodeSeq] instead of some more path-like object. Due to having this signature, you can't simply override createLink to create an actual link (the way it's used by SiteMap inhibits this). Instead, it returns a path-like string wrapped in a Text in its default implementation. This seems like a not-very-useful thing to return; you can't use it in an SHtml.a or SHtml.link call without unwrapping it and the type system doesn't help you at all (Box[NodeSeq] is definitely *not* the meaning of those bytes).
Is there any better path-like construct that a Link could be constructed around? Do people have their own Link implementations, or is the Link class mostly used internally (such that its api could be change to represent something path-link instead of xml-like?) Kris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---