I asked this only the day before (and got the answer) - might be worth popping it on the wiki now.
On Sep 17, 9:58 pm, Naftoli Gugenheim <naftoli...@gmail.com> wrote: > DPP added an attribute-preserving arrow: -%> > Then you can use unprefixed attributes. > > ------------------------------------- > > Bryan<germ...@gmail.com> wrote: > > I am trying to update an old lift application I wrote using > 1.1-SNAPSHOT. It looks like bind is no longer keeping the attributes > I've defined in the template. > > bind("f", xhtml, > "pickupDate" -> keepAttrs(SHtml.text(pickupDate.is, pickupDate(_))), > "submit" -> SHtml.submit("Search", processSearch) > ) > > <f:pickupDate f:id="pdate" f:maxlength="10" f:size="10" /> > > Renders as > > <input value="" type="text" name="F812119230404JZF" /> > > But should be > > <input value="" type="text" name="F812119230404JZF" id="pdate" > maxlength="10" size="10" /> > > Thanks, > Bryan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---