For GeneralizedFieldHandler this information seams to be available
internally but is not accessible from outside at the moment. If you like
to take a look at it yourself, start at:
AbstractFieldHandler.getFieldDescriptor()
Ralf
sweex schrieb:
Hi,
another question:
can I access from a FieldHandler the name or something about the field who
has called it? I want to know it because I want to make a FieldHandler that
has a different behaviour according to the field "caller".
Otherwise if I have an java attribute where there is the name of a person,
for example, and I want to separate it in three fields in the XML, do I have
to make 3 FieldHandlers? or is there another way?
The way I use is:
<field name="part1" handler="Part1FieldHandler">
...
</field>
<field name="part2" handler="Part2FieldHandler">
...
</field>
<field name="part3" handler="Part3FieldHandler">
...
</field>
Each handler returns the part of the name I want. I'm sure there is a better
way to do the same...
Thanks for your patience.
Regards
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email