0 Votes

Changes for page Public Web Site

Last modified by Alex Cotiugă on 2025/11/27 10:42

From version 3.60
edited by Alex Cotiugă
on 2025/11/24 12:32
Change comment: There is no comment for this version
To version 3.61
edited by Alex Cotiugă
on 2025/11/24 12:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -173,12 +173,11 @@
173 173  #end
174 174  
175 175  #macro (displayFormFromSheetCode)
176 - #set ($editing = $xcontext.action == 'edit')
176 + #set ($editing = true)
177 177   ## The object to display.
178 178   #set ($xobject = $doc.getObject('Agnease.Code.Lead.LeadClass'))
179 179   ## The class that describes the object properties.
180 180   #set ($xclass = $xwiki.getClass('Agnease.Code.Lead.LeadClass'))
181 - $xclass
182 182   ## Make sure the following display* method calls use the right object.
183 183   #set ($discard = $doc.use($xobject))
184 184   ## Using the xform vertical form layout.