This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87795 - Properties file not deployed when following tutorial.
Summary: Properties file not deployed when following tutorial.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kenneth Ganfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 16:38 UTC by wholladay
Modified: 2007-07-23 11:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wholladay 2006-10-23 16:38:30 UTC
I am following the tutorial "Validating and Converting User Input With the JSF
Framework." In the section "Changing the Default Error Messages" the user is
instructed to create a new propterties file called MyMessages. This properties
file is used to override the default error message. However, when the app is
deployed and run, it appears that the properties file does not get deployed, and
the following exception occurs:

"java.util.MissingResourceException: Can't find bundle for base name
astrologer.ui.MyMessages, locale en"

Either the tutorial needs to be updated, or there is a bug.
Comment 1 Sherold Dev 2006-12-11 11:52:32 UTC
Reassigning to Ken
Comment 2 Kenneth Ganfield 2006-12-11 12:44:28 UTC
The tutorial was updated with the correct path to find the properties file.
So there should be no error message, but there are still problems with the
validation so i will leave this issue open until the validation problems are
resolved.

Currently, when completing the tutorial, the validation checks for empty
birthday field, but is not correctly parsing the field to check if it is a
number, in the past, etc. 

Also, the tutorial currently shows the final validation without the email field,
which means the person should modify the jsp page to comment out that form
filed. This is not ideal and they should not have to do this.

Marking the issue as started.
Comment 3 Kenneth Ganfield 2007-07-23 11:38:26 UTC
the tutorial was updated and now correctly validates the date and email.
closing issue