cancel
Showing results for 
Search instead for 
Did you mean: 

To create static web pages - webforms/xsd needed?

guhann
Champ in-the-making
Champ in-the-making
Hi,

I need to manage the static contents(30 pages) of an existing website.
That means i need to create 30 webforms with 30 xsd files?

so that it will deliver 30 xml files and in jsp i need to grab the details for display?pls clarify..

Thanks,
Guhan N
14 REPLIES 14

kvc
Champ in-the-making
Champ in-the-making
Guhan:


No, not exactlly.

Your web forms should be for distinct content types and page types.  If you have a dynamic site, you may only have one content type (an article) and two page types (a home page and a section page).  In this case, you'd have just tjhree output templates (either XSL or Freemarker) to generate you home, section, and details pages (the details pages generated from you distinct content items).  The pages you generate would be JSP pages, so that your headers, footers, and navbars can be dynamically sourced or generated, and so that your home and section pages can dynamic generate links to your details pages.

You can also generate the entire site statically, and use standard SSIs for common headers, footers, and navbars.  You can also have three additional forms and three additional templates associated with those forms so that end-users (and not developers) can change headers, footers, and navbars via Forms as they need.  And although the site is static, since they are standard includes, they would immediately update all relevant pages.

Even the largest of sites typically don't have 30 web forms.  Rule of thumb is if you are building more than 10 web forms for a site, think hard about how individual page variations can be captured in a single form that is more representative of a general model.

Let me know if that helps.


Kevin

guhann
Champ in-the-making
Champ in-the-making
Thanks for this…

But when im doing a bulk import of war file…im getting error like this….pls help.

Please correct the errors below then click OK.
A system error happened during the operation: No row with the given identifier exists: [org.alfresco.repo.avm.AVMNodeImpl#831]

kvc
Champ in-the-making
Champ in-the-making
Hmmm … are you running 2.0.0 Community, 2.0.1 Enterprise, or 2.1.0 Community?  What platform (OS, DB, App Server)?

Kevin

guhann
Champ in-the-making
Champ in-the-making
im using alfresco-community-tomcat-2.0.0.

OS : windows 2000
db: default one provided by alfresco(hypersonic)

sample war files provided by wcm works…. 
but i have created a new war file with some sample files….

guhann
Champ in-the-making
Champ in-the-making
Another question kevin….

in the xsl defined i have used the below statement
<xsl:comment>#include virtual="/assets/header.html"</xsl:comment>

while generating new html page….. the header.html content is not getting included in that page…

Thanks…

arielb
Champ in-the-making
Champ in-the-making
you need to enable sever side includes in the virutalization server instance for this to work.

guhann
Champ in-the-making
Champ in-the-making
It's getting included now…………….

after adding the web.xml file.

Thanks.

kvc
Champ in-the-making
Champ in-the-making
Guhann:


I would strongly recommend two things:

*  Upgrading to 2.1 Community RC1, or our forthcoming RC2 (later this week)

*  Using another database other than the default Hypersonic (like MySQL)


2.1 includes more than just new features; it has all the stabilization enhancements from our Enterprise maintenance release, 2.0.1E.

Hypersonic is really just for poking around the system with a sample set of files.  If you're bulk loading your own body of content and planning on doing substantial, it's strongly encouraged you use a more robust backing DB.


Kevin

guhann
Champ in-the-making
Champ in-the-making
Hi Kevin,

Based on ur suggestion, i installed community 2.1 version, but the basic functionality of tinyMCEeditor to  create tables/to view the html source code are not available as default………………and also not configurable…..as in 2.0.

In this situation i can't able to use this 2.1 version………..as many of the users would like to create table/ to modify the html tag…..i can't proceed with this 2.1V.

Thanks,
Guhan N