Migrating from Struts 2.13.x to 7.0.3 with custom taglib issue
楊茗閏 <[email protected]> Wed, 5 Mar 2025 16:10:30 +0800
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAAA2w94C+Z32pKQmLOdBVqwz_HwUfKmk1ivm_ecqjrSaQpMGjA@mail.gmail.com> |
Hi
I am immigrating Struts from 2.13.x to 7.0.3 for a very old project.
The project has its own taglib following the Struts style and uses
Freemarker for the template.
However, I am not able to get ${attributes} in the freemarker template.
I have not changed the structure of my taglib class and just updated
the dependency packages.
Inside my Java file I can see the addParameter adds the value to
attributes and evaluateParams() has been called,
but they are not accessible in the ftl files.
Any tips where should I start looking at my problem?
Thanks
Steven