CommonUiLabels.properties file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CommonUiLabels.properties file

Eric Schwartz-6
I was working on a patch for the party application as described in
https://issues.apache.org/jira/browse/OFBIZ-656.

Jacques Le Roux made a suggestion that i put the button labels in the
CommonUiLabels.properties file insted of the one for the party manager
application. I noticed that when i added the new labels to this file they
would not be accessible without restarting ofbiz. i could access other
labels in that file but not the new ones i just added. in some of the other
applications a simple clearing of the caches mad the new labels available
but i did not have the same luck with the CommonUiLabels.properties. i guess
my question is am i missing something or do the common labels only load at
startup of ofbiz. i want to avoid in the future having to restart ofbiz if i
add a label to that file.

thanks,

--
Eric Schwartz (ofbiz newbie)
Web Developer/IT Department
800.544.8665 ext 273
[hidden email]



Reply | Threaded
Open this post in threaded view
|

Re: CommonUiLabels.properties file

Jacques Le Roux
Administrator
Eric,

AFAIK, yes you are right this is how it works. I guess it's because other properties file (not of the current application component)
use the common decorator mechanism.

BTW I will review your patch soon.

Jacques



> I was working on a patch for the party application as described in
> https://issues.apache.org/jira/browse/OFBIZ-656.
>
> Jacques Le Roux made a suggestion that i put the button labels in the
> CommonUiLabels.properties file insted of the one for the party manager
> application. I noticed that when i added the new labels to this file they
> would not be accessible without restarting ofbiz. i could access other
> labels in that file but not the new ones i just added. in some of the other
> applications a simple clearing of the caches mad the new labels available
> but i did not have the same luck with the CommonUiLabels.properties. i guess
> my question is am i missing something or do the common labels only load at
> startup of ofbiz. i want to avoid in the future having to restart ofbiz if i
> add a label to that file.
>
> thanks,
>
> --
> Eric Schwartz (ofbiz newbie)
> Web Developer/IT Department
> 800.544.8665 ext 273
> [hidden email]
>
>

Reply | Threaded
Open this post in threaded view
|

Re: CommonUiLabels.properties file

Eric Schwartz-6
thanks, i appreciate the clarification.

"Jacques Le Roux" <[hidden email]> wrote in message
news:012801c7446b$0ae0c2c0$0300a8c0@LesArts...

> Eric,
>
> AFAIK, yes you are right this is how it works. I guess it's because other
> properties file (not of the current application component)
> use the common decorator mechanism.
>
> BTW I will review your patch soon.
>
> Jacques
>
>
>
>> I was working on a patch for the party application as described in
>> https://issues.apache.org/jira/browse/OFBIZ-656.
>>
>> Jacques Le Roux made a suggestion that i put the button labels in the
>> CommonUiLabels.properties file insted of the one for the party manager
>> application. I noticed that when i added the new labels to this file they
>> would not be accessible without restarting ofbiz. i could access other
>> labels in that file but not the new ones i just added. in some of the
>> other
>> applications a simple clearing of the caches mad the new labels available
>> but i did not have the same luck with the CommonUiLabels.properties. i
>> guess
>> my question is am i missing something or do the common labels only load
>> at
>> startup of ofbiz. i want to avoid in the future having to restart ofbiz
>> if i
>> add a label to that file.
>>
>> thanks,
>>
>> --
>> Eric Schwartz (ofbiz newbie)
>> Web Developer/IT Department
>> 800.544.8665 ext 273
>> [hidden email]
>>
>>
>
>