• Vincent Pelletier's avatar
    Update Formulator rendering API (except css and odt) to make it accept a new... · b4b92a1f
    Vincent Pelletier authored
    Update Formulator rendering API (except css and odt) to make it accept a new "render_prefix" parameter.
    Its basic purpose is similar to existing "key" parameter, but instead of replacing field id it gets prepended to it.
    Its "evolved" purpose is to make it possible to distinguish multiple renderings of the *same* field (same form, same field) in a single rendering sequence (ie, in the same web page).
    It's safe to just ignore it when writing a renderer.
    Update all existing renderers, and monkeypatch a few more.
    Ignore the new parameter in all of them except ListBox (stored on renderer instance but not used yet).
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21998 20353a03-c40f-0410-a6d1-a30d3c3de9de
    b4b92a1f
POSBox.py 12.1 KB