Re: chooser field bei *.XML "/admin/form"

Philipp Stucki <[email protected]> Thu, 15 Jul 2004 14:35:41 +0200
Newsgroups gmane.comp.cms.bitflux.general.german
Organization bitflux
Message-ID <[email protected]>
On Thu July 15 2004 14.16, "patrick luescher" <[email protected]> wrote:

> Attribute (Wie und wo)?

Da wo du es bereits hingemacht hast. ( <bxco:chooser/> )

> ich nehme an, leftjoin muss wissen welche tabelle oder?

Genau. Die Syntax ist z.B. "left join bla on (bla.ID = foo.blaID)" Davon 
schmeisst du dann "bla on (bla.ID = foo.blaID)" ins leftjoin-Attribut und gut 
ist.

> Die Tabelle ist (Stueck) und das feld, dass ich von dort möchte ist
> (titel). Also irgend wie so:
>

> <bxco:chooser field="concat(DATE_FORMAT(date ,'%d.%m.%Y'),', ',stueck)">
> leftjoin="Stueck.titel" orderby="date" />
> - geht so nicht ! 

philipp

-- 
philipp stucki . bitflux GmbH . schoeneggstrasse 5 . CH-8004 zurich
[email protected]  .  phone +41 1 240 56 70 .  fax +41 1 240 56 71
http://www.bitflux.ch