[ http://issues.apache.org/jira/browse/MYFACES-199?page=all ]

Kalle Korhonen updated MYFACES-199:
-----------------------------------

    Attachment: myfaces-popcalendar.patch

Patch created against src synched to CVS on 2005-04-19. Simply commented out 
setting the src property when the image objects are created. It's safe, because 
the imagepaths are set correctly when the component is rendered. Tested it 
works whether renderAsPopup is true or false.

> Calendar unnecessarily requests image resources during parsing
> --------------------------------------------------------------
>
>          Key: MYFACES-199
>          URL: http://issues.apache.org/jira/browse/MYFACES-199
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>     Reporter: Kalle Korhonen
>     Priority: Minor
>  Attachments: myfaces-popcalendar.patch
>
> When image objects for the calendar are created in the dom, the src property 
> was also set, which causes them to be requested when the scripts is parsed. 
> However, the default path is wrong and four unnecessary requests are made. 
> The actual path is set later when the actual calendar component is rendered. 
> I'll add a patch that fixes the problem.

-- 
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

Reply via email to