johnf wrote:
> On Wednesday 18 February 2009 11:15:57 am Uwe Grauer wrote:
>> johnf wrote:
>>> In general I see this as a non-issue. Normally, when you deploy there is
>>> only one connection file. And in my app's I define the connection (as
>>> you do I think). Therefore, even if there are several connections files
>>> in the search path my apps work. But I also see very little harm in
>>> having a flag. Of course someone has to take the time to add it in the
>>> code.
>> May i ask how do you define your connection in your apps?
>>
>> Uwe
>
> self.Application.addConnectFile("pes.cnxml")
I already know that this doesn't do anything usefull?
If a user of your app decides to create another "xxx.cnxml" with the
same connection name ("PesConn") to your app directory, Dabo will
overwrite your definition.
> # This call will actually create the connection if it hasn't already
> # been made. If it has, it returns the existing connection, so that
> # multiple connections aren't used up.
> self.conn = self.Application.getConnectionByName("PesConn")
> self.super() # allowing dabo to set the connection
Uwe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]