Forums Register Login

How to pass parameters to decorator method in TableDecorator wrapper.

+Pie Number of slices to send: Send
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.
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1270 times.
Similar Threads
Display tag in JSP.
Getting List of Attributes Used By a JSP
Add Row with AbstractTableModel
Help with this currency program
What event handler to use?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:26:50.