action="%{tmp}" on other tags
Greg Huber <[email protected]>
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <[email protected]> |
The form tag
<s:set var="tmp" value="'edit!save'" />
<s:form action="%{tmp}">
does this :
<form name="edit" id="edit" action="/my/edit!save.action" method="post">
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