esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Possible lift error in <lift:form> tag
Date Sat, 14 Nov 2009 21:31:04 GMT
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.

Mime
View raw message