Re: looking at roller upgrade again

Greg Huber <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <[email protected]>
> 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

>calculate ID based on action
>AND method at the same time, is that correct?

yes, other tags must be doing this already?

On 19/04/2023 08:25, Lukasz Lenart wrote:
> śr., 19 kwi 2023 o 09:19 Greg Huber <[email protected]> napisał(a):
>> clickById("entry_%{#mainAction}!publish")
>>
>> This patch fixes the format by calculating the action first:
>>
>> https://github.com/apache/struts/commit/d7cf72c92eb84437eb9794b56c2525b389cf7900
> This is really a hack to satisfy Roller requirements, but looks like
> this clearly explains the expectations: calculate ID based on action
> AND method at the same time, is that correct?
>
>
> Regards
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.