Re: it7631 Objekt AbisZ

thomas zobrist <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>
>      <bxco:fields table="Document" >
>
> müsst ihr wohl noch anpassen.
>
> also table="AbisZ"

Ist eigentlich alles schon festgehalten:

<?xml version="1.0" encoding="iso-8859-1"?>
<bxco:config xmlns:bxco="http://bitflux.org/config/1.0">

	<bxco:fields table="AbisZ">
		<bxco:field name="lang" type="text" descr="Language">de
		</bxco:field>
		<bxco:field name="az_keyword" type="abstract" descr="Keywordset"/>
		<bxco:field name="az_description" type="abstract" 
descr="Beschreibung"/>

		<bxco:field name="Document2Object" type="n2m" 
alternativeDescr="Document" descr="Parent::Document" 
defaultXpath="default/parentid">
			<bxco:n2m thisfield="foreignobjectid" 
thatfield="foreigndocumentid" objectfield="objectname" 
objectfieldvalue="AbisZ"/>
			<bxco:foreign>
				<bxco:table name="Document" field="az_keyword" 
orderby="az_keyword"/>
			</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(az_keyword,' (',lang,')')" 
orderby="az_keyword" descr="Choose AbisZ"/>

	<bxco:create>
		<bxco:table name="Document2Object" hide="yes">
			<bxco:field name="foreigndocumentid" 
value="this:Document2Object:Value" notempty="1"/>
			<bxco:field name="objectname" value="AbisZ"/>
			<bxco:field name="foreignobjectid" value="this:ID" notempty="1"/>
		</bxco:table>
	</bxco:create>

</bxco:config>
-----

Liegts gar am underscore in den Feldnamen?

th.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
depot43
thomas zobrist
elisabethenstrassse 43
8004 zürich
tel. 043 322 08 86 (fax 89)
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.