Files
Babydatenbank/web/xava/editors/actionEditor.jsp
Socrates 9ed0f2a056 test
2020-05-26 10:29:34 +02:00

16 lines
389 B
Plaintext

<%@ include file="../imports.jsp"%>
<%@ page import="org.openxava.view.meta.MetaViewAction" %>
<%
String propertyKey = request.getParameter("propertyKey");
MetaViewAction p = (MetaViewAction) request.getAttribute(propertyKey);
boolean editable="true".equals(request.getParameter("editable"));
if (editable || p.isAlwaysEnabled()) {
%>
<xava:action action="<%=p.getAction()%>"/>
<%
}
%>