logo       

Re: [BlueXML-user] Inline widget definitions in class ?: msg#00014

Subject: Re: [BlueXML-user] Inline widget definitions in class ?
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe