Marc,
to create a new form, the following steps are required :
* create a new document type by creating a new
doctype-YOURTYPE-repository.xml in
src/data/project/webapp/common/coplets/ged/cud/docs/model/doctypes. This
file references classes you have to define in ../class directory
* create a new metabind file in the same directory, called
doctype-YOURTYPE-metabind.xml, where you describe the binding you want
* create classes that describes the fields you want to be available in
your form
* create metawidgets that describes the binding you want for group of fields
The error you have reveals the Task class is not defined in your class
directory.
PS : Don't forget to flush the cache between each file modifications
Jean-Christophe
Marc Salvetti a écrit :
Hi,
i'm trying to re use the task tree form from the samples to create a
form at the BX format.
I tried to define the class like this :
<!-- a list of tasks -->
<fd:class id="TaskTree">
<fd:widgets>
<fd:repeater id="tasks">
<fd:widgets>
<!-- inline widget definitions from task-class -->
<fd:new id="Task"/>
</fd:widgets>
</fd:repeater>
<fd:repeater-action id="addsub" repeater="tasks"
command="add-row">
</fd:repeater-action>
</fd:widgets>
</fd:class>
But when trying to load the form, i get the error "The class with the id
Task does not exist".
Is this feature supported in BX ?
Thanks,
Marc
------------------------------------------------------------------------
_______________________________________________
User mailing list
User-E0IXfuzpajFHgg9j4ji3+w@xxxxxxxxxxxxxxxx
http://mlm.triglyphe.com/mailman/listinfo/user
--
BlueXML
Jean-Christophe Kermagoret
Directeur associé
jck-qkEci4++Hf1AfugRpC6u6w@xxxxxxxxxxxxxxxx
|