[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUe-dev] GCD samples
From: |
chafar |
Subject: |
Re: [GNUe-dev] GCD samples |
Date: |
Tue, 15 Jun 2004 13:56:49 +0200 |
User-agent: |
Mutt/1.3.28i |
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>
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
--
José Esteban
Granada - Spain
http://alcances.net
Re: [GNUe-dev] GCD samples, Kmetykó Gábor, 2004/06/16
Re: [GNUe-dev] GCD samples, Kmetykó Gábor, 2004/06/16