You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/04/20 17:55:01 UTC
strange behavious when setting null="false" for message-resources
Subject: strange behavious when setting null="false" for message-resources
From: Torgeir Veimo <to...@vertech.no>
===
When I specify a message resources like this in my struts config;
<message-resources parameter="PublishingApplicationResources"
null="false" />
I get automatically title and alt attributes set for my html input
types, even when I didn't ask for it;
Eg.
<html:text size="50" name="mediaForm" property="altText" />
<html:file name="mediaForm" property="mediaFile" />
<html:submit property="save"><bean:message
key="media.edit.save"/></html:submit>
<html:submit property="cancel"><bean:message
key="media.edit.cancel"/></html:submit>
gets translated into
<input type="text" name="altText" size="50" value=""
title="???en_US.null???" alt="???en_US.null???">
<input type="file" name="mediaFile" value="" title="???en_US.null???"
alt="???en_US.null???">
<input type="submit" name="save" value="Save" title="???en_US.null???"
alt="???en_US.null???">
<input type="submit" name="cancel" value="Cancel"
title="???en_US.null???" alt="???en_US.null???">
Is this correct? I get very annoying tool tips when hovering over these
fields in mozilla with the title and alt attributes set.
--
-Torgeir
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>