May be it's due to different phases inside rendering cycle?

On 20/09/2007, andyhot <[EMAIL PROTECTED]> wrote:
> Indeed, the first invocation of an ognl expression is currently happening
> 3 times.
>
> I remember this is done on purpose, but i dont remember why. We'll
> eventually remove this.
>
> Gusti Benawi wrote:
> > Hello,
> >
> > If i define a method, which is not abstract and call this via ognl, then
> > somehow the whole site will be loaded several times (3-4 times). Is this
> > a known issue? how to fix this?
> >
> > below is my simple test
> >
> >
> > .html
> > <span jwcid="Browse"/>
> >
> >
> > .page
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE page-specification PUBLIC
> >     "-//Apache Software Foundation//Tapestry Specification 4.1//EN"
> >     "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_1.dtd";>
> >
> > <page-specification class="org.tub.scampi.website.blog.ShowBlogEntries">
> >    <component id="Browse" type="Insert">
> >     <binding name="value" value="amountOfPages"/>
> >   </component>
> > </page-specification>
> >
> >
> > .java
> > public int getAmountOfPages() {
> >   System.out.println("called");
> >   return 0;
> > }
> >
> >
> > As result, i get the String "called" 4 times in the console.
> > I am using tapestry-framework-4.1.3-SNAPSHOT.jar (from August i think).
> >
> > Thanks in advanced,
> >
> > Gusti
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Best regards,
Renat Zubairov

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to