[ https://issues.apache.org/struts/browse/WW-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Mawata updated WW-3072: ----------------------------- Attachment: ShowConfigAction.java.patch Patch for the ShowConfigAction of Config-Browser Plug-in > Config-browser plugin (2.1.6) properties tab gives the same incorrect list of properties for all actions > -------------------------------------------------------------------------------------------------------- > > Key: WW-3072 > URL: https://issues.apache.org/struts/browse/WW-3072 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.1.6 > Reporter: Chris Mawata > Priority: Minor > Attachments: ShowConfigAction.java.patch > > > The config broswer in 2.1.6 consistently gives the wrong properties of the action in the properties tab. They are actuall the properties of the corresponging class object > The following is a small demo. Screen shots and patch are attached > input jsp: \WEB-INF\content\index.jsp > <%@ taglib prefix="s" uri="/struts-tags"%> > > > Hello World > > >

> Enter Your Name >

>
> > > > >
> > > ============== > action class -- configuration is by Convention Plug-in > package actions.all; > public class SayHelloAction{ > private static final long serialVersionUID = 1L; > private String userName; > public String execute() throws Exception { > return "success"; > } > public String getUserName() { > return userName; > } > public void setUserName(String userName) { > this.userName = userName; > } > } > ================ > Output Jsp (with link to config-browser > <%@ taglib prefix="s" uri="/struts-tags"%> > > > Hello Success > > > Hello >
> > Config-Browser > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.