Skip to content

repeatTableRow does not replace expressions #62

@NNowakowski

Description

@NNowakowski

I've got a problem using repeatTableRow in my document.
Here's what I setup:
image

While my object looks like this:
image

The dto in the list is build like this:
image

However when I generate the document, I do get the following errors on the console:
Reason: EL1008E: Property or field 'baureihe' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Reason: EL1008E: Property or field 'menge' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Reason: EL1008E: Property or field 'budget' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Reason: EL1008E: Property or field 'gesamtBudget' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Seemingly the library tries to resolve baureihe, menge, budget and gesamtBudget on the main object, not on the dto I passed in as a list.

Did I miss some configuration or what else could be the issue?

Edit:
From the TRACE output it looks like the comment is processed once everything else has been filled with values. Could that be the cause?
Expression ${gesamtBudget} could not be resolved against context root of type class FileExportAuditorDto. Reason: EL1008E: Property or field 'gesamtBudget' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Comment 'repeatTableRow(baureiheBudgetMengeList)' has been successfully processed by a comment processor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions