<converter> and DateTimeConverter are features of JSF, so perhaps this isn't the best place to ask about them.
But if I wanted to do this without JSF, I can think of a couple of ways: 1. Add a property to your bean, ${diagnose.diagnoseDatumAsString}, to return the date as a String (using DateFormat). 2. Define a custom JSP tag to format dates, e.g. <mytags:date date="${diagnose.diagnoseDatum}"/> -- Len On 9/3/07, Trumml <[EMAIL PROTECTED]> wrote: > > I'd like to use the DateTimeConverter inside the following tr tag (for the > bean property diagnoseDatum): > <tr onmouseover="Tip('Erfasst am: ${diagnose.diagnoseDatum}')"> > > How can I achieve this? I've registered my own converter but it is only > applied if I use a jsf tag (e.g. h:outputText...) > <converter> > <converter-for-class>java.util.Date</converter-for-class> > <converter-class> > at.co.systema.web.utils.jsf.component.CustomDateTimeConverter > </converter-class> > </converter> > > -- > View this message in context: > http://www.nabble.com/Use-converter-for-bean-property-inside-normal-html-tag-tf4372376.html#a12462250 > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]