On Tue, Jul 7, 2009 at 1:06 AM, Jeppe Nejsum Madsen <[email protected]>wrote:
> > On Mon, Jul 6, 2009 at 6:03 PM, David > Pollak<[email protected]> wrote: > > > > > > On Mon, Jul 6, 2009 at 1:34 AM, Jeppe Nejsum Madsen <[email protected]> > > wrote: > >> > >> On Fri, Jul 3, 2009 at 6:43 PM, David > >> Pollak<[email protected]> wrote: > >> > Jeppe, > >> > > >> > Once I check in some code (in about 20 minutes), if you run Lift in > Test > >> > mode (-Drun.mode=test), forms, etc. will have stable names which makes > >> > testing easier. > >> > >> Thanks. I just tried this, and it seem something is not correct. > >> Here's a form field genrated by CRUDify: > >> > >> <input > name="f00000000010000000_a0f86e3b78187b55b8628a66fb3371113ddc295c" > >> type="text" maxlength="2" value="DK" lift:field_name="vehicle:country" > >> /> > >> > >> Firefox 3.5 complains about lift:field attribute. > > > > THat's very odd. The lift namespace should be defined for the page. > > Well, it wasn't :-) I checked my templates and it wasn't there. I can > see that the lastet templates generated by the basic archetype does > have the namespace decl, so I've just added it and everything is fine. > > My templates were generated a while ago (by one of the arcehtypes, > can't recall which one). Wonder if the namespace decl was introduced > recently? The namespace decl was introduced 2+ years ago. It's required for Comet stuff. > > > /Jeppe > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
