Use the altKey attribute (rather than alt) - its exactly what you're looking
for.

<html:img align="absmiddle" altKey="Empleados.imagen.nuevo" border="0"
height="24" src="../images/Nuevo.png" width="24" />

http://struts.apache.org/userGuide/struts-html.html#img

Also if you wanted to have different images for different locales you could
use either pageKey or srcKey

Niall

----- Original Message ----- 
From: "Rafael Taboada" <[EMAIL PROTECTED]>
Sent: Thursday, April 14, 2005 7:40 AM


Hi folks, i have a problem, please could u help me?

I'm using taglibs and when i'm using html:img i have to use ALT
attribute. But it has to call a key from myfile.properties.

<bean:define id="imagenNuevo">
    <bean:message key="Empleados.imagen.nuevo" />
</bean:define>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to