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 94547 - RFE: Add setRequiredMessage support in the property sheets
Summary: RFE: Add setRequiredMessage support in the property sheets
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker with 1 vote (vote)
Assignee: Gregory Murphy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 23:01 UTC by bugbridge
Modified: 2007-02-05 23:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 23:01:55 UTC
Original status: 1-Dispatched; Suggested Status: NEW


Original submitter: lfitzgerald

Description:
Background:
http://blogs.sun.com/divas/entry/customizing_a_standard_validator_message
----
JavaServer Faces 1.2 offers a new alternative. The above method customizes the
message for the whole web application. But what if you want a specific message
for a specific field? With 1.2, you can add the following code to your Java
source to set the required message for just this text field component:

textField1.setRequiredMessage("You must enter your favorite flavor.");
----

Users constantly try to override the validation messages returned from
components.  JSF 1.2 has provided an api for doing this.  It would be really
great if our property sheets exposed this api and set the values for the user in
the jsp.