[xwiki-users] XWiki cannot Save in Inline-Mode using Internet Explorer
I had an issue where XWiki could not save a document in Inline-Mode using Internet Explorer (endless spinning-wheel). I got following error: SCRIPT5007: the property "serialize" has no value: the object is Null or undefined actionButtons.js, Zeile 155 Zeichen 7 The reason for that were programmatically produced forms by an included macro (<form name=" ${obj}" action="">...</form>) in inline-mode. I just left out the form-tags around the input- and option-elements and that was the fix. Perhaps someone finds out a solution at the root, I couldn't so far. Regards, Josef Haimerl
Hi Josef, In 'Inline Form' edit mode the content of your document/sheet is already wrapped by a <form> HTML tag (coming from the edit* Velocity templates) so you don't have to output any form tag. Moreover the XHTML syntax doesn't allow nested forms so you shouldn't output any form tag in 'Inline Form' edit mode. I'm guessing that the browser tries to fix the invalid XHTML that you produce and the result is unexpected for the JavaScript code that handles the form action buttons. Hope this helps, Marius On Thu, Nov 8, 2012 at 12:53 PM, Haimerl, Josef <[email protected]> wrote:
I had an issue where XWiki could not save a document in Inline-Mode using Internet Explorer (endless spinning-wheel).
I got following error:
SCRIPT5007: the property "serialize" has no value: the object is Null or undefined actionButtons.js, Zeile 155 Zeichen 7
The reason for that were programmatically produced forms by an included macro (<form name=" ${obj}" action="">...</form>) in inline-mode. I just left out the form-tags around the input- and option-elements and that was the fix. Perhaps someone finds out a solution at the root, I couldn't so far.
Regards, Josef Haimerl _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Haimerl, Josef -
Marius Dumitru Florea