12-12-2013 08:46 AM
12-13-2013 02:07 AM
<storedsearch>
<searchspec>
…
<jsppage>demo/JspFormularTest.jsp</jsppage>
…
Pretty easy, define your referenced JSP in search template and then create the JSP with wanted layout.
12-15-2013 03:35 AM
12-19-2013 05:57 AM
12-19-2013 06:25 AM
<%@ page import="com.wewebu.ow.server.ui.*,com.wewebu.ow.server.app.*,com.wewebu.ow.server.util.*,com.wewebu.ow.server.plug.owsearch.*"
autoFlush="true" pageEncoding="utf-8" language="java" contentType="text/html; charset=utf-8"%>
<%
// get a reference to the calling view
OwView m_View = (OwView) request.getAttribute(OwView.CURRENT_MODULE_KEY);
%>
<div id="OwDemoSearchForm">
<div id="OwDemoSearchForm_Header">
</div>
<!– Main area –>
<div id="OwDemoSearchForm_MAIN">
<table class="OwFormTable OwNowrapLabel" style="direction: rtl;width:100%;">
<tr>
<td class="OwPropertyName">
<label>الرقم العام</label>
</td>
<td class="DefaultInput" ><%m_View.renderNamedRegion(out,"name"); %></td>
</tr>
<tr>
<td class="OwPropertyName">
<label><%=m_View.getContext().localize("owlabel.F:kaad:employee.kaad:employeePrivateNumber","")%></label>
</td>
<td class="DefaultInput"><%m_View.renderNamedRegion(out, "employeePrivateNumber");%></td>
</tr>
</table>
<br/>
</div>
</div>
<?xml version="1.0" encoding="UTF-8" ?>
<storedsearch>
<searchspec versionselection="allversions">
<!–
currentversion,allversions,releasedversion,checkedoutversion,inprocessversion,majorversions,minorversions
–>
<searchclauses>
<select>
<selectprops>
<selectprop symname="cmis:folder.cmis:name" />
<selectprop symname="F:kaad:employee.kaad:employeePrivateNumber" />
</selectprops>
</select>
<from>
<class symname="folder" />
</from>
<where>
<and>
<eq>
<whereprop editproperty="editable" uniquename="name" symname="cmis:folder.cmis:name" />
</eq>
<eq>
<whereprop editproperty="editable" uniquename="employeePrivateNumber" symname="F:kaad:employee.kaad:employeePrivateNumber" />
</eq>
</and>
</where>
<subclasses>
<subclass objecttype="folder" symname="F:kaad:employee" />
</subclasses>
</searchclauses>
<options maxrecords="100" />
</searchspec>
</storedsearch>
12-19-2013 07:32 AM
12-19-2013 07:53 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.