[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUe-dev] GCD samples
From: |
Johannes Vetter |
Subject: |
Re: [GNUe-dev] GCD samples |
Date: |
Tue, 15 Jun 2004 15:43:51 +0200 |
Hi,
thanks for reporting this but; i've fixed it in svn.
Am Die, den 15.06.2004 schrieb address@hidden um 13:56:
> Hello.
>
> I've found what seems to be a bug in gcd2sql: when a property type
> refers to another class is registered in gnue_property table with
> gnue_type=string and gnue_length=32. Then, when you try to use it as
> the prefix of an indirect property (at least in condition/eq elements)
> appserver reports an error saying that the 'prefix' property isn't a
> reference property; I've found that gnue_property.gnue_type needs to be
> registered with same value that property/@type has in gcd file.
>
> Example:
>
> gcd file:
> <module name="mod">
>
> <class name="cla">
> <property name="number" type="number" length="3"/>
> </class>
>
> <class name="clb">
> <property name="cla" type="mod_cla"/>
> </class>
>
> </module>
>
> form:
> <datasource ... table="mod_clb">
> <condition>
> <eq>
> <cfield>cla.number</field>
> <cconst>7</cconst>
> </eq>
> </condition>
> </datasource>
>
The proper condition-definition would be
<condition>
<eq>
<cfield name="mod_cla.mod_number"/>
<cconst value="7"/>
</eq>
</condition>
Best regards
Johannes
> Result: appserver says cla isn't a reference field.
>
> El jue, jun 10, a las 00:53:46 kilo escribía:
> > Hi
> >
> > I have created some new sample GCD files based on gnue-packages and
> > Hungarian "common logic".
> >
> > They can be viewed at http://www.gnuenterprise.org/~kilo/newGCD where
> > you will find GCD files (with extension '.txt', that should be cut off
> > in production) and corresponding Dia and PNG files.
> >
> > Please check and review them, I would be glad to hear your opinion.
> >
> > kilo
> > Gabor Kmetyko
> >
> >
> > _______________________________________________
> > Gnue-dev mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/gnue-dev
>
> greetings
--
BYTEWISE Software GmbH Tel +43 (5577) 89877-0
i.A. Johannes Vetter Fax +43 (5577) 89877-66
A-6890 Lustenau, Enga 2 http://www.bytewise.at
-------------------------------------------------------
Wir bieten die Installation von Debian GNU/Linux auf
Servern für kleinere Netzwerke zum Pauschalpreis an.
Mehr dazu unter http://www.bytewise.at/texte/pl-debian
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
Re: [GNUe-dev] GCD samples, Kmetykó Gábor, 2004/06/16
Re: [GNUe-dev] GCD samples, Kmetykó Gábor, 2004/06/16