Okay, I think I may have found a bug.
My returned content contains unescaped braces. In one failure case
(this is parsing a DSL) I was testing a parse of a missing end brace -
and part of the error message is the original text passed in (with
mismatched braces).
Figured it out by passing in conte
On Thu, Jan 21, 2010 at 4:04 PM, Kris Nuttycombe
wrote:
> On Thu, Jan 21, 2010 at 4:36 PM, Kris Nuttycombe
> wrote:
> > On Thu, Jan 21, 2010 at 2:43 PM, Marius wrote:
> >>
> >>
> >> On Jan 21, 11:15 pm, Kris Nuttycombe
> >> wrote:
> >>> On Thu, Jan 21, 2010 at 12:23 PM, Marius
> wrote:
> >>> >
On Thu, Jan 21, 2010 at 4:36 PM, Kris Nuttycombe
wrote:
> On Thu, Jan 21, 2010 at 2:43 PM, Marius wrote:
>>
>>
>> On Jan 21, 11:15 pm, Kris Nuttycombe
>> wrote:
>>> On Thu, Jan 21, 2010 at 12:23 PM, Marius wrote:
>>> > Instead of
>>>
>>> > "submit" -> SHtml.submit("Parse", () => ())
>>>
>>> >
On Thu, Jan 21, 2010 at 2:43 PM, Marius wrote:
>
>
> On Jan 21, 11:15 pm, Kris Nuttycombe
> wrote:
>> On Thu, Jan 21, 2010 at 12:23 PM, Marius wrote:
>> > Instead of
>>
>> > "submit" -> SHtml.submit("Parse", () => ())
>>
>> > use:
>>
>> > "submit" -> SHtml.ajaxSubmit("Parse", () => ())
>>
>> >
On Thu, Jan 21, 2010 at 2:43 PM, Marius wrote:
>
>
> On Jan 21, 11:15 pm, Kris Nuttycombe
> wrote:
>> On Thu, Jan 21, 2010 at 12:23 PM, Marius wrote:
>> > Instead of
>>
>> > "submit" -> SHtml.submit("Parse", () => ())
>>
>> > use:
>>
>> > "submit" -> SHtml.ajaxSubmit("Parse", () => ())
>>
>> >
On Jan 21, 11:15 pm, Kris Nuttycombe
wrote:
> On Thu, Jan 21, 2010 at 12:23 PM, Marius wrote:
> > Instead of
>
> > "submit" -> SHtml.submit("Parse", () => ())
>
> > use:
>
> > "submit" -> SHtml.ajaxSubmit("Parse", () => ())
>
> > you can also send normal forms via ajax like:
>
> > SHtml.submi
On Thu, Jan 21, 2010 at 12:23 PM, Marius wrote:
> Instead of
>
> "submit" -> SHtml.submit("Parse", () => ())
>
> use:
>
> "submit" -> SHtml.ajaxSubmit("Parse", () => ())
>
> you can also send normal forms via ajax like:
>
> SHtml.submitAjaxForm("formId", () => {
>
> /// Do your stuff here. This
Those names seem counterintuitive to me. ajaxSubmit submits an ajax form but
submitAjaxForm submits a non-ajax form? submitAjaxForm implies that it should
be the reverse, no?
-
Marius wrote:
Instead of
"submit" -> SHtml.submit("Parse", () => ())
use:
"su
On Wed, Jan 20, 2010 at 9:51 AM, Kris Nuttycombe
wrote:
> On Wed, Jan 20, 2010 at 9:39 AM, Kris Nuttycombe
> wrote:
>> Hi, all,
>>
>> I'm working on an AJAX form and feel like I'm missing something:
>> namely, how to update the page based upon the result of the form
>> submission.
>>
>> The three
On Wed, Jan 20, 2010 at 9:39 AM, Kris Nuttycombe
wrote:
> Hi, all,
>
> I'm working on an AJAX form and feel like I'm missing something:
> namely, how to update the page based upon the result of the form
> submission.
>
> The three ajaxForm methods in SHtml have the following signatures:
>
> def aj
10 matches
Mail list logo