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 217652 - Bean Validation constrain creation hint
Summary: Bean Validation constrain creation hint
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 00:18 UTC by arungupta
Modified: 2013-07-24 08:08 UTC (History)
0 users

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 arungupta 2012-08-31 00:18:27 UTC
For a code fragment shown below in a JAX-RS resource:

@POST
    @Consumes("application/x-www-form-urlencoded")
    public void placeOrder(
            @FormParam("productName")String productName, 
            @FormParam("quantity")int quantity, 
            @Customer @FormParam("custid")String customer) {
    }

NetBeans should show a hint stating that "@Customer is a missing Bean Validation constraint. Create it ?" or something on those lines.