Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0
-
None
-
None
-
(not relevant)
Description
I just spent one full day to figure out why my configuration points always ended up empty: the reason is I missed the red box telling me i had to include the
<invoke-parent method="addElement"/>
rule.
(After smashing my head with a huge hammer for I once again I underestimated the importance of reading documentation) I realized the red box isn't actually very visible in docs and I overlooked it because, having a bit of familiarity with digester, I quit reading after the first few paragraphs.
–
Documentation enhanchement request:
(Since I know I am stupid, but I also think other people are just like me) Could you move the box to the very top of the file?
–
Framework enhanchement request (maybe already ok in 1.1 - sorry: didn't check):
Since this <invoke-parent method="addElement"/> is SO important, why not adding a new type of rule, say: <add-element/>? After all I (as a HM user) really don't want to know the name of the method called...
Also, couldn't the rule <set-parent .../> be sort of dangerous if called like in:
<create-object .../>
<set-parent .../>
?
I would end up having a reference to whatever HM puts at the bottom of the stack in an object of mine...
Thank you in advance - and thank you for this beautiful hivemind thing!
Rgds,
Giorgio