Announcement

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

    operationBindings in DataSource.create and also ds.xml file

    This is just a question I could not answer from the QuickStart Guide. I rely on it regularly.

    I started my app using VisualBuilder. It is too large and now development proceeds using the jsp files directly. Some of the generated code has come along for the ride.

    In particular, I have still been maintaining the ds.xml files. Just recently I noticed that I had (originally) duplicate operationBindings in my DataSource.create invocations.

    Do I really need them both? Which one superceeds? It appears to me that the ds.xml code is used by the 'server'. Do they have separate roles?

    Thanks,

    Rick

    #2
    Sort of worked this out.

    Research in the QuickStart guide and SmartClient reference has been fruitful. In my case, I need the ds.xml files to be close to the server. I just would need to DataSource.load them if there were no problems. I would recommend doing that if you did not need any of the names to be global. I think the primaryKey field indications come through ok.

    Rick

    Comment

    Working...
    X