Announcement

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

    edit record's initial array of values not drawn

    I think this should work as it worked when the records were created in memory and not from JSON files.

    The attached .js files were originally .json, but I had to rename them to be able to attach them here. The code has not been changed from .json to .js

    The problem is that MultiComboBoxItem and SelectItem(multiple) do not have the initial items checked when the IDs are Integer Strings and the source is something providing JSON formatted data.

    I require string IDs that may or may not be digits only (currently with the integer strings in the sample the problem occurs).

    Be sure your post includes:

    1. the *complete* SmartGWT or SmartClient version from the lower left-hand corner of the Developer Console (see FAQ for how to open Developer Console), for example, \"v8.2p_2012-04-18/PowerEdition Deployment\"

    SmartClient Version: v9.1p_2014-04-02/LGPL Development Only (built 2014-04-02)

    2. browser(s) and version(s) involved

    FireFox

    3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)

    n/a

    4. for any problem processing a server response, the actual response as shown in the RPC tab in the Developer Console

    n/a

    5. if there is a JavaScript error, the stack trace logged in the Developer Console (see FAQ)

    none

    6. sample code if applicable

    see attached

    Posts with incomplete information are much more likely to be ignored.
    Attached Files

    #2
    current work around

    My current work around is to make the fk array integers (I can keep the PK Strings). Seems to work ok for now as my current lookup record set pks are not yet hexstrings -- they will be if they are temporary items not yet persisted to the DB.

    Comment

    Working...
    X