i have a view and it will be much easier for me to work against a view instead of a table itself. In ATG, can i map an itemdescriptor to a view instead of a table? Can someone provide me with an example?
TIA
i have a view and it will be much easier for me to work against a view instead of a table itself. In ATG, can i map an itemdescriptor to a view instead of a table? Can someone provide me with an example?
TIA
Copyright © 2021 Jogjafile Inc.
Yes it can. It is actually no different to setting up a normal
item-descriptor
. However most views areread-only
so you need to make sure youritem-descriptor
is alsoread-only
. This can be achieved by setting thewritable="false"
property on theitem-descriptor
definition. The name of the view simply becomes the name of thetable
.