You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by txhdeve <te...@magic-sw.com.cn> on 2008/02/27 10:21:45 UTC

Why call the getXXX method 3 times

I have a simple project.The home.html has a component "name" and get the
value from getName,but i found when the page is displayed,the getName is
called 3 times,why ?
-- 
View this message in context: http://www.nabble.com/Why-call-the-getXXX-method--3-times-tp15709284p15709284.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Why call the getXXX method 3 times

Posted by Andreas Andreou <an...@gmail.com>.
That's a known ognl related issue - it happens the first time that a
page instance is created

filed as https://issues.apache.org/jira/browse/TAPESTRY-2140

On Wed, Feb 27, 2008 at 8:05 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
> http://www.catb.org/~esr/faqs/smart-questions.html
>
>
>
>  On Wed, Feb 27, 2008 at 1:21 AM, txhdeve <te...@magic-sw.com.cn> wrote:
>  >
>  >  I have a simple project.The home.html has a component "name" and get the
>  >  value from getName,but i found when the page is displayed,the getName is
>  >  called 3 times,why ?
>  >  --
>  >  View this message in context: http://www.nabble.com/Why-call-the-getXXX-method--3-times-tp15709284p15709284.html
>  >  Sent from the Tapestry - User mailing list archive at Nabble.com.
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>  >  For additional commands, e-mail: users-help@tapestry.apache.org
>  >
>  >
>
>
>
>  --
>  Howard M. Lewis Ship
>
>  Creator Apache Tapestry and Apache HiveMind
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>  For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Why call the getXXX method 3 times

Posted by Howard Lewis Ship <hl...@gmail.com>.
http://www.catb.org/~esr/faqs/smart-questions.html

On Wed, Feb 27, 2008 at 1:21 AM, txhdeve <te...@magic-sw.com.cn> wrote:
>
>  I have a simple project.The home.html has a component "name" and get the
>  value from getName,but i found when the page is displayed,the getName is
>  called 3 times,why ?
>  --
>  View this message in context: http://www.nabble.com/Why-call-the-getXXX-method--3-times-tp15709284p15709284.html
>  Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>  For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org