Report wizard : ability to change the print format name

Description

It is possible to create or modify print formats content, but for the name you have to open the standard window.

Regards,

Nicolas

Environment

None

Activity

Show:
Nicolas Micoud
February 26, 2015, 2:19 PM
Edited

Yes, changing the listbox to a textbox will do the job ! (for existing and new print formats)
But should we add a button 'Save new name' next to the textbox or save it when closing the panel ?

Carlos Ruiz
February 26, 2015, 2:32 PM

I think save it when saving the complete print format is fine - the print format name can't be duplicated - so there is an issue if a user choses a name already used - it will throw unique constraint

Nicolas Micoud
March 14, 2015, 1:11 PM

Hi,

This patch changes the listbox into a WStringEditor.
There is still one issue. When closing the wizard, the name of the print format is correctly updated in the label but the listitem isn't updated.
I can't find an easy way to do it (apart from using context - see 1st patch).

Regards,

Nicolas

Nicolas Micoud
March 25, 2015, 2:25 PM

Hi Carlos,

Please find an updated patch.
When the panel close, the list of print formats is always refreshed.

But we need to play with translation cache ; that's why i added new methods in PO.

Thanks,

Nicolas

Carlos Ruiz
April 1, 2015, 4:10 PM

Hi the change on PO were rejected when integrating with development.

I made a different change to PO achieving the same as you were trying, but the list on wizard and on the print format box on window are not changed.

Fixed

Assignee

Nicolas Micoud

Reporter

Nicolas Micoud

Labels

Tested By

None

Priority

Minor
Configure