As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<widget xforms-type="xf:select1" xml-schema-type="boolean" javascript-class-name="alfresco.xforms.Checkbox"/> <widget xforms-type="xf:select1" appearance="full" javascript-class-name="alfresco.xforms.RadioSelect1"/> <widget xforms-type="xf:select1" javascript-class-name="alfresco.xforms.ComboboxSelect1"/> <widget xforms-type="xf:select" appearance="full" javascript-class-name="alfresco.xforms.CheckboxSelect"/> <widget xforms-type="xf:select" javascript-class-name="alfresco.xforms.ListSelect"/>
<?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:alf="http://www.alfresco.org" elementFormDefault="qualified"> <xs:simpleType name="four_presidents"> <xs:restriction base="xs:normalizedString"> <xs:enumeration value="washington"/> <xs:enumeration value="jefferson"/> <xs:enumeration value="lincoln"/> <xs:enumeration value="roosevelt1"> <xs:annotation> <xs:appinfo><alf:label>Teddy Roosevelt</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="four_presidents_list"> <xs:list itemType="four_presidents"/> </xs:simpleType> <xs:simpleType name="thirteen_colonies"> <xs:restriction base="xs:normalizedString"> <xs:enumeration value="massachusetts"/> <xs:enumeration value="NH"> <xs:annotation> <xs:appinfo><alf:label>new hampshire</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NY"> <xs:annotation> <xs:appinfo><alf:label>new york</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="connecticut"/> <xs:enumeration value="RI"> <xs:annotation> <xs:appinfo><alf:label>rhode island</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="NJ"> <xs:annotation> <xs:appinfo><alf:label>new jersey</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="delaware"/> <xs:enumeration value="maryland"/> <xs:enumeration value="pennsylvania"/> <xs:enumeration value="virginia"/> <xs:enumeration value="NC"> <xs:annotation> <xs:appinfo><alf:label>north carolina</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="SC"> <xs:annotation> <xs:appinfo><alf:label>south carolina</alf:label></xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="georgia"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="thirteen_colonies_list"> <xs:list itemType="thirteen_colonies"/> </xs:simpleType> <xs:element name="list-test"> <xs:complexType> <xs:sequence> <xs:element name="select1"> <xs:complexType> <xs:sequence> <xs:element name="four_items"> <xs:complexType> <xs:sequence> <xs:element name="full" type="four_presidents" default="jefferson" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>full</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="compact" type="four_presidents" default="roosevelt1" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>compact</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="default" type="four_presidents" default="jefferson" minOccurs="1" maxOccurs="1"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ten_items"> <xs:complexType> <xs:sequence> <xs:element name="full" type="thirteen_colonies" minOccurs="1" default="NY" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>full</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="compact" type="thirteen_colonies" default="NJ" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>compact</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="default" type="thirteen_colonies" default="NJ" minOccurs="1" maxOccurs="1"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="select"> <xs:complexType> <xs:sequence> <xs:element name="four_items"> <xs:complexType> <xs:sequence> <xs:element name="full" type="four_presidents_list" default="jefferson" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>full</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="compact" type="four_presidents_list" default="jefferson" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>compact</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="default" type="four_presidents_list" default="jefferson" minOccurs="1" maxOccurs="1"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ten_items"> <xs:complexType> <xs:sequence> <xs:element name="full" type="thirteen_colonies_list" minOccurs="1" default="NJ" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>full</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="compact" type="thirteen_colonies_list" default="massachusetts" minOccurs="1" maxOccurs="1"> <xs:annotation> <xs:appinfo> <alf:appearance>compact</alf:appearance> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="default" type="thirteen_colonies_list" default="maryland" minOccurs="1" maxOccurs="1"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
<xs:include schemaLocation="/views/components/channel-list.jsp"/>
Step Two - Author Web Content Enter your document content into the repository. org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 19 column 42: src-resolve.4.1: Error resolving component 'four_presidents'. It was detected that 'four_presidents' has no namespace, but components with no target namespace are not referenceable from schema document 'null'. If 'four_presidents' is intended to have a namespace, perhaps a prefix needs to be provided. If it is intended that 'four_presidents' has no namespace, then an 'import' without a "namespace" attribute should be added to 'null'.
18:33:36,502 ERROR [org.alfresco.web.ui.common.Utils] org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 19 column 42: src-resolve.4.1: Error resolving component 'four_presidents'. It was detected that 'four_presidents' has no namespace, but components with no target namespace are not referenceable from schema document 'null'. If 'four_presidents' is intended to have a namespace, perhaps a prefix needs to be provided. If it is intended that 'four_presidents' has no namespace, then an 'import' without a "namespace" attribute should be added to 'null'. org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 19 column 42: src-resolve.4.1: Error resolving component 'four_presidents'. It was detected that 'four_presidents' has no namespace, but components with no target namespace are not referenceable from schema document 'null'. If 'four_presidents' is intended to have a namespace, perhaps a prefix needs to be provided. If it is intended that 'four_presidents' has no namespace, then an 'import' without a "namespace" attribute should be added to 'null'. at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor.java:145) at org.alfresco.web.forms.xforms.XFormsProcessor.process(XFormsProcessor.java:121) at org.alfresco.web.ui.wcm.component.UIFormProcessor.encodeBegin(UIFormProcessor.java:123) at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:467) at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:320) at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_002dxml_jsp._jspx_meth_wcm_005fformProcessor_005f0(create_002dxml_jsp.java:97) at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_002dxml_jsp._jspService(create_002dxml_jsp.java:70) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965) at org.apache.jsp.jsp.wizard.container_jsp._jspService(container_jsp.java:524) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:alf="http://www.alfresco.org" elementFormDefault="qualified">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:amm="http://alfresco/amm" xmlns:alf="http://www.alfresco.org/cms" targetNamespace="http://alfresco/amm" elementFormDefault="qualified">
<xs:simpleType name="four_presidents_list"> <xs:list itemType="four_presidents"/> </xs:simpleType>
<xs:simpleType name="four_presidents_list"> <xs:list itemType="amm:four_presidents"/> </xs:simpleType>