Frank Sch�nheit - Sun Microsystems Germany wrote:
Sadly: yes, your right, and no, there is no other way :(
Feel feel to submit an request for enhancement in IssueZilla, requesting
introduction of an efficient index retrieval. Component "database
access", owner [EMAIL PROTECTED] (that's me).

Done. Issue #49908.


Uh. If we go to extend the event attaching API for form controls, I am
not sure I would continue using the XEventAttacherManager interface
(except for legacy reasons). It has some disadvantages (such as handling
attached scripts at the parent of an object, not at the object itself,
which imposes structural limitations), so I would probably like to get
rid of it.

Also, OOo's API features at least three different concepts of assigning
scripts to certain events on certain objects, and if we're going to
renew one of them, we should simply use (and perhaps improve) one of the
other ones, if appropriate.

(Uh, The rhythmic thumping sound you hear is me banging my head against the monitor in abject frustration at Sun's inability to grasp even the simplest concepts of proper, or even useful, documentation.)

According to the current 2.0 SDK Developers Guide (680m105), section 13.8 - Scripting and Events, the XEventAttacherManager *IS* the only effective way we're supposed to use script to programmatically attach script to component events. According to section 13.9.4, directly creating and attaching Listeners creates too many problems with the scripting environment. I've no idea what your third concept is.

Are you telling me that this newly documented procedure is now outdated *legacy* code?? Then, please, what is the correct method, where is it documented, and why is the current guide in error?

(Sorry if I sound frustrated, but trying to get anything to work properly in the OOo data access arena has proven easily as bad as in MS.)

--
--------------------------------------------------------
The Snake Pit - Development   www.TheSnakePitDev.com
Curtis Clauson                [EMAIL PROTECTED]
Proprietor

"Any sufficiently over-complicated magic is indistinguishable from technology." -- Llelan D.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to