Click
  1. Click
  2. CLK-373

Control properties are not automatically solved!

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5 M1, 1.4.2
    • Fix Version/s: 1.5 M2
    • Component/s: None
    • Labels:
      None

      Description

      It looks like properties (i18n ones) are not autmatically solved for
      (custom)Controls, the same way as for Pages:
      E.g. for CustomForm.java
      -----------
      public class CustomForm extends Form {
      public CustomForm(String name)

      { super(name); buildForm(); }

      private void buildForm()

      { TextField snfld = new TextField("snfld"); this.add(snfld); }


      }
      -----------

      and CustomForm.properties :
      -----------
      snfld.label=Special Name
      snfld.title=Enter the special name!
      -----------

      When using this control from a page, those properties are not automatically
      solved. It's done only when not using that Control but a standard Form with
      the fields added there(in the page code), and the properties in a file with
      the same name as the page.

      This makes very hard to reuse i18n Form code (e.g. reuse the same Form in
      view-xxx.htm in readonly mode, in edit-xxx.htm, in add-xxx.htm, of in other
      special-cases-xxxx.htm) and I think this is critical.

      Thank you,

      Demetrios.

        Activity

        Bob Schellink made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]
        Malcolm Edgar made changes -
        Assignee Malcolm Edgar [ medgar ] Bob Schellink [ sabob ]
        Bob Schellink made changes -
        Fix Version/s 1.5 M2 [ 10022 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Demetrios Kyriakis made changes -
        Field Original Value New Value
        Attachment i18n.zip [ 10387 ]
        Demetrios Kyriakis created issue -

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Demetrios Kyriakis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development