Menu

#2 Configuring multiple values

open
nobody
Components (46)
5
2006-10-27
2006-10-27
Johan
No

The most components (for e.g. setDefaultValuesAction
and copyValuesAction) contains a way to configure
multiple keys and values. This can be done by entering
values separated by a comma.
e.g.
<SetDefaultValuesAction id="setDefaults">
<formkeys>a,b,c</formkeys>
<values>aap,noot,mies</values>
</SetDefaultValuesAction>

The problem is that you can not use a , as a value
(e.g. in setDefaultValuesAction) and you easily make
faults when configure keys and values (#keys !=
#values). For most components an configuration
exception is thrown when the configured keys not equal
is to the configured values.

I think a new component must be introduce to configure
key/value data. This component must be used everywhere
using key values combinations.
e.g.
<key_value>
<key></key>
<value></value>
</key_value>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.