Announcement

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

    #16
    There's only two way you could be getting the wrong data:

    1. your Java logic in your DAO is actually fetching Countries instead of Languages. If so, you'll in the RPC tab that there is a request with a DataSource ID of "Languages" but the response data is for Countries

    2. you're calling setEditorType() on the DataSourceField or in some other way explicitly specifying that the optionDataSource to use is Countries rather than Languages. This could also explain a SelectItem not being used automatically, which is the default

    Also check the Developer Console for errors or warnings.

    Comment


      #17
      Hi

      Just to be clear ... this has not worked for Countries either. But checking now the developer console The full code to display the form is nothing more than

      boundForm = new DynamicForm();
      boundForm.setDataSource(dataSource);
      boundForm.editRecord(record);

      Thanks

      Comment


        #18
        Ok ..... so the LanguageDS is definitely returning Languages .. not anything else. And im not seeing any errors in the console or the in server logs.

        I'm at a loss!

        Is it possible to pay for a per incident assistance to sort this?(not that this help is not excellent) One thing I have noticed is that we need opensessioninview for Xpathvalues to work.

        Comment


          #19
          Yes, getting Support is a good idea as we can only get to this thread if there's a lull in paid support.

          Something basic is wrong, this is a pretty trivial use case - you should now be looking for a silly error such as a typo or mismatched capitalization in field names, code you meant to delete but forgot to, unsaved files, etc.

          If you can't find it, whittle the code down to just the binding and the DataSource and post it here along with the requests and responses from the RPC tab, and we'll try to get it to it - but purchasing Support will make that into a guarantee.

          Comment

          Working...
          X