1. 04 Jul, 2022 2 commits
  2. 01 Jul, 2022 6 commits
    • Nicolas Malin's avatar
      Improved: Add sequenceNum field on contentAssoc list (OFBIZ-12654) · 8ee85ec3
      Nicolas Malin authored
      By the way, clean unnecessary code and change groovy scripting call by the native date translation
      
      Thanks to Ingo Wolfmayr for this issue
      8ee85ec3
    • Nicolas Malin's avatar
      Improved: Add missing parameter on xsd for widget-form:on-field-event-update-area (OFBIZ-12586) · 576307ac
      Nicolas Malin authored
      On the widget-form.xsd definition, the element on-field-event-update-area haven't possibility to define some parameters.
      
      But on java code, the on-field-event-update-area is read like on-event-update-area.
      
      If you put some parameters on your code, your editor raise a syntax error but OFBiz analyse and execute it well.
      
                  <wf:field name="reload" >
                      <wf:submit/>
                      <wf:on-field-event-update-area event-type="click"
                                                     area-target="ReloadIt">
                          <wf:auto-parameters-service service-name="computeForReload" send-if-empty="false"/>
                      </wf:on-field-event-update-area>
                  </wf:field>
      
      By the way we can synchronize the on-field-event-update-area xsd on on-event-update-area.
      576307ac
    • Nicolas Malin's avatar
      Improved: Convert a display-entity to hyperlink if subhyperlink this empty (OFBIZ-12547) · e0f61dce
      Nicolas Malin authored
      When you define a display-entity you have the possibility to add a sub-hyperlink related to the element displayed.
      
                   <field name="partyIdFrom">
                      <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}">
                          <sub-hyperlink target="viewprofile" description="view">...</sub-hyperlink>
                      </display-entity>
                  <field>
      
      This display the party name with a link "view" connected.
      
      When you use the name as link without a dedicate sub link, you need to change all the form to resolve the information to display for creating an hyperlink
      
                  <row-actions>
                      <entity-one entity-name="PartyNameView" value-field="partyName">
                              <field-map field-name="partyId" from-field="partyIdFrom"/>
                      </entity-one>
                      <set field="partyNameValue" value=" ${partyName.groupName}${partyName.firstName} ${partyName.lastName}"/>
                  </row-actions>
                  <field name="partyIdFrom">
                      <hyperlink target="viewprofile" description="${partyNameValue}">..</hyperlink>
                  </field>
      
      We lost the advantage of the display-entity. With this case, we improve display-entity with the following rule :
      
      If the display-entity has a subhyperlink and the subhyperlink haven't description, the description of the link is the display-entity description.
      In the code, if a sub-hyperlink has an empty description, we convert the display entity as a hyperlink
      e0f61dce
    • Nicolas Malin's avatar
      Improved: Refactoring service resenquence (OFBIZ-12624) · 8015dcb0
      Nicolas Malin authored
      The service "resequence" compute for a content all sequenceNum for linked content assoc.
      
      The code is very old (before apache) so apply a slim refactor and migrate the service name resequence to resequenceContentAssocChildren.
      
      By the way I kept the service definition resequence to move it as deprecated.
      8015dcb0
    • Nicolas Malin's avatar
      Fixed: MenuItem doesn't follow correctly extended informations (OFBIZ-12628) · 7ea371bd
      Nicolas Malin authored
      Fix a null pointer exception when the extended menu have an entry without link.
      
      Thanks to Jacques Leroux for the alert
      7ea371bd
    • Jacques Le Roux's avatar
      Improved: CustomSafePolicy, also use TagBalancingHtmlStreamEventReceiver (OFBIZ-12653) · 78ee6f87
      Jacques Le Roux authored
      Adds <img> and <hr> to CustomSafePolicy, removes obsolete <tt>. <img> allows
      only attributes src and alt.
      
      Both <br> and <br /> are correct. For that, this rather uses
      TagBalancingHtmlStreamEventReceiver
      
      Thanks: Ingo Wolfmayr
      78ee6f87
  3. 29 Jun, 2022 2 commits
  4. 28 Jun, 2022 1 commit
  5. 27 Jun, 2022 6 commits
  6. 22 Jun, 2022 1 commit
  7. 21 Jun, 2022 1 commit
  8. 17 Jun, 2022 6 commits
  9. 16 Jun, 2022 1 commit
  10. 14 Jun, 2022 2 commits
  11. 11 Jun, 2022 4 commits
  12. 09 Jun, 2022 1 commit
  13. 07 Jun, 2022 3 commits
  14. 03 Jun, 2022 1 commit
  15. 02 Jun, 2022 1 commit
  16. 28 May, 2022 1 commit
  17. 27 May, 2022 1 commit