After upgrade to OX 5.9. I notice that those tab window(section) title will postfix the record count. How can I disable this feature? Another question is that beside for better organized layout by using tab window,I originally thought it's kind of strategy of lazy loading.Only the visible tab window will fetch the data . How can I achieve this?
In web/xava/sections.jsp line 35 and line 45 change line <%=section.getLabel(request)%> <span id="<xava:id name='<%=sectionView.getViewObject() + "_collectionSize"%>'/>"><%=collectionCountLabel%></span> to <%=section.getLabel(request)%> can disable this feature.But the query is still there. It's better to have a parameter in xava.properties to enable or disable this feature.
After upgrade to OX 5.9. I notice that those tab window title will postfix the record count. How can I disable this feature? Another question is that beside for better organized layout by using tab window,I originally thought it's kind of strategy of lazy loading.Only the visible tab window will fetch the data . How can I achieve this? @View(members = "photo;id,name;salary{salarys};record{records};leave{leaves}")
Great works! Thank you very much!
I have a scenario of class Master which have multiple Details where the Detail is @Embeddable which contain an Item object which is an @Entity. The relation is as follow: Master(Entity) ---n---> Details(Embeddable) ---1-->Item(Entity) The view of details in Master is an editable grid and the only first column is an combobox of Items which I would like to filter by condition that only active=TRUE will be included in combobox. It does not work in OX 5.8.1. Any help will be appreciated! 2018/05/24 Upadate:...
I have a scenario of class Master which have multiple Details where the Detail is @Embeddable which contain an Item object which is an @Entity. The relation is as follow: Master(Entity) ---n---> Details(Embeddable) ---1-->Item(Entity) The view of details in Master is an editable grid and the only first column is an combobox of Items which I would like to filter by condition that only active=TRUE will be included in combobox. It does not work in OX 5.8.1. Any help will be appreciated! @Entity @View(members="details{details}")...
Hi! I have class as follows @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) @DiscriminatorColumn(name = "classtype", discriminatorType = DiscriminatorType.STRING, length = 32) @DiscriminatorValue("Range") public class Range<T> extends Identifiable{ T lower; T upper; } @Entity public class Seniority extends Identifiable{ int year; int month; } @Entity @DiscriminatorColumn(name = "classtype", discriminatorType = DiscriminatorType.STRING, length = 32) @DiscriminatorValue("SeniorityRange")...
Here is the definition for UrlParameters in default-controllers.xml <controller name="UrlParameters"> <action name="setSchema" before-each-request="true" hidden="true" class="org.openxava.actions.SetSchemaAction"> </action> <action name="setLocale" on-each-request="true" hidden="true" class="org.openxava.actions.SetLocaleAction"> </action> <action name="setUser" on-each-request="true" hidden="true" class="org.openxava.actions.SetUserAction"> </action> </controller> And UrlParameters referenced in...