incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Chen-Becker <dchenbec...@gmail.com>
Subject Re: [Lift] Re: Possible lift error in <lift:form> tag
Date Wed, 18 Nov 2009 13:49:17 GMT
This was my fault when I added the post-submit ajax handling. It had worked
fine on my test app, so I'm not sure what happened here, but I'm sorry for
the hassle.

On Sun, Nov 15, 2009 at 12:50 PM, David Pollak <
feeder.of.the.bears@gmail.com> wrote:

> Marius,
>
> Thanks for turning this fix around so quickly!
>
> David
>
>
> On Sun, Nov 15, 2009 at 7:58 AM, Marius <marius.danciu@gmail.com> wrote:
>
>>
>> Pushed a fix to master. Please let me if there are other issues here.
>>
>> On Nov 15, 2:38 pm, Marius <marius.dan...@gmail.com> wrote:
>> > Pushed a suggested fix on reviewboard
>> >
>> > Br's,
>> > Marius
>> >
>> > On Nov 15, 2:24 pm, Marius <marius.dan...@gmail.com> wrote:
>> >
>> > > What is the exact JS error?
>> >
>> > > On Nov 15, 2:04 pm, Marius <marius.dan...@gmail.com> wrote:
>> >
>> > > > I don't think my commits may have caused this.
>> >
>> > > > Derek ?
>> >
>> > > > Br's,
>> > > > Marius
>> >
>> > > > On Nov 14, 11:36 pm, David Pollak <feeder.of.the.be...@gmail.com>
>> > > > wrote:
>> >
>> > > > > Looks like a bug.  Please open a ticket athttp://
>> 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 frameworkhttp://liftweb.net
>> > > > > Beginning Scalahttp://www.apress.com/book/view/1430219890
>> > > > > Follow me:http://twitter.com/dpp
>> > > > > Surf the harmonics
>>
>>
>
>
> --
> 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
>
> --~--~---------~--~----~------------~-------~--~----~
> 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+unsubscribe@googlegroups.com<liftweb%2Bunsubscribe@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message