José,
You'll need to do this from your snippet code - we dont have any view
logic in templates at all as that breaks lift view first model.
For example:
class YouSnippet {
def example: NodeSeq = <a>Hi</a> % "href" -> "/mypath/" +
someDynamicVar
}
In your template:
<lift:your_snippet.example />
Does that make sense?
Cheers, Tim
On Jul 21, 10:11 am, José María <[email protected]> wrote:
> Hi,
>
> I suppose that this is something simple, how can I put a value inside
> a property in a template?
>
> Something like:
>
> <a href="/mypath/<myobject:id></myobject:id>">hi</a>
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---