You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org> on 2005/04/20 00:29:24 UTC
[jira] Created: (MYFACES-199) Calendar unnecessarily requests image resources during parsing
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
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
[jira] Closed: (MYFACES-199) Calendar unnecessarily requests image resources during parsing
Posted by "Sylvain Vieujot (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-199?page=all ]
Sylvain Vieujot closed MYFACES-199:
-----------------------------------
Resolution: Fixed
Fix Version: Nightly Build
Fixed.
Thanks for the patch.
Sylvain.
> 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
> Fix For: Nightly Build
> 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
[jira] Updated: (MYFACES-199) Calendar unnecessarily requests image resources during parsing
Posted by "Kalle Korhonen (JIRA)" <my...@incubator.apache.org>.
[ 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