Results 1 to 3 of 3

Thread: setId on AbstractForm does not set id on model?

  1. #1

    Default setId on AbstractForm does not set id on model?

    Hello

    Maybe this is just a misunderstanding of how setId on AbstractForm should work. Calling setId on a form apparently does not set the id of the underlying model causing message source lookups to only use the field name instead of formId.fieldname.

    BR
    Carsten

  2. #2
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    When creating a form, you should always set the id on the formmodel, not on the form.

    However, I'll take a look at the setId issue and give an explanation on its behavior.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

  3. #3
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    A quick look at the message resolving: the resolving is done through the bindingfactory, which is created through the form's formmodel, thus using the formmodel's id, not the form's id.
    MSN: PM me please
    Skype: doclo_lieven

    Spring Rich Client Project Lead

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •