Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Affan Osman
Double single quotes did the trick. Thanks! On Apr 2, 2019, 10:59 AM -0400, Lukasz Lenart , wrote: > wt., 2 kwi 2019 o 16:54 Dave Newton napisał(a): > > > > Single-quotes must be escaped using double single-quotes; single quotes are > > used to allow non-resource strings. IIRC this is just how `Me

Re: getText with multiple parameters not populating correctly

2019-04-02 Thread Affan Osman
        /searchresults.jsp         Thanks! On Apr 2, 2019, 5:11 AM -0400, Lukasz Lenart , wrote: > wt., 2 kwi 2019 o 04:46 Affan Osman napisał(a): > > > > I am using version 2.5.17. I am not using any custom text pro

Re: getText with multiple parameters not populating correctly

2019-04-01 Thread Affan Osman
:03 Affan Osman napisał(a): > > > > I am passing in three parameters to getText but only the first one gets > > populated. > > > > getText("error.invalidcode", new String[] {"name", "num", "1az"}); > > > > And in my App

getText with multiple parameters not populating correctly

2019-03-30 Thread Affan Osman
I am passing in three parameters to getText but only the first one gets populated. getText("error.invalidcode", new String[] {"name", "num", "1az"}); And in my ApplicationResources.properties error.invalidcode={0} and {1} property has error with code {2}. I am getting the following result: name