Functions dedicated to edition.
organization: Logilab copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. contact: http://www.logilab.fr/ – mailto:contact@logilab.fr
called on Eproperty key selection: - get the selected value - get a widget according to the key by a sync query to the server - fill associated div with the returned html
this function is called when an AJAX form was generated to make sure tabindex remains consistent
this function builds a Handle to cancel pending insertion
this function builds a Handle to cancel pending insertion
makes an AJAX request to get an inline-creation view’s content * peid, the parent entity eid
removes the part of the form used to edit an inlined entity
alternatively adds or removes the hidden input that make the edition of the relation rtype possible between peid and eid * peid, the parent entity eid
unfreeze form buttons when the validation process is over
disable form buttons while the validation is being done
used by additional submit buttons to remember which button was clicked
called on load to set target and iframeso object.
Note
this is a hack to make the XHTML compliant.
Note
object nodes might be a potential replacement for iframes
Note
there is a XHTML module allowing iframe elements but there is still the problem of the form’s target attribute
called on traditionnal form submission : the idea is to try to post the form. If the post is successful, validateForm redirects to the appropriate URL. Otherwise, the validation errors are displayed around the corresponding input fields.