Message Bundles for Form Beans no longer seem to work
-----------------------------------------------------
Key: BEEHIVE-631
URL: http://issues.apache.org/jira/browse/BEEHIVE-631
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1
Reporter: Alejandro Ramirez
Assigned to: Carlin Rogers
Fix For: V1
Attachments: FormBeanMessageBundle.zip
Message Bundles declared within a form bean no longer seem to work.
1.- Unzip the attached pageflow into a beehive enabled webapp and access it
(e.g.
http://localhost:<yourport>/<yourContext>/validationTests/beanRules/BeanRulesController.jpf
)
2.- In the page that is displayed, click the "Click" button without entering
any data.
Expected: There should be a message (obtained from a message bundle) that the
required rule is required.
Actual: There is an exception:
Error Number Tag Type Error
1 Errors Message An error occurred accessing the message bundle. This
may be because there is no default message bundle defined for the current page
flow
I have made sure to include the declared bundle "beanScope" in WEB-INF/src and
also verified that after compilation of my webapp it is under WEB-INF/classes
dir:
@Jpf.Controller()
public class BeanRulesController extends PageFlowController
{
...
@Jpf.FormBean(messageBundle = "beanScope")
public static class InnerBean extends FormData
{
...
}
}
--
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