For example, if my html template looks like this:

<lift:surround with="default" at="content">
                <h2>foobar</h2>
                <lift:MySnippet.render>
                <input type="checkbox"/>
                </lift:MySnippet.render>
</lift:surround>

I'd like to render it conditionally as:

                <h2>foobar</h2>
                <input type="checkbox" checked/>

Is there syntax to add the "checked" to the checkbox? perhaps similar
to the syntax to bind attribute values?

Thanks!

- Alex

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@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.


Reply via email to