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 20:49:21 UTC

[jira] Closed: (MYFACES-58) Multiple call to property method bind

     [ http://issues.apache.org/jira/browse/MYFACES-58?page=all ]
     
Martin Marinschek closed MYFACES-58:
------------------------------------

    Fix Version: Nightly Build
     Resolution: Won't Fix
      Assign To: Martin Marinschek

This is a thing specific to t he render attribute - and it is supposed to be as such, I would say.

It won't be possible to cache these calls, and therefor you shouldn't do any expensive handling in the render-attribute

regards,

Martin


> Multiple call to property method bind
> -------------------------------------
>
>          Key: MYFACES-58
>          URL: http://issues.apache.org/jira/browse/MYFACES-58
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.7 beta
>  Environment: JBoss 4, Tomcat 5, JDK 1.5, Win XP
>     Reporter: Darlan Oliveira
>     Assignee: Martin Marinschek
>      Fix For: Nightly Build
>  Attachments: example.zip
>
> When the JSF is called the property bind to method in bean are called two or three times before show in Internet browser. e.g: rendered=#{bean.renderedMethod}.
> Console:
> 16:09:46,885 INFO  [EARDeployer] Started J2EE application: file:/C:/iwpPlatform/JBoss/server/default/deploy/solution.ear
> 16:10:04,228 INFO  [HtmlRenderKitImpl] No content type list given, creating HtmlResponseWriterImpl with default content type.
> 16:10:04,228 INFO  [HtmlResponseWriterImpl] No content type given, using default content type text/html
> 16:10:04,463 INFO  [STDOUT] ==> getRenderedMethod: true
> 16:10:04,463 INFO  [STDOUT] ==> getRenderedMethod: true
> 16:10:04,463 INFO  [STDOUT] ==> getRenderedMethod: true

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