We define label with a prefix pageTitle to denote that it is used on a page
title. What about if there is an existing label that can be used for page title. Do the best practice says that we should create a new label with prefix pageTitle. Consider the following case: 1) In CommonUiLabels.xml <property key="CommonQuickAdd"> <value xml:lang="en">Quick Add</value> 2) In EcommerceUiLabels.xml <property key="PageTitleQuickAdd"> <value xml:lang="en">Quick Add</value> Would appreciate any pointers. Thanks, Vikas |
Administrator
|
I'd personnally prefer to use CommonQuickAdd : less work, less troubles, less risks
Jacques From: "Vikas Mayur" <[hidden email]> > We define label with a prefix pageTitle to denote that it is used on a page > title. > What about if there is an existing label that can be used for page title. Do > the best practice says that we should create a new label with prefix > pageTitle. > > Consider the following case: > > 1) In CommonUiLabels.xml > <property key="CommonQuickAdd"> > <value xml:lang="en">Quick Add</value> > > 2) In EcommerceUiLabels.xml > <property key="PageTitleQuickAdd"> > <value xml:lang="en">Quick Add</value> > > > Would appreciate any pointers. > > Thanks, > Vikas > |
In reply to this post by Vikas Mayur-2
Personally, I don't like the PageTitle* approach (and in general
labels specific for titles). Jacopo On Jul 8, 2008, at 12:34 PM, Vikas Mayur wrote: > We define label with a prefix pageTitle to denote that it is used on > a page > title. > What about if there is an existing label that can be used for page > title. Do > the best practice says that we should create a new label with prefix > pageTitle. > > Consider the following case: > > 1) In CommonUiLabels.xml > <property key="CommonQuickAdd"> > <value xml:lang="en">Quick Add</value> > > 2) In EcommerceUiLabels.xml > <property key="PageTitleQuickAdd"> > <value xml:lang="en">Quick Add</value> > > > Would appreciate any pointers. > > Thanks, > Vikas |
+1
Scott 2008/7/8 Jacopo Cappellato <[hidden email]>: > Personally, I don't like the PageTitle* approach (and in general labels > specific for titles). > > Jacopo > > On Jul 8, 2008, at 12:34 PM, Vikas Mayur wrote: > >> We define label with a prefix pageTitle to denote that it is used on a >> page >> title. >> What about if there is an existing label that can be used for page title. >> Do >> the best practice says that we should create a new label with prefix >> pageTitle. >> >> Consider the following case: >> >> 1) In CommonUiLabels.xml >> <property key="CommonQuickAdd"> >> <value xml:lang="en">Quick Add</value> >> >> 2) In EcommerceUiLabels.xml >> <property key="PageTitleQuickAdd"> >> <value xml:lang="en">Quick Add</value> >> >> >> Would appreciate any pointers. >> >> Thanks, >> Vikas > > |
In reply to this post by Jacopo Cappellato-3
On Tue, 2008-07-08 at 13:08 +0200, Jacopo Cappellato wrote:
> Personally, I don't like the PageTitle* approach (and in general > labels specific for titles). > > Jacopo > + 1 Bilgin |
Thanks to all of you. Now it make more sense to me on the label usage.
- Vikas On Tue, Jul 8, 2008 at 5:05 PM, Bilgin Ibryam <[hidden email]> wrote: > On Tue, 2008-07-08 at 13:08 +0200, Jacopo Cappellato wrote: > > Personally, I don't like the PageTitle* approach (and in general > > labels specific for titles). > > > > Jacopo > > > > + 1 > > Bilgin > > |
In reply to this post by Vikas Mayur-2
If we use this label somewhere in b/w FTL or Screen widget by using <label>
tag then it creates confusion to see PageTitle prefix over there. So +1 for CommonQuickAdd approch. -- Ashish On Tue, Jul 8, 2008 at 6:34 AM, Vikas Mayur <[hidden email]> wrote: > We define label with a prefix pageTitle to denote that it is used on a page > title. > What about if there is an existing label that can be used for page title. > Do > the best practice says that we should create a new label with prefix > pageTitle. > > Consider the following case: > > 1) In CommonUiLabels.xml > <property key="CommonQuickAdd"> > <value xml:lang="en">Quick Add</value> > > 2) In EcommerceUiLabels.xml > <property key="PageTitleQuickAdd"> > <value xml:lang="en">Quick Add</value> > > > Would appreciate any pointers. > > Thanks, > Vikas > |
Free forum by Nabble | Edit this page |