IBM Support

PM05091: RUI validation rules override on the variable declaration

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The basic idea was to use a record (the same record I use to exc
    hange data via Egl service), override the fields properties and
    use it to feed a validating form:
    record MyRecord{}
    MyField1 string;
    MyField2 string;
    end
    
    Override some properties:
    r_MyRecord MyRecord{
    MyField1 {inputRequired = yes, inputRequiredMsgKey = 'Mandatory'
    ,ValidationPropertiesLibrary = ValidationMessages},
    MyField2 { inputRequired = yes,inputRequiredMsgKey = 'Mandatory'
    , ValidationPropertiesLibrary = ValidationMessages}}
    
    Build MVC relations:
    c_MyField1 Controller { @MVC { model=r_MyRecord.MyField1, view=v
    _MyField1 as Widget }};
    c_MyField2 Controller { @MVC { model=r_MyRecord.MyField2, view=v
    _MyField2 as Widget }};
    
    Load fields definition:
    entryFields FormField[] =[new FormField{displayName = 'Label1:'
    ,controller = c_MyField1},
    new FormField{displayName = 'Label2:' ,controller = c_MyField2}]
    ;
    
    And finally feed the form definition:
    Form_MyForm ValidatingForm{entries = entryFields};
    
    So when I receive e record from a service (in r_MyRecord) I have
     only to publish it and when valid it's time to commit and send
    back to the server (again using r_MyRecord) via Egl service. But
     the MVC is not working (not validating), if I define r_MyRecord
     as type BasicRecord it's working.
    
    Using a separate record as the Controller and another one as Ser
    vice force me to move field by field from the Service record to
    the Controller record (and vice versa). Must be there a better s
    olution.
    

Local fix

Problem summary

  • Rich UI MVC property overrides were being ignored, and only
    the MVC properties in the record definition were being used.
    

Problem conclusion

  • Property overrides now take precedence over what's defined
    in the record part.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM05091

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-13

  • Closed date

    2010-04-14

  • Last modified date

    2010-04-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
14 April 2010