Re: how to get values from a property file

2008-09-22 Thread Eyal Golan
OK, that's an option which I moved to. Is there another way? On Mon, Sep 22, 2008 at 3:22 PM, Uwe Schäfer <[EMAIL PROTECTED]>wrote: > Eyal Golan schrieb: > >>ResourceModel rmAsc = new >> ResourceModel("Reports.Parameters.ascending"); >>String ascending = (String) rmAsc.getObject()

Re: how to get values from a property file

2008-09-22 Thread Uwe Schäfer
Eyal Golan schrieb: ResourceModel rmAsc = new ResourceModel("Reports.Parameters.ascending"); String ascending = (String) rmAsc.getObject(); if it were an inner class, you could just String ascending = getString("Reports.Parameters.ascending"); cu uwe -

how to get values from a property file

2008-09-22 Thread Eyal Golan
Hi, I have this Model: public final class SortOptionsModel extends AbstractReadOnlyModel { private static final long serialVersionUID = -772846448053016L; private final List sortOptions; public SortOptionsModel() { ResourceModel rmAsc = new ResourceModel("Reports.Parameters.