Changes for page Public Web Site
Last modified by Alex Cotiugă on 2025/11/27 10:42
From version 3.75
edited by Alex Cotiugă
on 2025/11/24 15:59
on 2025/11/24 15:59
Change comment:
There is no comment for this version
To version 3.79
edited by Alex Cotiugă
on 2025/11/24 16:13
on 2025/11/24 16:13
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -173,7 +173,7 @@ 173 173 #end 174 174 175 175 #macro (stripHTMLMacro $displayOutput) 176 - $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', '') 176 + $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', 'acl-') 177 177 #end 178 178 179 179 #macro (displayFormFromSheetCode) ... ... @@ -194,7 +194,7 @@ 194 194 data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))" 195 195 data-property-type="object"#end> 196 196 ## This must match the id generated by the $doc.display() method below. 197 - #set ($propertyId = "$property.name") 197 + #set ($propertyId = "acl-$property.name") 198 198 <label#if ($editing) for="$escapetool.xml($propertyId)"#end> 199 199 $escapetool.xml($property.translatedPrettyName) 200 200 </label> ... ... @@ -202,7 +202,8 @@ 202 202 <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span> 203 203 </dt> 204 204 #set ($displayOutput = $doc.display($property.name, 'edit')) 205 - <dd>#stripHTMLMacro($displayOutput)</dd> 205 + #set ($displayOutput = "#stripHTMLMacro($displayOutput)"..replace('name=', "placeholder='$escapetool.xml($property.translatedPrettyName)' name=")) 206 + <dd></dd> 206 206 #end 207 207 #if (!$xclass.properties || $xclass.properties.size() == 0) 208 208 ## Keep the empty definition term in order to have valid HTML.