View Full Version : Quick Question about windowclass datasource
drahkar
December 5th, 2010, 12:48
In some bits of code, you can find the line '<datasource>.</datasource>'. Could someone confirm for me what it means when you use . as the datasource?
The reason I'm asking is I'm finding one bit of code storing things under one datasource label in the db.xml and the rest in other places and the only one I can find different is that one.
Zeus
December 5th, 2010, 14:37
I think this is correct although not 100% sure.
I believe its a way of specifying the database node the windowclass the datasource is defined within is to use, relatively.
. denotes the node of the windowclass itself
.. denotes the parent node of the windowclass
... denotes the parent node of the parent of the windowclass.
drahkar
December 5th, 2010, 14:48
I suspected that to be the case. Thanks!
drahkar
December 5th, 2010, 17:18
Finally figured it out completely. It was pulling the database source name as defined in the 'DesktopManager.registerDockShortcut' Thats why it was being stored in the wrong place. . assigned it to the currently defined node, and that was being assigned from the 'DesktopManager.registerDockShortcut'.
Mystery completely solved. :)
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.