I am overriding the link's onVisible method to do some conditional
markup. I've realized that this method is actually being call 4 times.
When I add a simple System.out to the following code, I get the
corresponding resut:
MyPAGE.JAVA
public class MyPage extends WebPage {
public MyPage(final
Hi Henrique,
Answer can be found from javadoc
/**
* Gets whether this component and any children are visible.
* p
* *WARNING: this method can be called multiple times during a
request. If you override this*
* method, it is a good idea to keep it cheap in terms of
Oh. I feel stupid haha
Thanks.
tohtori wrote:
Hi Henrique,
Answer can be found from javadoc
/**
* Gets whether this component and any children are visible.
* p
* *WARNING: this method can be called multiple times during a
request. If you override this*
*