You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jonathan Herr (JIRA)" <de...@myfaces.apache.org> on 2008/03/07 17:17:48 UTC

[jira] Created: (TRINIDAD-997) tag with no attributes is not rendered when using Trinidad

<span> tag with no attributes is not rendered when using Trinidad
-----------------------------------------------------------------

                 Key: TRINIDAD-997
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-997
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components, Facelets, Skinning
    Affects Versions: 1.0.6-core
            Reporter: Jonathan Herr
            Priority: Critical


We recently integrated Trinidad into our application to evaluate it.  Immediately we noticed that most pages would not render correctly.  We discovered the problem was that if a <span> tag had no attributes (id, class, etc.), it would not be rendered.  For example:

<span>
    <label>Example</label>
    <input type="text" value="exampleInput"></input>
</span>

Renders as:

    <label>Example</label>
    <input type="text" value="exampleInput"></input>

In most applications this would not matter since by default the <span> tag has no style, but we overrode the CSS of the <span> tag to have very unique styles:

form fieldset span { position: relative; display: block; width: 100%; margin-bottom: 6px; overflow: hidden; }

If the <span> tag was removed, we lost these styles and the page would be very distorted.

Our only workaround right now is to update the hundreds of <span> tags throughout our application and give them a class attribute so they will render.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-997) tag with no attributes is not rendered when using Trinidad

Posted by "Piotr Steininger (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584777#action_12584777 ] 

Piotr Steininger commented on TRINIDAD-997:
-------------------------------------------

This is definitely a good example of flexibility Trinidad would greatly benefit from +1

> <span> tag with no attributes is not rendered when using Trinidad
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-997
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-997
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components, Facelets, Skinning
>    Affects Versions: 1.0.6-core
>            Reporter: Jonathan Herr
>            Priority: Critical
>         Attachments: elementOptimization.patch
>
>
> We recently integrated Trinidad into our application to evaluate it.  Immediately we noticed that most pages would not render correctly.  We discovered the problem was that if a <span> tag had no attributes (id, class, etc.), it would not be rendered.  For example:
> <span>
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> </span>
> Renders as:
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> In most applications this would not matter since by default the <span> tag has no style, but we overrode the CSS of the <span> tag to have very unique styles:
> form fieldset span { position: relative; display: block; width: 100%; margin-bottom: 6px; overflow: hidden; }
> If the <span> tag was removed, we lost these styles and the page would be very distorted.
> Our only workaround right now is to update the hundreds of <span> tags throughout our application and give them a class attribute so they will render.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-997) tag with no attributes is not rendered when using Trinidad

Posted by "Jonathan Herr (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578012#action_12578012 ] 

Jonathan Herr commented on TRINIDAD-997:
----------------------------------------

Here is a Nabble forum that is discussing this issue:

http://www.nabble.com/-Trinidad--%3Cspan%3E-tag-with-no-attributes-is-not-rendered-when-using-Trinidad-ts15900038.html

> <span> tag with no attributes is not rendered when using Trinidad
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-997
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-997
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components, Facelets, Skinning
>    Affects Versions: 1.0.6-core
>            Reporter: Jonathan Herr
>            Priority: Critical
>
> We recently integrated Trinidad into our application to evaluate it.  Immediately we noticed that most pages would not render correctly.  We discovered the problem was that if a <span> tag had no attributes (id, class, etc.), it would not be rendered.  For example:
> <span>
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> </span>
> Renders as:
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> In most applications this would not matter since by default the <span> tag has no style, but we overrode the CSS of the <span> tag to have very unique styles:
> form fieldset span { position: relative; display: block; width: 100%; margin-bottom: 6px; overflow: hidden; }
> If the <span> tag was removed, we lost these styles and the page would be very distorted.
> Our only workaround right now is to update the hundreds of <span> tags throughout our application and give them a class attribute so they will render.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-997) tag with no attributes is not rendered when using Trinidad

Posted by "Jonathan Herr (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Herr updated TRINIDAD-997:
-----------------------------------

    Status: Patch Available  (was: Open)

> <span> tag with no attributes is not rendered when using Trinidad
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-997
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-997
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components, Facelets, Skinning
>    Affects Versions: 1.0.6-core
>            Reporter: Jonathan Herr
>            Priority: Critical
>         Attachments: elementOptimization.patch
>
>
> We recently integrated Trinidad into our application to evaluate it.  Immediately we noticed that most pages would not render correctly.  We discovered the problem was that if a <span> tag had no attributes (id, class, etc.), it would not be rendered.  For example:
> <span>
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> </span>
> Renders as:
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> In most applications this would not matter since by default the <span> tag has no style, but we overrode the CSS of the <span> tag to have very unique styles:
> form fieldset span { position: relative; display: block; width: 100%; margin-bottom: 6px; overflow: hidden; }
> If the <span> tag was removed, we lost these styles and the page would be very distorted.
> Our only workaround right now is to update the hundreds of <span> tags throughout our application and give them a class attribute so they will render.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-997) tag with no attributes is not rendered when using Trinidad

Posted by "Jonathan Herr (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Herr updated TRINIDAD-997:
-----------------------------------

    Status: Open  (was: Patch Available)

> <span> tag with no attributes is not rendered when using Trinidad
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-997
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-997
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components, Facelets, Skinning
>    Affects Versions: 1.0.6-core
>            Reporter: Jonathan Herr
>            Priority: Critical
>
> We recently integrated Trinidad into our application to evaluate it.  Immediately we noticed that most pages would not render correctly.  We discovered the problem was that if a <span> tag had no attributes (id, class, etc.), it would not be rendered.  For example:
> <span>
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> </span>
> Renders as:
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> In most applications this would not matter since by default the <span> tag has no style, but we overrode the CSS of the <span> tag to have very unique styles:
> form fieldset span { position: relative; display: block; width: 100%; margin-bottom: 6px; overflow: hidden; }
> If the <span> tag was removed, we lost these styles and the page would be very distorted.
> Our only workaround right now is to update the hundreds of <span> tags throughout our application and give them a class attribute so they will render.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-997) tag with no attributes is not rendered when using Trinidad

Posted by "Jonathan Herr (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Herr updated TRINIDAD-997:
-----------------------------------

    Status: Patch Available  (was: Open)

> <span> tag with no attributes is not rendered when using Trinidad
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-997
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-997
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components, Facelets, Skinning
>    Affects Versions: 1.0.6-core
>            Reporter: Jonathan Herr
>            Priority: Critical
>
> We recently integrated Trinidad into our application to evaluate it.  Immediately we noticed that most pages would not render correctly.  We discovered the problem was that if a <span> tag had no attributes (id, class, etc.), it would not be rendered.  For example:
> <span>
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> </span>
> Renders as:
>     <label>Example</label>
>     <input type="text" value="exampleInput"></input>
> In most applications this would not matter since by default the <span> tag has no style, but we overrode the CSS of the <span> tag to have very unique styles:
> form fieldset span { position: relative; display: block; width: 100%; margin-bottom: 6px; overflow: hidden; }
> If the <span> tag was removed, we lost these styles and the page would be very distorted.
> Our only workaround right now is to update the hundreds of <span> tags throughout our application and give them a class attribute so they will render.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.