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

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

     [ 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