Thanks Aaron, OK, now I know that lower case names are expected. This problem came up when a user was adding a Maypole front end to an existing database that had columns with upper case names. There will be situations like this where you cannot alter the database schema.
I added a section on column naming in the Default Behaviour section of the web site. Kim Aaron Trevena wrote:
Hi KimI don't specifically refer to the Place column in the template, just use the generic factory templates. Because I don't want to display all columns in the table I have the following code: package Verification::MyData; sub display_columns { qw( Name Place ) } sub column_names { Name => 'Name', Place => 'Place', } The odd thing is if I remove these lines to display all columns, the sorting works correctly. The beer example uses all lower case column names, could not find any examples of people using column names starting with upper case.That would be your problem then :) The column names should be lower case, unless you are providing a label / alias. i.e. sub column_names { name => 'Name', place => 'Place', } should work correctly cheers, A ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Maypole-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-users
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Maypole-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-users
