test
This commit is contained in:
15
web/xava/editors/actionEditor.jsp
Normal file
15
web/xava/editors/actionEditor.jsp
Normal file
@@ -0,0 +1,15 @@
|
||||
<%@ 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()%>"/>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
Reference in New Issue
Block a user