Hello
I have an issue. I'm using avalon 1.0.5 and my source is this:
The ask is: why pu:menu loads 4 times every refresh?
ing menu.xhtml call menu.model
CODE: SELECT ALL
<pu:menu widgetVar="me" model="#{aplMenulBean.model}" />
in menuController the method getModel is:
CODE: SELECT ALL
public MenuModel getModel() {
String pasos = String.format("\n\ncom.aldiasoft.avalon.bean.AplMenulBean.getModel() modelo cargado %s", String.valueOf(contador++));
System.out.println(pasos);
return model;
}
And it works... but 4 times every do I change xhtml
my standar output is:
CODE: SELECT ALL
MonitorFilter::WARNING: the monitor filter must be the first filter in the chain.
com.aldiasoft.avalon.bean.AplMenulBean.getModel() modelo cargado 4
com.aldiasoft.avalon.bean.AplMenulBean.getModel() modelo cargado 5
com.aldiasoft.avalon.bean.AplMenulBean.getModel() modelo cargado 6
com.aldiasoft.avalon.bean.AplMenulBean.getModel() modelo cargado 7
MonitorFilter::WARNING: the monitor filter must be the first filter in the chain.
Bug in pu:menu, it takes 4 times to load model.
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Similar issue; viewtopic.php?f=42&t=63149
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests