Included schema locations for Web Forms
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 11:40 AM
Hi,
I am trying to define schemas for some web forms. Many blocks of content on my site can be modularised and reused, so I would like to include smaller schemas in larger ones, using: -
I dont want to have my smaller schema definitions in the web app as I dont want to split locations and also dont want them mixed with published content. I would much rather have them placed within the data dictionary - possibly under a space called "components".
I have not managed to get this to work successfully although
http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Included_templates
implies I can.
I have my data dictionary structure as follows: -
Web Forms
|
|> Home Page
| |
| |> home.xsd
|
|> Components
| |
| |> links.xsd
…
The file home.xsd includes the line
<xs:include id="links" schemaLocation="../Components/links.xsd" />
Can anyone tell me if this is possible and if so, what path to use in the schema location?
Thanks,
Rich
I am trying to define schemas for some web forms. Many blocks of content on my site can be modularised and reused, so I would like to include smaller schemas in larger ones, using: -
<xs:include schemaLocation="…"/>
This will work provided my smaller schemas are located within the web app itself and not in the data dictionary.I dont want to have my smaller schema definitions in the web app as I dont want to split locations and also dont want them mixed with published content. I would much rather have them placed within the data dictionary - possibly under a space called "components".
I have not managed to get this to work successfully although
http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Included_templates
implies I can.
I have my data dictionary structure as follows: -
Web Forms
|
|> Home Page
| |
| |> home.xsd
|
|> Components
| |
| |> links.xsd
…
The file home.xsd includes the line
<xs:include id="links" schemaLocation="../Components/links.xsd" />
Can anyone tell me if this is possible and if so, what path to use in the schema location?
Thanks,
Rich
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 04:49 PM
included templates refers to rendering engine templates (xsl, ftl …) - not schemas. please file a feature request, including schemas within the data dictionary is not a currently supported feature.
