Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
15.3-rc-1
-
None
-
Unknown
-
Description
Currently the sheets generated by AWM contain html syntax such as the one below. It seems the only reason to use html is the usage of dd and dt elements with specific attributes, which is not supported by XWiki syntax.
This issue proposes to use XWiki syntax instead in AWM sheet generator, since it's easier to customize for developers than html. This would require to update editableProperty.js as well.
{{html wiki="true" clean="false"}} <div class="xform"> <dl> <dt #if (!$editing && $hasEdit) class="editableProperty" data-property="$escapetool.xml($services.model.serialize($object.getPropertyReference('title')))" data-property-type="object"#end> <label#if ($editing) for="XWiki.Quiz.QuizClass_0_title"#end> $escapetool.xml($doc.displayPrettyName('title', false, false)) </label> </dt> <dd>$doc.display('title')</dd> [....] {{/html}}