Hi,

I love how Lift generates name/id attributes on form values - its a
great security feature.
But it does tend to make acceptance frameworks like cucumber+webrat
impossible to use.

For those not familar with cucumber+webrat, it is an acceptance
framework for testing, amongst other things, websites.
So if we were writing a test to submit a form, we would write a test
script which looked something like :

  fill_in "my_form_text_input_name", :with => inputValue
  click_button "Submit"

where the html would be :

 <input type="text" name="my_form_text_input_name" />

With Lift generating these automatic name/id attributes, it makes the
above impossible.

So my question is : Is it possible to turn this auto-generation off
for use when testing and then turn it back on for production ?

Thanks,
Ben
--~--~---------~--~----~------------~-------~--~----~
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