Hello,
I'm currently experiencing a problem with submit
button in Stripes. It completely ignores event, that it should call. Actionbean is working on links with no problems... Im stuck on that for like 3 hours.
event in actionbean
@HandlesEvent("addc")
public Resolution addc() {
log.debug("addc() contract={}", contract);
contractFacade.create(contract);
return new RedirectResolution(this.getClass(), "all");
}
jsp:
<s:form beanclass="actionbean.ContractsActionBean">
<%@include file="forms/formContractDetails.jsp"%>
<ul>
<li><s:submit name="addc" class="submit" title="">Add C</s:submit></li>
<li><s:link href="/all">Cancel</s:link></li>
</ul>
</s:form>