different views for dataseq items

1 view
Skip to first unread message

Andrea Russo

unread,
Jul 3, 2009, 9:59:33 AM7/3/09
to webl...@googlegroups.com
Hi,

I would like to use a gridedit widget to list instances of different
classes, with each object type having a different view. Could someone
please give me some suggestions on how to proceed?

TIA,
Andrea.

--
lisps are very close to fundamental expressions of deep truths, the
same way that Einstein's Special Relativity squarely nails the truth
that Lorentz and friends recognized but couldn't quite grasp.
-- Tom Lord

Leslie P. Polzer

unread,
Jul 3, 2009, 10:12:52 AM7/3/09
to webl...@googlegroups.com

Andrea Russo wrote:

> I would like to use a gridedit widget to list instances of different
> classes, with each object type having a different view. Could someone
> please give me some suggestions on how to proceed?

Are the classes unrelated or are they part of one class hierarchy?


Andrea Russo

unread,
Jul 3, 2009, 10:27:05 AM7/3/09
to webl...@googlegroups.com
Hi Leslie,

Right, sorry. I forgot to mention that they all have the same base
class.

--
Reclama i tuoi diritti digitali, elimina il DRM. Approfondisci su
http://www.no1984.org
Reclaim your digital rights, eliminate DRM. Learn more at
http://www.defectivebydesign.org/what_is_drm

Leslie P. Polzer

unread,
Jul 3, 2009, 12:45:55 PM7/3/09
to webl...@googlegroups.com

Andrea Russo wrote:

>> Andrea Russo wrote:
>>
>>> I would like to use a gridedit widget to list instances of different
>>> classes, with each object type having a different view. Could someone
>>> please give me some suggestions on how to proceed?
>>
>> Are the classes unrelated or are they part of one class hierarchy?
>
> Right, sorry. I forgot to mention that they all have the same base
> class.

It would be nice to make the gridedit more flexible to take
multiple types into account.

In any case we have two views: a table view and a form view.

The table view needs to have a number of columns equal for
every row, so there can't be much variation here.

You can select a matching form view for the drilldown
by specializing the appropriate GRIDEDIT methods.

Specify STANDARD-OBJECT (or your base class) as DATA-CLASS.

Andrea Russo

unread,
Jul 4, 2009, 7:44:39 AM7/4/09
to webl...@googlegroups.com
"Leslie P. Polzer" <s...@viridian-project.de> writes:

> You can select a matching form view for the drilldown
> by specializing the appropriate GRIDEDIT methods.
>
> Specify STANDARD-OBJECT (or your base class) as DATA-CLASS.

Thanks for this suggestions Leslie. I'll try this way.

Have a nice weekend,
Andrea.

--
Do not worry about your difficulties in mathematics;
I can assure you that mine are still greater.
-- Albert Einstein

Reply all
Reply to author
Forward
0 new messages