Jarmo,
You may have to re-register the JFormattedTextField class after you added a
Converter,
try something like this:
ConverterLibrary.getInstance().register( JFormattedTextField.class, new
FormatConverter() );
this.taglib.registerTag( "formattedtextfield ",
javax.swing.JFormattedTextField.class );
try {
render( "MyEx.xml" ).setVisible( true );
} catch (Exception e) {()
e.printStackTrace();
}
Wolf
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 7:19 AM
To: [email protected]
Subject: Re: [Forum] New Release - New Features
Hi,
Thank's allot about the new nice features.
I am trying to implement the FormatConverter but I don't quite understand
should
I somehow register the attribute to formattedtextfield-tag?
I have registered the converter like this:
ConverterLibrary.getInstance().register( JFormattedTextField.class, new
FormatConverter() );
try {
render( "MyEx.xml" ).setVisible( true );
} catch (Exception e) {()
e.printStackTrace();
}
But the DefaultFactory's getSetter(String name) does not find the
setFormatter()
method when the xml file is rendered.
//Jarmo
_______________________________________________
Forum mailing list
[email protected]
http://mars.lunarpages.com/mailman/listinfo/forum_carlsbadcubes.com