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 239411 - Default HTML template is not mobile-friendly
Summary: Default HTML template is not mobile-friendly
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 12:37 UTC by Martin Janicek
Modified: 2016-07-07 08:56 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 Martin Janicek 2013-12-12 12:37:23 UTC
Same as issue 227816 only for Maven Java EE projects.
Comment 1 Martin Janicek 2013-12-17 15:40:09 UTC
Petre just to be sure, what exactly do we want as content of meta tag in index.html? The same as the default for Ant based projects, right?

Which means current:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

..should be changed to:

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">

Am I right?
Comment 2 Petr Jiricka 2013-12-17 15:59:03 UTC
Yes it should be consistent with Ant, though note that Ant projects currently use this code:

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

That said, I am not sure if that's 100% correct code, so it would be useful to research this a bit more still.
Comment 3 Martin Balin 2016-07-07 08:56:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss