Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

AjaxSubmitLink based submit does not trigger AceEditorField mechanisms #2

Open
thrau opened this issue Nov 21, 2014 · 3 comments
Open
Labels
Milestone

Comments

@thrau
Copy link
Owner

thrau commented Nov 21, 2014

because the AjaxFormSubmitBehavior created inside the AjaxSubmitLink does not trigger the DOM submit event, the value of the editor is not copied into the textarea.

@thrau thrau added the bug label Nov 21, 2014
@thrau thrau changed the title Ajax based submit breaks AceEditorField mechanisms Ajax based submit does not trigger AceEditorField mechanisms Nov 21, 2014
@thrau thrau changed the title Ajax based submit does not trigger AceEditorField mechanisms AjaxSubmitLink based submit does not trigger AceEditorField mechanisms Oct 20, 2015
@fanfy
Copy link

fanfy commented Oct 26, 2015

Hi,

I want to use your component in a wicket application but I'm depending on Ajax change behaviors. Also I'm using AjaxSubmitLinks to submit my form. How can I achieve this?

Thank you.

@fanfy
Copy link

fanfy commented Oct 26, 2015

I'm using also AjaxFallbackButton that internally uses AjaxFormSubmitBehavior and this doesn't work either. Is there a workaround in 0.1.0 version?

thrau added a commit that referenced this issue Oct 26, 2015
@thrau thrau added this to the v0.2.0 milestone Oct 26, 2015
@thrau
Copy link
Owner Author

thrau commented Oct 26, 2015

i changed the behavior of how the contents of the editor are propagated to the textarea. it's updating the value on each change now, which obviously strains the client more, but now its independent of any dom events.

i'm not comfortable releasing yet, but i deployed the 0.2.0-SNAPSHOT, you can try it and tell me if it works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants