Re: looking at roller upgrade again

Greg Huber <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <[email protected]>
Testing the branch it is still the same?

<s:set var="mainAction">myConfig</s:set>
<s:submit value="%{getText('button.save')}" action="%{#mainAction}!save"  />

<input name="action:myConfig!save" type="submit" value="Save" 
id="myConfig____mainAction__save" >

What we want is:

<input name="action:myConfig!save" type="submit" value="Save" 
id="myConfig_myConfig_save" >

##############

It needs this from previous email

// determine actual action
ActionMapping mapping = new ActionMapping();
mapping.setName(findString(action));
if (method != null) {
     mapping.setMethod(findString(method));
}
mapping.setExtension("");
String tmp = actionMapper.getUriFromActionMapping(mapping);
_tmp_id = _tmp_id + escape(tmp);


On 09/04/2023 10:52, Lukasz Lenart wrote:
> PR is ready
> https://github.com/apache/struts/pull/678
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
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.