Hi all,
I'm not sure whether this is a obvious function or not, but I can't find much info about it from the net. Currently I have a set of key + values stored in a entity and they are constants figures that will be used in performing calculation. The sample value are like: ID VALUE factorA 222 factorB 333 However in display , i would like to display the ID with i18n support, which can be obtain from XUiLabels. Since the values are fixed (they're constants) so is it possible for me to map them using the description field in the <display> tag? Example something like: In the form XML: <field name="typeId" title="${uiLabelMap.TypeId}"><display description="${uiLabelMap.<Some way to put in the value of typeId here> }"/></field> In the XUiLabels XML: <property key="factorA"> <value xml:lang="en">Factor A</value> <value xml:lang="my">Faktor A</value> </property> Thanks FooShyn |
Please refer CommonEntityUiLabels.xml.
Thanks & Regards -- Deepak Dixit HotWax Media Pvt. Ltd. www.hotwaxmedia.com Contact :- +91-98267-54548 Skype :- deepakdixit On Jul 5, 2012, at 3:08 PM, Foo Shyn Chung wrote: > Hi all, > > I'm not sure whether this is a obvious function or not, but I can't find > much info about it from the net. Currently I have a set of key + values > stored in a entity and they are constants figures that will be used in > performing calculation. > > The sample value are like: > > ID VALUE > factorA 222 > factorB 333 > > However in display , i would like to display the ID with i18n support, > which can be obtain from XUiLabels. Since the values are fixed (they're > constants) so is it possible for me to map them using the description field > in the <display> tag? > > Example something like: > > In the form XML: > > <field name="typeId" title="${uiLabelMap.TypeId}"><display > description="${uiLabelMap.<Some way to put in the value of typeId here> > }"/></field> > > In the XUiLabels XML: > > <property key="factorA"> > <value xml:lang="en">Factor A</value> > <value xml:lang="my">Faktor A</value> > </property> > > > Thanks > FooShyn smime.p7s (6K) Download Attachment |
Hi Deepak,
I'm having problem locating that file. May I know which component it's in? Thanks FooShyn On Thu, Jul 5, 2012 at 6:02 PM, Deepak Dixit <[hidden email]>wrote: > Please refer CommonEntityUiLabels.xml. > > > Thanks & Regards > -- > Deepak Dixit > HotWax Media Pvt. Ltd. > www.hotwaxmedia.com > Contact :- +91-98267-54548 > Skype :- deepakdixit > > On Jul 5, 2012, at 3:08 PM, Foo Shyn Chung wrote: > > > Hi all, > > > > I'm not sure whether this is a obvious function or not, but I can't find > > much info about it from the net. Currently I have a set of key + values > > stored in a entity and they are constants figures that will be used in > > performing calculation. > > > > The sample value are like: > > > > ID VALUE > > factorA 222 > > factorB 333 > > > > However in display , i would like to display the ID with i18n support, > > which can be obtain from XUiLabels. Since the values are fixed (they're > > constants) so is it possible for me to map them using the description > field > > in the <display> tag? > > > > Example something like: > > > > In the form XML: > > > > <field name="typeId" title="${uiLabelMap.TypeId}"><display > > description="${uiLabelMap.<Some way to put in the value of typeId here> > > }"/></field> > > > > In the XUiLabels XML: > > > > <property key="factorA"> > > <value xml:lang="en">Factor A</value> > > <value xml:lang="my">Faktor A</value> > > </property> > > > > > > Thanks > > FooShyn > > |
Setup whole project in eclipse and use Ctrl+Shift+R for the lookup.
On Thu, Jul 5, 2012 at 3:38 PM, Foo Shyn Chung <[hidden email]> wrote: > Hi Deepak, > > I'm having problem locating that file. May I know which component it's in? > > Thanks > FooShyn > > On Thu, Jul 5, 2012 at 6:02 PM, Deepak Dixit > <[hidden email]>wrote: > > > Please refer CommonEntityUiLabels.xml. > > > > > > Thanks & Regards > > -- > > Deepak Dixit > > HotWax Media Pvt. Ltd. > > www.hotwaxmedia.com > > Contact :- +91-98267-54548 > > Skype :- deepakdixit > > > > On Jul 5, 2012, at 3:08 PM, Foo Shyn Chung wrote: > > > > > Hi all, > > > > > > I'm not sure whether this is a obvious function or not, but I can't > find > > > much info about it from the net. Currently I have a set of key + values > > > stored in a entity and they are constants figures that will be used in > > > performing calculation. > > > > > > The sample value are like: > > > > > > ID VALUE > > > factorA 222 > > > factorB 333 > > > > > > However in display , i would like to display the ID with i18n support, > > > which can be obtain from XUiLabels. Since the values are fixed (they're > > > constants) so is it possible for me to map them using the description > > field > > > in the <display> tag? > > > > > > Example something like: > > > > > > In the form XML: > > > > > > <field name="typeId" title="${uiLabelMap.TypeId}"><display > > > description="${uiLabelMap.<Some way to put in the value of typeId here> > > > }"/></field> > > > > > > In the XUiLabels XML: > > > > > > <property key="factorA"> > > > <value xml:lang="en">Factor A</value> > > > <value xml:lang="my">Faktor A</value> > > > </property> > > > > > > > > > Thanks > > > FooShyn > > > > > > -- > Thanks, > Deepak Agarwal, > > Paxcel Technologies Pvt Ltd. > Hartron Complex, Sector 18, Gurgaon, India. > E-Mail: [hidden email] > Mobile: +91 9910322604 > > |
Ok found it, it's CommonEntityLabels.xml .....Thanks for the pointer :)
Thanks FooShyn On Thu, Jul 5, 2012 at 6:10 PM, Deepak Agarwal <[hidden email]> wrote: > Setup whole project in eclipse and use Ctrl+Shift+R for the lookup. > > On Thu, Jul 5, 2012 at 3:38 PM, Foo Shyn Chung <[hidden email]> wrote: > > > Hi Deepak, > > > > I'm having problem locating that file. May I know which component it's > in? > > > > Thanks > > FooShyn > > > > On Thu, Jul 5, 2012 at 6:02 PM, Deepak Dixit > > <[hidden email]>wrote: > > > > > Please refer CommonEntityUiLabels.xml. > > > > > > > > > Thanks & Regards > > > -- > > > Deepak Dixit > > > HotWax Media Pvt. Ltd. > > > www.hotwaxmedia.com > > > Contact :- +91-98267-54548 > > > Skype :- deepakdixit > > > > > > On Jul 5, 2012, at 3:08 PM, Foo Shyn Chung wrote: > > > > > > > Hi all, > > > > > > > > I'm not sure whether this is a obvious function or not, but I can't > > find > > > > much info about it from the net. Currently I have a set of key + > values > > > > stored in a entity and they are constants figures that will be used > in > > > > performing calculation. > > > > > > > > The sample value are like: > > > > > > > > ID VALUE > > > > factorA 222 > > > > factorB 333 > > > > > > > > However in display , i would like to display the ID with i18n > support, > > > > which can be obtain from XUiLabels. Since the values are fixed > (they're > > > > constants) so is it possible for me to map them using the description > > > field > > > > in the <display> tag? > > > > > > > > Example something like: > > > > > > > > In the form XML: > > > > > > > > <field name="typeId" title="${uiLabelMap.TypeId}"><display > > > > description="${uiLabelMap.<Some way to put in the value of typeId > here> > > > > }"/></field> > > > > > > > > In the XUiLabels XML: > > > > > > > > <property key="factorA"> > > > > <value xml:lang="en">Factor A</value> > > > > <value xml:lang="my">Faktor A</value> > > > > </property> > > > > > > > > > > > > Thanks > > > > FooShyn > > > > > > > > > > -- > > Thanks, > > Deepak Agarwal, > > > > Paxcel Technologies Pvt Ltd. > > Hartron Complex, Sector 18, Gurgaon, India. > > E-Mail: [hidden email] > > Mobile: +91 9910322604 > > > > > |
Free forum by Nabble | Edit this page |