Hi all,

I would like to ask for some examples where use of AROM comes in handy. We had a sort of dispute in one project whether it is better to provide "static text, no i18n" labels with Model.of(Object o) or

    final Object o;
    new AbstractReadOnlyModel(){

    getObject() {
        return o;
    };
}

Could someone who uses them in fitting scenarion provide some advice? It shows up in our code more and more often and I'm not convinced of that being right. That argument was augmented by ResourceModel being sublclass of AROM.

Thanks, regards,

--
Marek Šabo

Reply via email to