View broken on reload if the module is inside a HTML table
Java platform for fast time-to-market of business applications
Brought to you by:
javierpaniza
If you include your OpenXava module in a HTML document with a table, as in the next case:
<!DOCTYPE html> <head> <title>Customer</title> </head> <body > <div> Customer inside a table </div> <table width="100%"> <tr> <td > LEFT </td> <td valign="top"> <jsp:include page="xava/module.jsp?application=OpenXavaTest&module=Customer"/> </td> </tr> </table> </body>
When the user clicks on reload of his browser part of the view, including the bottom buttons, is outside of the module. This happens only when you have some combination of nested groups. It can be reproduced with Customer of OpenXavaTest, because it includes address with a group for city.
The test code for reproduce the problem could be:
execute "CRUD.new" assertAction "EditableOnOff.setOn" // An action from bottom button bar reload() assertAction "EditableOnOff.setOn" // It fails, now action is outside module
I think this bug is solved with the new renderer