Files
alfresco-community-repo/source/web/jsp/wcm/create-web-content-wizard/create-xml.jsp
Ariel Backenroth 2063aa7426 adding the ability to save a draft from the xforms ui. currently this is only surfaced when clicking back in the create web content wizard (it saves a draft so that entered values don't get blown away).
also fixing a couple bugs related to namespaces within instance data.  being more rigorous about placing the namespace prefix in the right place basically.

removing the wrapperelementbuilders from the schemaformbuilder.  they were confusing and not used anywhere.  (reduces cruft from the schemaformbuilder).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-12 22:03:30 +00:00

38 lines
1.3 KiB
Plaintext

<%--
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" %>
<%@ taglib uri="/WEB-INF/wcm.tld" prefix="wcm" %>
<script type="text/javascript">
function _xforms_getSubmitButtons()
{
return [ document.getElementById("wizard:next-button"),
document.getElementById("wizard:finish-button") ];
}
function _xforms_getSaveDraftButtons()
{
return [ document.getElementById("wizard:back-button") ];
}
</script>
<wcm:formProcessor id="form-data-renderer"
formProcessorSession="#{WizardManager.bean.formProcessorSession}"
formInstanceData="#{WizardManager.bean.instanceDataDocument}"
form="#{WizardManager.bean.form}"/>