myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Dubois (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1751) Add META-tags to <head>-tag
Date Fri, 30 Jun 2017 10:43:00 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069883#comment-16069883
] 

Guido Dubois commented on TOBAGO-1751:
--------------------------------------

Fine! But the tags are rendered twice.

<html lang='de'>
  <head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
>>>    <meta name='ooo' content='123'>
    <link rel='stylesheet' href='...
    <link rel='stylesheet' href='...
    <link rel='stylesheet' href='...
    <link rel='stylesheet' href='...
>>>    <meta name='ooo' content='123'>
    <script src='&#x2F;prodis4&#x2F;tobago&#x2F;standard&#x2F;jquery&#x2F;jquery-2.2.4.js'
type='text/javascript'>
...


And it would be nice to have an attribute "file". The content of the file has to be inserted
in <head> as it is.

Example:
===
  <link rel="apple-touch-icon-precomposed" sizes="57x57" href="#{resource['images:apple-touch-icon-57x57.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="#{resource['images:apple-touch-icon-114x114.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="#{resource['images:apple-touch-icon-72x72.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="#{resource['images:apple-touch-icon-144x144.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="60x60" href="#{resource['images:apple-touch-icon-60x60.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="120x120" href="#{resource['images:apple-touch-icon-120x120.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="76x76" href="#{resource['images:apple-touch-icon-76x76.png']}"
/>
  <link rel="apple-touch-icon-precomposed" sizes="152x152" href="#{resource['images:apple-touch-icon-152x152.png']}"
/>
  <link rel="shortcut icon" type="image/png" href="#{resource['images:favicon-196x196.png']}"
sizes="196x196" />
  <link rel="shortcut icon" type="image/png" href="#{resource['images:favicon-96x96.png']}"
sizes="96x96" />
  <link rel="shortcut icon" type="image/png" href="#{resource['images:favicon-32x32.png']}"
sizes="32x32" />
  <link rel="shortcut icon" type="image/png" href="#{resource['images:favicon-16x16.png']}"
sizes="16x16" />
  <link rel="shortcut icon" type="image/png" href="#{resource['images:favicon-128.png']}"
sizes="128x128" />
  <meta name="application-name" content="#{bundle['portal']}"/>
  <meta name="msapplication-TileColor" content="#FFFFFF" />
  <meta name="msapplication-TileImage" content="#{resource['images:mstile-144x144.png']}"
/>
  <meta name="msapplication-square70x70logo" content="#{resource['images:mstile-70x70.png']}"
/>
  <meta name="msapplication-square150x150logo" content="#{resource['images:mstile-150x150.png']}"
/>
  <meta name="msapplication-wide310x150logo" content="#{resource['images:mstile-310x150.png']}"
/>
  <meta name="msapplication-square310x310logo" content="#{resource['images:mstile-310x310.png']}"
/>
===



> Add META-tags to <head>-tag
> ---------------------------
>
>                 Key: TOBAGO-1751
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1751
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Guido Dubois
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> Is there a simple way to include META-tags to the <head> section of a <tc:page>?
> It would be nice to have a tag according to <tc:style file=""> or <tc:script
file=""> for this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message