I would like to include a variable value in an <input> tag in my .html file. I have defined a tag as follows:
def upload(xhtml: Group): NodeSeq = if (S.get_?) { bind("ul", chooseTemplate("choose", "get", xhtml), "file_upload" -> fileUpload(ul => theUpload(Full (ul))), "batch" -> currBatch ) } thus, <choose:get> <ul:batch/> </choose:get> returns the variable value that I need How can I retrieve this variable for the "value=" attribute of my input tag? For instance, right now I am trying to do it like this: <input name="batch" type="hidden" value=<ul:batch/> /> but that is not working. It also doesn't work like this: <input name="batch" type="hidden" value="<ul:batch/>" /> Thanks, David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---