<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged apply</title>
<link>https://overflow.efficy.io/?qa=tag/apply</link>
<description>Powered by Question2Answer</description>
<item>
<title>Relation form becomes readonly after 1 or 2 applies in Efficy 11.2</title>
<link>https://overflow.efficy.io/?qa=4641/relation-form-becomes-readonly-after-or-applies-in-efficy-11</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I've encountered a problem when a relation form becomes readonly when the user clicks 1 or 2 times on apply. This is in the standard of Efficy 11.2. Is this a known bug? If yes, how can this be solved? If no, how can we solve this?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4641/relation-form-becomes-readonly-after-or-applies-in-efficy-11</guid>
<pubDate>Thu, 01 Aug 2019 09:57:44 +0000</pubDate>
</item>
<item>
<title>How can we save changes from an edit form before starting a serverscript with $.ajax</title>
<link>https://overflow.efficy.io/?qa=3099/save-changes-from-edit-form-before-starting-serverscript-with</link>
<description>&lt;p&gt;We need the updated (saved) data of the client form in our serverscript, therefore a &lt;code&gt;CebPerform('CEB_APPLY')&lt;/code&gt; is programmatically executed for launching the serverscript.&lt;br&gt;
The serverscript will be started and finished successfully, but the callback success function is NOT triggered.&lt;/p&gt;

&lt;p&gt;How we can fix this?&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;CebPerform('CEB_APPLY');
var scriptFile = &quot;serverscripts/test.js&quot;
    var scriptFunc = &quot;TestServerScript&quot;
    var URL = &quot;dialog?_macrofile=MacroAjax&amp;amp;_macro=RunScript&amp;amp;File=&quot; + scriptFile + &quot;&amp;amp;Func=&quot; + scriptFunc + &quot;&amp;amp;key=&quot; + Model('key') + &quot;&amp;amp;entity=&quot; + Model('entity') + &quot;&amp;amp;editHandle=&quot; + Model('editHandle');
$.ajax({
    url: URL,
    type: &quot;GET&quot;,
    //data: ExtraParams,
    success:
    function (html, textStatus, jqXHR) {
        // this is never reached ?!
        alert(&quot;Back:&quot; + html)
        if (IsNotEfficyErrorHtml(html, function (errorMsg) {
                alert(errorMsg)
            })) {
            CebPerform('CEB_STATE');
        }
    }
})
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3099/save-changes-from-edit-form-before-starting-serverscript-with</guid>
<pubDate>Thu, 26 Apr 2018 12:36:24 +0000</pubDate>
</item>
</channel>
</rss>