Re: looking at roller upgrade again

Lukasz Lenart <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkP9G=ge2Ota43w0SaAJUT8q743MwDKxkvpjd2Gd8Xbx5g@mail.gmail.com>
śr., 19 kwi 2023 o 09:37 Greg Huber <[email protected]> napisał(a):
>
> > hack to satisfy Roller requirements
>
> Well I don't think its a hack, to have the variable name as part of the
> id does not seem correct to me
>
> eg
> <form id="entry">
>      <s:set var="tmp">entryEdit</s:set>
>      <s:submit action="%{#tmp}!saveDraft"/>
> </form>
>
> ie the name would be :
>
> entry___tmp__saveDraft
>
> vs
>
> entry_entryEdit_saveDraft

but this is what my PR is doing right now, so I assume it is ok?


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.