Hi Matt, It works! After trying,the following also works: <display:setProperty name="paging.banner.item_name"> <fmt:message key="paging.banner.item_name.friend" /> </display:setProperty> Thanks! Maker Su On Wed, Mar 18, 2009 at 11:03 PM, Matt Raible <m...@raibledesigns.com>wrote:
> On Wed, Mar 18, 2009 at 12:41 AM, maker su <make...@gmail.com> wrote: > > Thanks! > > The question 1 is about dispalytag_zh_TW.properties,may use eclipse > plugin > > for properties editor(http://propedit.sourceforge.jp/eclipse/updates/) > > By the way,how to contribute dispalytag_zh_TW.properties? > > The question 2 is displaytag configuration,may just leave empty to the > > property key. > > Here comes a new question: > > how to set the paging.banner.item_name to i18n key? > > <display:setProperty name="paging.banner.item_name" value="?key in > > dispalytag_locale.properties?"/> > > This might work: > > <c:set var="keyName"><fmt:message key="key.in.file"/></c:set> > <displaytag:setProperty name="paging.banner.item_name" value="${keyName}"/> > > > Please hint. > > Thanks. > > Maker Su > > > > On Fri, Mar 13, 2009 at 10:11 AM, tonylu880042 <tonylu880...@gmail.com> > > wrote: > >> > >> Hi Maker, > >> Try to update your displaytag resource file (displaytag_zh.properties) > >> with > >> correct located in src/main/resource folder > >> or you can use mine, please > >> http://www.nabble.com/file/p22488893/displaytag_zh.properties > >> displaytag_zh.properties check out the attachment > >> Best regards, > >> http://tony880042.blogspot.com tony > >> > >> > >> > >> maker su wrote: > >> > > >> > Hi all, > >> > When add > >> > <display:setProperty name="paging.banner.item_name" value="person" /> > >> > <display:setProperty name="paging.banner.items_name" value="people" /> > >> > > >> > The header of table shows that "没æ??¾åˆ°peopleè®°å???/span> ", > >> > My question are: > >> > 1.was it cause by locale? > >> > 2.how to remove header from table? > >> > <display:setProperty name="basic.show.header" value="false"/> will > only > >> > remove table title. > >> > > >> > Please hint, > >> > Thanks, > >> > Maker Su > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/remove-display-tage-table-header-tp22451040s2369p22488893.html > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > >> For additional commands, e-mail: users-h...@appfuse.dev.java.net > >> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >