Thanks -

For #1 - I assume you mean that the title attribute is not set in the
<displaytag:column> tag.  It is not.  Setting it does seem to override the
titleKey= attempt.

#2 - I do have
locale.resolver=org.displaytag.localization.I18nStrutsAdapter  set in my
displaytag.properties file.  I have tried it with and without and it seems
to make no difference.

#3 - jstl.jar is in the war file.

The way I am calling this tag is:

<display:table id="row" name="userList" border="0" cellpadding="3"
cellspacing="1"
    width="100%" align="CENTER" class="tblClrHm" export="true"
    pagesize="10"
    requestURI="user.do">

         <display:column property="userId" titleKey="userlist.userid"/>
 . . .

</display:table>

What I get printed out is just the property name as if I didn't specify any
title.

Dave




                                                                           
             "Martin Gainty"                                               
             <[EMAIL PROTECTED]                                             
             com>                                                       To 
                                       "Struts Users Mailing List"         
             10/20/2005 04:56          <user@struts.apache.org>            
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: Displaytag reading column       
               "Struts Users           titles from application resources   
               Mailing List"           file                                
             <[EMAIL PROTECTED]                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           
                                                                           




Good Afternoon David
Dumb question but I have to ask
titleKey will retrieve a message via <fmt:message key="" >
1)title is not defined
2)displaytag.properties must contain the name of the i18nResourceProvider
2)assuming JSTL is available..JSTL.jar is included in your application.war
M-
----- Original Message -----
From: "David Whipple" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Thursday, October 20, 2005 4:30 PM
Subject: Displaytag reading column titles from application resources file


>
> I am having trouble trying to use Displaytag tag and reading the titles
> for
> the columns out of my application resources file.
>
> I have tried:
>
> <display:table>
>   <display:column titleKey="<app.resources.name>" ...>
>  ...
> </display:table>
>
> But it does not seem to read anything.
>
> I have tried searching for the answer, but haven't found anything that I
> can make work.
>
> Does anyone have experience with this?
>
> Thanks,
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to