Invalid warning about missing displayName when 'displayNameKey' is used
-----------------------------------------------------------------------
Key: BEEHIVE-556
URL: http://issues.apache.org/jira/browse/BEEHIVE-556
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1Beta, V1
Reporter: Rich Feit
Assigned to: Rich Feit
Priority: Minor
Fix For: V1
Repro: add the following field getter to an inner form bean class, and compile
the page flow that contains it.
@Jpf.ValidatableProperty(
displayNameKey="myDisplayNames.fieldX",
[EMAIL PROTECTED]()
)
public String getX()
{
...
}
Expected: no warnings or errors
Actual: a warning that says, "This rule uses the default message and does not
provide a first argument, and the parent ValidatableProperty annotation does
not specify a display name. A default display name will be used."
(The warning is incorrect -- the display name is obtained through
'displayNameKey'.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira