<snip file="FormBeanConfig" method="inheritFormProperties">

if (prop == null) {
    // We don't have this, so let's copy it
    prop = (FormPropertyConfig)RequestUtils
                  .applicationInstance(baseFpc.getClass().getName());

    BeanUtils.copyProperties(prop, baseFpc);
    this.addFormPropertyConfig(prop);
}

</snip>

bug: key/value properties set in "baseFpc" is not copied to "prop"

sol1: add inline code here
sol2: add method to BaseConfig to inherit a parentConfig's properties and call from here/above. possible other similar cases in other configs.


will submit patch, wondering which method is more suitable. ideas?

ps: i can't understand y a new FormPropertyConfig instance is created :(. can't v just share the propConfig? it is readonly right?

riyaz


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



Reply via email to