Looks like a bug.  Please open a ticket at
http://github.com/dpp/liftweb/issues

Marius & Derek: could this have anything to do with your recent changes?  If
so, could you get a fix into the repo, asap?

On Sat, Nov 14, 2009 at 1:31 PM, Richard Hirsch <hirsch.d...@gmail.com>wrote:

> I think I might have found a lift bug in the <lift:form>  tag
>
> I just did a update and certain HTML buttons (for example, "Add" in
> creating a new action, etc.) no longer work. A javascript syntax error
> is thrown.
>
> The file in question is
> \trunk\server\src\main\webapp\action_view\index.html. The code is
> here:
>
> <div class="ui-tabs-panel ui-widget-content ui-corner-bottom
> ui-tabs-hide" id="tabs-2">
>  <lift:form>
>    <lift:main>
>    <table>
>
>
> This is code currently generated and which causes the syntax error.
> <form id="F1008082309036RKD" action="javascript://"
>
> onsubmit="liftAjax.lift_ajaxHandler(jQuery('#'+&quot;F1008082309036RKD&quot;).serialize(),
> , null, &quot;javascript&quot;);return false;">
>
> This older generated code is currently deployed on stax are works
> correctly.
>
> <form id="F444961682037I0I"  action="javascript://"
>
> onsubmit="liftAjax.lift_ajaxHandler(jQuery('#'+&quot;F444961682037I0I&quot;).serialize(),
> null, null, null);return false;">
>
> Notice the difference in the onsubmit value.
>
> D.
>



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

Reply via email to