]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 11 Oct 2017 20:53:54 +0000 (22:53 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 11 Oct 2017 20:53:54 +0000 (22:53 +0200)
- used fn:length(someList) instead of someLength.size()

Signed-off-by: Roland Häder <roland@mxchange.org>
web/user/financials/login_financials_overview.xhtml

index d7efce4cd092406b84486a5e0fafabda983c35a0..2b85206a94af3caea7460bb4f0c64d45fd9719dd 100644 (file)
                                <h:column>
                                        <p:outputLabel for="totalReceipts" styleClass="data_label" value="#{project.USER_FINANCIALS_TOTAL_RECEIPTS}" />
 
-                                       <h:outputLink id="totalReceipts" styleClass="data_field" target="list_user_financial_receipts" value="#{financialIncomeController.receipts.size()}" />
+                                       <h:outputLink id="totalReceipts" styleClass="data_field" target="list_user_financial_receipts" value="#{fn:length(financialIncomeController.receipts)}" />
                                </h:column>
 
                                <h:column>
                                        <p:outputLabel for="totalReceipts" styleClass="data_label" value="#{project.USER_FINANCIALS_TOTAL_OTHER_EXPENSES}" />
 
-                                       <h:outputLink id="totalReceipts" styleClass="data_field" target="list_user_financial_other_expenses" value="#{financialIncomeController.otherExpenses.size()}" />
+                                       <h:outputLink id="totalReceipts" styleClass="data_field" target="list_user_financial_other_expenses" value="#{fn:length(financialIncomeController.otherExpenses)}" />
                                </h:column>
 
                                <h:column>
                                        <p:outputLabel for="totalReceipts" styleClass="data_label" value="#{project.USER_FINANCIALS_TOTAL_INCOME}" />
 
-                                       <h:outputLink id="totalReceipts" styleClass="data_field" target="list_user_financial_income" value="#{financialIncomeController.income.size()}" />
+                                       <h:outputLink id="totalReceipts" styleClass="data_field" target="list_user_financial_income" value="#{fn:length(financialIncomeController.incomes)}" />
                                </h:column>
                        </p:panelGrid>
                </h:panelGroup>