You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Balaji K (JIRA)" <my...@incubator.apache.org> on 2005/07/27 00:43:19 UTC

[jira] Created: (MYFACES-367) inputCalendar Issue - Generic name "content" is used for HTML elements. This conflicts with user' s elements

inputCalendar Issue - Generic name "content" is used for HTML elements. This conflicts with user' s elements
------------------------------------------------------------------------------------------------------------

         Key: MYFACES-367
         URL: http://issues.apache.org/jira/browse/MYFACES-367
     Project: MyFaces
        Type: Bug
 Environment: WindowsXP
    Reporter: Balaji K


Hi

I just found that the generic name "content" is used for the calendar component (popcalendar.js).

        document.getElementById("content").innerHTML = sHTML;
                ......
                ...... 

        <span id='content'></span>


This conflics with the our CSS like

        #content {
                float: left;
                width: 50%;
                padding: 1% 1% 1% 1%; 
        }


Is it possible for you, not to use generic names like, that please. I also found that in another component the HTML elements are named with the component prefix.

If you are going to change this, please inform me, so that I can update to your latest code.

Thanks

Balaji

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MYFACES-367) inputCalendar Issue - Generic name "content" is used for HTML elements. This conflicts with user' s elements

Posted by "Martin Marinschek (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-367?page=all ]
     
Martin Marinschek closed MYFACES-367:
-------------------------------------

    Resolution: Fixed
     Assign To: Martin Marinschek

Patch by Balaji K - thanks

> inputCalendar Issue - Generic name "content" is used for HTML elements. This conflicts with user' s elements
> ------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-367
>          URL: http://issues.apache.org/jira/browse/MYFACES-367
>      Project: MyFaces
>         Type: Bug
>  Environment: WindowsXP
>     Reporter: Balaji K
>     Assignee: Martin Marinschek
>  Attachments: popCalendarJs.patch
>
> Hi
> I just found that the generic name "content" is used for the calendar component (popcalendar.js).
>         document.getElementById("content").innerHTML = sHTML;
>                 ......
>                 ...... 
>         <span id='content'></span>
> This conflics with the our CSS like
>         #content {
>                 float: left;
>                 width: 50%;
>                 padding: 1% 1% 1% 1%; 
>         }
> Is it possible for you, not to use generic names like, that please. I also found that in another component the HTML elements are named with the component prefix.
> If you are going to change this, please inform me, so that I can update to your latest code.
> Thanks
> Balaji

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-367) inputCalendar Issue - Generic name "content" is used for HTML elements. This conflicts with user' s elements

Posted by "Balaji K (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-367?page=all ]

Balaji K updated MYFACES-367:
-----------------------------

    Attachment: popCalendarJs.patch

I have changed the span's id from "content" to "popupcalendar_content".

> inputCalendar Issue - Generic name "content" is used for HTML elements. This conflicts with user' s elements
> ------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-367
>          URL: http://issues.apache.org/jira/browse/MYFACES-367
>      Project: MyFaces
>         Type: Bug
>  Environment: WindowsXP
>     Reporter: Balaji K
>  Attachments: popCalendarJs.patch
>
> Hi
> I just found that the generic name "content" is used for the calendar component (popcalendar.js).
>         document.getElementById("content").innerHTML = sHTML;
>                 ......
>                 ...... 
>         <span id='content'></span>
> This conflics with the our CSS like
>         #content {
>                 float: left;
>                 width: 50%;
>                 padding: 1% 1% 1% 1%; 
>         }
> Is it possible for you, not to use generic names like, that please. I also found that in another component the HTML elements are named with the component prefix.
> If you are going to change this, please inform me, so that I can update to your latest code.
> Thanks
> Balaji

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira