bike part reward : setting bean ID property automatically

Tom Zeller tzeller at dragonacea.biz
Thu Feb 6 20:33:28 EST 2014


I'll offer bike parts from my bike part bin if someone can figure out
how we can set an IdentifiableComponent's ID via Spring without
setting the 'id' property in addition to the 'id' attribute.

In other words, this

 <bean id="ID" class="..." />

instead of

 <bean id="ID" p:id="ID" class="..." />

By default in AbstractProfileAction the ID is set to the class name,
which I think is confusing when compared to the bean definition.


More information about the dev mailing list