Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ds.xml problem

    Hi,
    I have a file.ds.xml, I'm using eclipse for a project.

    My code before:

    [HTML]
    <field name="file_status" type="enum" required="true">
    <title>
    <fmt:message key="ds_pricer_file_to_process_file_status" />
    </title>
    <valueMap>
    <value ID="Loaded"><fmt:message key="ds_pricer_file_to_process_file_status_uploaded"></fmt:message></value>
    <value ID="Processed"><fmt:message key="ds_pricer_file_to_process_file_status_processed"></fmt:message></value>
    <value ID="Priced"><fmt:message key="ds_pricer_file_to_process_file_status_exported"></fmt:message></value>
    </valueMap>
    </field>
    [/HTML]



    My code after Shift+Ctrl+F

    [HTML]
    <field name="file_status" type="enum" required="true">
    <title>
    <fmt:message key="ds_pricer_file_to_process_file_status" />
    </title>
    <valueMap>
    <value ID="Loaded">
    <fmt:message key="ds_pricer_file_to_process_file_status_uploaded"></fmt:message>
    </value>
    <value ID="Processed">
    <fmt:message key="ds_pricer_file_to_process_file_status_processed"></fmt:message>
    </value>
    <value ID="Priced">
    <fmt:message key="ds_pricer_file_to_process_file_status_exported"></fmt:message>
    </value>
    </valueMap>
    </field>
    [/HTML]


    After this change, the valueMap stopped working properly...
    Can you check this please?

    Regards

    Jean-Philippe
    Last edited by jpr; 18 Aug 2017, 06:14.

    #2
    Hi jpr,

    see this thread, same problem I assume. Solution is a regexp-replace after format.

    Best regards
    Blama

    Comment


      #3
      Hi Blama,
      exactly the same problem. Thanks for the link (2015 issue) and the fix.
      Regards
      JP

      Comment

      Working...
      X