Re: Struts 7.0 issue with Ftl
Lukasz Lenart <[email protected]> Thu, 29 May 2025 08:04:21 +0200
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAMopvkM9Fdcm5Tbffb4yr7TYgafSUdLpHgdh1zzQded=qp=L-g@mail.gmail.com> |
czw., 29 maj 2025 o 05:24 Priyanka Vaddadi <[email protected]> napisaĆ(a): > when I replace > <#if parameters.nameValue??> > value="<@s.property value="parameters.nameValue"/>"<#rt/> > </#if> with > > <#if attributes.name??> > value="<@s.property value="%{attributes.name}"/>"<#rt/> > </#if> Why do you replace "nameValue" with "name"? These are two different attributes, please read this section https://struts.apache.org/tag-developers/form-tags#valuename-relationship Cheers Lukasz