Hi
I am looking for a way to pass parameters to a table decorator method from JSP.
In Controller method:
Setting 2 model attributes( object: Account and other is list of objects :List<Account>) and passing them to JSP view.
In JSP, display tag library to render table out of list of objects.
In one column of the table, i am using object's variable (as model attribute) for a condition (if-else).
Based on condition column value is rendered in row.
I want to create a DECORATOR with a method where i can pass this variable(model attributes objects variable) as a parameter.
Is there any way to do it?
Thanks.
I am looking for a way to pass parameters to a table decorator method from JSP.
In Controller method:
Setting 2 model attributes( object: Account and other is list of objects :List<Account>) and passing them to JSP view.
In JSP, display tag library to render table out of list of objects.
In one column of the table, i am using object's variable (as model attribute) for a condition (if-else).
Based on condition column value is rendered in row.
I want to create a DECORATOR with a method where i can pass this variable(model attributes objects variable) as a parameter.
Is there any way to do it?
Thanks.