Re: FW: Using NextFocusableComponent attribute

<[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Organization http://freemail.web.de/
Message-ID <[email protected]>
Hello,

I'm afraid you are out of luck there and have to code it manually.

The most likely way it could work is if you extract all your components using the id-attribute, assign them to public variables and render the xml. Unfortunatly, this cannot work because the fetching via the idMap works *after* the xml file was rendered but you need the evaluated attributes *during* the file is rendered.

Because the "setNextFocusableComponent" is marked as deprecated, the only clean way would be to have swixml set-up its own FocusTracersalPolicy and to assign fill it according to distinct attributes occuring in the xml-file.

IMHO you should consider implementing a FocusTraversalPolicy yourself (as long it is not implemented by swixml). It should be worth it and it is not *that* difficult to do...

Frank

_______________________________________________
Forum mailing list
[email protected]
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
Original_Mail.html (text/html, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.