GUI Generator doesn't work properly if inheritance is involved

Posts   
 
    
Posts: 1
Joined: 25-Sep-2009
# Posted on: 25-Sep-2009 22:18:33   

Hi, I have used the GUI generator to generate a web site based on my entities. I want the foreign keys to be shown as drop down lists which are getting filled from the original table and to do so I am following the instructions in the readme.txt file which comes with GUI generator templates and package. Everything works perfect except for the cases that I have inheritance between two entities and the foreign key goes to the parent entity (foreign keys which exist in child entities work fine). In this situation, the foreign key field will be shown as a text box instead of a drop down list. Does anyone has any idea why this is happening and what is the solution for it? Thanks, Sina

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 26-Sep-2009 04:33:22   

Hi Sina,

First of all, I think the GUI generator template is an example on how to use templates. If you want to produce real websites it's up to you.

Said that, could you please show the structure of the involved entities (parent, childs, and the other entity that point to the parent). It's a composite key?

If you could fix your GUI (put your combo there) then could be posibilities to fix the template, if there's something to fix. simple_smile

David Elizondo | LLBLGen Support Team