If you're in a snippet (in Scala):
<img src={calcImageSource} />

If you're in a template:

<img lift:CalcSrc=""/>

This will invoke the CalcSrc snippet (and call the render method).

On Mon, Aug 24, 2009 at 7:43 PM, jack <[email protected]> wrote:

>
> I apologize for such a simple question.
>
> How do I embed a lift tag within quotes in a html element?
>
> For example
>
> <img src=""/>
>
> Where I determine the image dynamically in a snippet.
>
> I can't do this, right?
>
> <img src="<lift:ImageManager.getImage/>"/>
>
> >
>


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

Reply via email to