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('#'+"F1008082309036RKD").serialize(),
, null, "javascript");return false;">
This older generated code is currently deployed on stax are works correctly.
<form id="F444961682037I0I" action="javascript://"
onsubmit="liftAjax.lift_ajaxHandler(jQuery('#'+"F444961682037I0I").serialize(),
null, null, null);return false;">
Notice the difference in the onsubmit value.
D.