Return-Path: Delivered-To: apmail-incubator-beehive-user-archive@www.apache.org Received: (qmail 38482 invoked from network); 5 Jul 2005 20:53:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2005 20:53:58 -0000 Received: (qmail 24192 invoked by uid 500); 5 Jul 2005 20:53:56 -0000 Delivered-To: apmail-incubator-beehive-user-archive@incubator.apache.org Received: (qmail 24172 invoked by uid 500); 5 Jul 2005 20:53:56 -0000 Mailing-List: contact beehive-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list beehive-user@incubator.apache.org Received: (qmail 24158 invoked by uid 99); 5 Jul 2005 20:53:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 13:53:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [60.240.117.38] (HELO main.adamjenkins.net) (60.240.117.38) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 05 Jul 2005 13:53:55 -0700 Received: from localhost ([127.0.0.1]) by main.adamjenkins.net (JAMES SMTP Server 2.2.0) with SMTP ID 683; Wed, 6 Jul 2005 04:53:15 +1000 (EST) Subject: Re: accessing datagrid i18n From: Adam Jenkins Reply-To: mail@adamjenkins.net To: Eddie ONeil Cc: Beehive Users In-Reply-To: References: <1120505205.26729.70.camel@main.adamjenkins.net> <1120548964.26729.78.camel@main.adamjenkins.net> Content-Type: text/plain Date: Wed, 06 Jul 2005 04:53:15 +1000 Message-Id: <1120589595.26729.119.camel@main.adamjenkins.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N So the 'best practice' in this case would be to have another netui-data:declareBundle and get the values from that rather than putting them in the bundle refered to by 'resourceBundlePath' on netui-data:dataGrid and keep the later for messages required by thu datagrid system (e.g. datagrid.msg.nodata)? I wanted to have all my i18n labels for the data grid in the some bundle if possible. Should I declare another netui-data:declareBundle pointing to the same place as the resourceBundlePath of netui-data:dataGrid or is there a way I can get the reference created by the dataGrid? Or should I really have them separated into two different resource files? Does that make sense? Also, is there any good examples of using netui-data:anchorCell or imageAnchorCell. I want to have a 'export' button next to each of my rows and was wondering vhat the best practice for associating that action to the object that is represented by the row in the Controller is. Sorry for all the questions guys...lots to learn. Maven plugin is still underway also...am using a paid project to simultanouesly develop plugin and learn the tech, so I'll get it released after I deliver to the client (hopefully next week). Cheers Adam On Tue, 2005-07-05 at 10:27 -0700, Eddie ONeil wrote: > Adam-- > > In that case, you should be able to use the ${bundle} data binding > context as in other NetUI tags. For example: > > > > > > And so on... > > Let me know if that solves your problem. > > Eddie > > > > On 7/5/05, Adam Jenkins wrote: > > Labels...specifically the header labels. > > > > I'm working through the examples and wondering what is the best way to > > internationalize 'headerText' from the datagrid examples: > > > > > > > > > > > > > > > > > > Cheers > > Adam > > > > On Mon, 2005-07-04 at 15:21 -0700, Eddie ONeil wrote: > > > Adam-- > > > > > > Hey; what specific strings are you attempting to internationalize? > > > Those produced by the data grid in the pager (for example) or those > > > related to user data, labels, etc? > > > > > > Eddie > > > > > > > > > On 7/4/05, Adam Jenkins wrote: > > > > Hi all, > > > > > > > > How do you access the i18n values for a datagrid? i.e. > > > > > > > > When accessing for > > > name="app"/> > > > > > > > > I use ${bundle.app.somevalue}. How do I access from > > > > > > > > > > > resourceBundlePath="requestsgridlabels"> > > > > > > > > or is that attribute just to replace the standard labels and images and > > > > I should continue to use netui-data:declareBundle for my labels? > > > > > > > > Cheers > > > > Adam > > > > > > > > > > > >