Re: component name problem
Gerald Bauer <[email protected]> Tue, 10 Feb 2004 02:05:53 -0800 (PST)
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Gabor, > First of all luxor is amazing. Thanks for your kind words. > But I've got a problem. There is a frame > which I created completely from a xul file. Later > (when an event occurs) I > need all the input component ids/names and values > from this frame. (I'm > searching for them recursively) But I noticed there > are components without > name. (getName() returns null) Why? Could you help? > (right name from ID attribute with component > JTextFieldEx from tag > <textbox>, but null with component XPasswordField > from tag <password>) Using getName() for lookup was first introduced as an experimental practice and it's now recommended as a best practice. If getName() returns null than that's a critical bug and the Luxor code needs to get fixed. I'd hoped a Luxor user/developer would care enough to send in a patch to fix/add the missing code. So far it looks like everyone expects me to clean-up/fix the code. However, I'm quite stretched and thus everything takes way longer than planed (e.g. I'm currently working on upgrading the build system to Maven before getting back to coding). So if you feel courageous enough you're more than welcome to add the missing code and fix the outstanding getName() bugs. If you have a sourceforge id and are interested in helping out, just let me know and I will add you to the Luxor CVS committer list. - Gerald ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn