Re: das form

miss monorom <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general.german
Organization monorom
Message-ID <[email protected]>
hoffe der content
ist nun auch drin......

sorry: mir ist grad der mac verreist.
[zeit für ein update!]

hier das xml für das form


good night
monorom




<?xml version="1.0" encoding="iso-8859-1"?>
     <bxco:config xmlns:bxco="http://bitflux.org/config/1.0">
        <bxco:fields table="Person">
                  <bxco:field name="honorific" type="text"  descr="Mr/Ms"/>
                    <bxco:field name="firstname" type="text"  descr="First
Name"/>
                        <bxco:field name="surname" type="text"
descr="Surname"/>
                      <bxco:field name="affiliation_orgname" type="text"
descr="Organisation">
                         NBWZ
                        </bxco:field>

                        <bxco:field name="project_jobtitle" type="text"
descr="Project
Jobdefinition"/>
                        <bxco:field name="affiliation_address_email"
type="text" descr="Email
(Business)"/>
                        <bxco:field name="address_email" type="text"
descr="Email (Home)"/>

                        <bxco:field name="remark" type="textarea"
descr="Remark"/>

                        <bxco:field name="Document2Object" type="n2m"
alternativeDescr="Document"
descr="Parent::Document" defaultXpath="default/parentid">
                 <bxco:n2m thisfield="foreignobjectid"
thatfield="foreigndocumentid" objectfield="objectname"
objectfieldvalue="Person"/>
                 <bxco:foreign>
                     <bxco:table name="Document"
                         field="title "
                             orderby="title"
                     />
                 </bxco:foreign>
             </bxco:field>

<bxco:field name="created" alternativeDescr="CREATED" descr="Created"
type="fixed" subtype="datetime">
  <bxco:onnew default="sql:now()" />
 </bxco:field>

 <bxco:field name="createdby" alternativeDescr="CREATEDBY" descr="Created
by" type="fixed" >
  <bxco:onnew defaultXpath="auth/username" />
 </bxco:field>

 <bxco:field name="changed" alternativeDescr="CHANGED" descr="Changed"
type="fixed" subtype="datetime">
  <bxco:onnew default="sql:now()" />
  <bxco:onchange default="sql:now()" />
 </bxco:field>

 <bxco:field name="changedby" alternativeDescr="CHANGEDBY" descr="Changed
by" type="fixed">
  <bxco:onnew defaultXpath="auth/username" />
  <bxco:onchange defaultXpath="auth/username" />
 </bxco:field>
</bxco:fields>
 <bxco:chooser field="concat(surname,' ',firstname)" orderby="surname,
firstname" descr="Choose Person"/>
    <bxco:create>
                 <bxco:table name="Document2Object" hide="yes">
                  <bxco:field name="foreigndocumentid"
value="this:Document2Object:Value" notempty="1"/>
                                  <bxco:field name="objectname"
value="Person"/>
                  <bxco:field name="foreignobjectid" value="this:ID"
notempty="1"/>
            </bxco:table>
        </bxco:create>

</bxco:config>
--

--

--::------------------------------------------------------------------::--
--: miss monorom :-:
--: [email protected] :-: www.monorom.to
--::------------------------------------------------------------------::--
--: etoy.monorom :-:
--: [email protected] :-:www.etoy.com
--::------------------------------------------------------------------::--
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.