got it. I have it working with the indices notation. As I suspected I misunderstood what the "keys" were. Thanks

Oliver Heger wrote:

The getKeys() method returns all keys that are assigned at least one value. In your case keys like buttons.button.name or buttons.button.url appear only once in the iteration, but they have multiple values. The call config.getProperty("buttons.button.name") would indeed return a collection with all names defined for buttons.

With the syntax config.getString("buttons.button(0).name") you can directly query the name of the first button. So you can use numeric indices to specify which value you want, but those indices do not appear in the results of getKeys().

HTH
Oliver

<snip>

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



Reply via email to