cancel
Showing results for 
Search instead for 
Did you mean: 

Error generating rendition using pressRelease.ftl

jon318
Champ in-the-making
Champ in-the-making
Hi,

I have just started using Alfresco WCM. According to Alfresco_developer guide, I created a web form. When I create web content by using that web form. There is a error information displayed.  I show it as below:

Please correct the errors below then click Finish.
    * Error generating rendition using pressRelease.ftl: Store not found.


Please instruct me how to solve this problem.

Thank you in advance!

Jon

Two files are from Alfresco_Developer_Guide.pdf

pressRelease.xsd

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlnsSmiley Tonguer="http://localhost:8084/EvaluateIt/"
    xmlns:alf="http://www.alfresco.org"
    targetNamespace="http://localhost:8084/EvaluateIt/"
    elementFormDefault="qualified">

        <!– defines the form for creating a press release –>
<xs:element name="press_release">
   <xs:complexType>
      <xs:sequence>
         <xs:element name="title" type="xs:normalizedString"/>
         <xs:element name="sub_title" type=
          "xs:normalizedString"/>
          <xs:element name="location" type=
           "xs:normalizedString" default="Austin, TX"/>
           <xs:element name="date" type="xs:date"/>
          <xs:element name="body" type="xs:string" minOccurs=
           "1" maxOccurs="1">
              <xs:annotation>
                    <xs:appinfo>
                        <alf:appearance>custom</alf:appearance>
                    </xs:appinfo>
                 </xs:annotation>
              </xs:element>
             <xs:element name="company_footer" type="xs:string"
              minOccurs="0" maxOccurs="unbounded"/>
             <xs:element name="contact_info" type="xs:string"
              minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
</xs:schema>

pressPrelease.ftl

<#ftl ns_prefixes={"pr":"http://localhost:8084/EvaluateIt/"}>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
   <head>
       <title>Press Release</title>
   </head>
   <body>
     <#assign press_release = .vars["prSmiley Tongueress_release"]>
     <div class="node">
  <h2>${press_release["pr:sub_title"]}</h2>
  <p><p>${press_release["pr:location"]} - ${press_release
        ["pr:date"]} - ${press_release["pr:body"]}
            <#list press_release["pr:company_footer"] as cf>
            <p>${cf}</p>
         </#list>
         <#list press_release["pr:contact_info"] as ci>
            <p>${ci}</p>
         </#list>
  </p></p>
  <div class="clearfix"></div>
</div>
<div class="clearfix"></div>

   </body>
</html>
3 REPLIES 3

reshma
Champ in-the-making
Champ in-the-making
Hi, the two files was correct

I think the problem with alfresco try to install alfresco in some other location and check.

jon318
Champ in-the-making
Champ in-the-making
Thank you for your advice.

If possible, please give me some details.

Thank you again!

Not applicable
Same problem here…I don't think that it deals with alfresco's installation…
Any idea ?

[EDIT]
found something at :
http://forums.alfresco.com/en/viewtopic.php?f=30&t=7467&st=0&sk=t&sd=a