Karatemom / alfresco-forms-service-examples

Automatically exported from code.google.com/p/alfresco-forms-service-examples
0 stars 0 forks source link

Form doesn't work with Alfresco 3.2E #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I following instruction found in pdf file. Making new content with the
"Create Content" form. Than trying to lunch form-test with the full noderef
id (workspace://SpacesStore/8f1e0a3a-3a23-439b-9cf8-a4d4dbe8029b).

Form don't load due to a freemaker error : Expression form.items is
undefined on line 74, column 40 in tab-edit-form.ftl.

I found source code but I don't no what form.items is.

<div id="${formId}-tabview" class="yui-navset"> 

<ul class="yui-nav">

    <#list form.items as item>

        <#if item.kind == "set">

            <li <#if item_index == 0>class="selected"</#if>><a
href="#tab_${item_index}"><em>${item.label}</em></a></li>

        </#if>

    </#list>

    <li><a href="#tab_others"><em>Others</em></a></li>

</ul>

Regards,
J. LESAGE

Version: Enterprise - v3.2.0 (304)

Original issue reported on code.google.com by jeremie....@gmail.com on 8 Feb 2010 at 11:22

Attachments:

GoogleCodeExporter commented 8 years ago
As explained on this page http://wiki.alfresco.com/wiki/Forms, items has been 
renamed
to structure.
Anyway, this is not the only change that occured about forms...

Original comment by pcollar...@gmail.com on 24 Feb 2010 at 3:46

GoogleCodeExporter commented 8 years ago
The attached file should work with Alfresco E3.2 and C3.2r2.

Original comment by pcollar...@gmail.com on 24 Feb 2010 at 4:30

Attachments:

GoogleCodeExporter commented 8 years ago
Yes it work with E3.2

Thanks a lot

Original comment by jeremie....@gmail.com on 26 Feb 2010 at 5:03

GoogleCodeExporter commented 8 years ago
Hi jeremie,

I want to know which pdf you referred to make the 'create content' form..
Can you please provide me with the link for the pdf..it would be very helpful..
Thanks in advance..

Yogesh
(worldofyogi@gmail.com)

Original comment by worldofy...@gmail.com on 21 Jun 2010 at 7:27

GoogleCodeExporter commented 8 years ago
The pdf "Learning Alfresco Forms Service by Examples.pdf" is in the downloads 
section.

Jérémie

Original comment by jeremie....@gmail.com on 21 Jun 2010 at 8:18