#324 View broken on reload if the module is inside a HTML table

v5.0
closed
nobody
None
7-HIGH
2014-06-02
2013-01-17
Javier Paniza
No

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

Discussion

  • Javier Paniza
    Javier Paniza
    2013-06-06

    I think this bug is solved with the new renderer

     
  • Javier Paniza
    Javier Paniza
    2014-01-20

    • Priority: 5 --> 7-HIGH
     
  • Javier Paniza
    Javier Paniza
    2014-06-02

    • status: open --> closed
    • Group: v1.0_(example) --> v5.0