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.
Additional handling of "Content Language" property required. Now it just set all text from Property Editor as is. Steps to reproduce: 1)Open Properties for some servlet 2)Press "..." button near "Content Language" property 3)Type "text/html + Enter" in property editor and press OK NOTICE, that valid value "text/html" in shown near "Content Language" property 4)Try execute servlet and notice, that browser don't started and Warning window with message "There is no browser configured for MIME type "text/html ." Think that editor shouldn't allow multyline values for this property ot at least trim \r,\n from end of string. Well reproduced with FFJ4.0 rc4, jdk 1.4.0 under Win98SE
Set target milestone to TBD
reassigne to Tim, new owner of property editors.
See http://www.netbeans.org/issues/show_bug.cgi?id=29294 Whoever provides the Content Language property can now provide the hint "oneline" to the propertyeditor - return Boolean.TRUE from ContentLanguageProperty.getValue ("oneline") - and the string editor will use a JTextField, and the user cannot enter newlines. I don't know who provides this property, but since the example is from a Servlet, I'm reassigning to Web module.
http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/webdata/WebDataFactory.java.diff?r1=1.5&r2=1.6