Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Error in class generated
Re: Error in class generated [message #606 is a reply to message #604] Thu, 08 February 2007 04:49 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
The reason the LIST2 screen is not showng anything for the master/outer record is that mnu_role(list2).php has the following entries:
$outer_table = 'mnu_role';       // name of outer (parent) table
$inner_table = 'mnu_role_jnr';   // name of inner (child) table

while mnu_role.list2.screen.inc has the following entries:
$structure['tables']['outer'] = 'mnu_role_snr';
$structure['tables']['inner'] = 'mnu_role_jnr';

You should see that there is a mismatch on the name for "outer" - the data is being put into the XML file with the name "mnu_role" but the XSL stylesheet is looking for data with the name "mnu_role_snr". When both names are the same the data will appear.

The screenshot you provided showed that the child forms you created were Add2, Delete1, Enquire1, Search, Update1 and Audit. It is only the Add2 function that uses the popup, not the Update1, so you are doing something seriously wrong.

You also have the popup appearing as a navigation button in the List2 screen. This simply will not work.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in Tutorial 5 _cm_validateInsert
Next Topic: Task, Role - Field Access functionality not working
Goto Forum:
  


Current Time: Tue May 14 23:29:10 EDT 2024

Total time taken to generate the page: 0.01249 seconds