Re: looking at roller upgrade again

Lukasz Lenart <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkOfLt7+iFt4Kg+4wGNAC7_4Fxe_ea8oN9KMfC1=V6m=KQ@mail.gmail.com>
pon., 10 kwi 2023 o 09:57 Greg Huber <[email protected]> napisał(a):
>
> Modified version here
>
> https://github.com/gregh3269/struts/tree/WW-5302-unevaluated-id
>
> <s:form action="myConfig">
>
>    <s:set var="mainAction">myConfig</s:set>
>    <s:submit value="%{getText('button.save')}"
> action="%{#mainAction}!save" />
>    <s:submit value="%{getText('button.save')}" action="%{#mainAction}"
> method="save" />
>
>    <input name="action:myConfig!save" type="submit" value="Save"
> id="myConfig_myConfig_save">

I missed that you do not use the "name" attribute but just "action" -
should be good now, thanks for testing this and finding the problem :)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.