Hi, folks, I'm moving one of my old ruby based apps over to Scala/Lift to learn Lift better, and here's one thing I was not able to find how to do.
Some forms in the old app have onsubmit event on the <form> tag which combines / pre-validates things in the form, puts the output into a hidden field and wipes some of the fields prior to submitting. I can't seem to find a way to hook up a JS event to a Lift form defined like so: <lift:IndexView.show form="post"> If I add onsubmit event to this tag, it simply gets ignored. How do I do this in Lift? Also, Ruby on Rails conveniently appends an integer value at the end of script and CSS urls, which comes in handy when you want to maximize caching but don't want to risk serving the old scripts and stylesheets to the users. Is there a corresponding mechanism for this in Lift? Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---