initial checkin of wcm forms management using xforms implemented by chiba. this currently uses chiba-web but will soon be replaced by our own uigenerator implemented by dojo!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-08-01 15:15:53 +00:00
parent f6355ea108
commit 33f4d911ad
202 changed files with 33626 additions and 5 deletions

View File

@@ -0,0 +1,41 @@
<%--
Copyright (C) 2005 Alfresco, Inc.
Licensed under the Mozilla Public License version 1.1
with a permitted attribution clause. You may obtain a
copy of the License at
http://www.alfresco.org/legal/license.txt
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific
language governing permissions and limitations under the
License.
--%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<%@ page import="org.alfresco.web.templating.*" %>
<%@ page import="javax.faces.context.FacesContext" %>
<%@ page import="org.alfresco.web.app.servlet.FacesHelper" %>
<%@ page import="org.alfresco.web.bean.content.CreateContentWizard" %>
<%
TemplatingService ts = TemplatingService.getInstance();
CreateContentWizard ccw = (CreateContentWizard)
FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "CreateContentWizard");
TemplateType tt = ts.getTemplateType(ccw.getTemplateType());
final TemplateInputMethod tim = tt.getInputMethods()[0];
String url = tim.getInputURL(tt.getSampleXml(tt.getName()), tt);
%>
<f:verbatim>
<div style='width:100%; height:360px'>
<iframe src="<%= url %>"
style="overflow: auto;width: 100%; height: 100%">
</iframe>
</div>
</f:verbatim>