Hi,
I am using struts MessageResources along with displayTag. But instead of
1 MessageResource.peoperties file I have multiple .properties files and
all these are configured in Struts-Config.xml as below,
<message-resources parameter="com.aoins.cp.resources.ButtonResources"
null="false" key="buttons"/>
<message-resources parameter="com.aoins.cp.resources.ErrorResources"
null="false" key="errors"/>
<message-resources
parameter="com.aoins.cp.resources.FieldLabelResources" null="false"
key="fields"/>
<message-resources
parameter="com.aoins.cp.resources.BillingPageTextResources" null="false"
key="billing"/>
I am able to access the key values from the above .properties files
(ButtonResources.properties, ErrorResources.properties, etc) in my JSP
pages as below which doesn't have any displayTag code,
<bean:message bundle="buttons" key="button.label.login"/>
When I had only one .proprties file I used to access key values for
displayTag column titles as below and was working fine,
<display:column property="acctDesc" titleKey="field.label.acctDesc"
headerClass="tableHeader" sortable="true" style="width: 250px;
text-align: left;" />
But with multiple .properties files this is not working and below is the
exception message,
Error 500: ServletException in
'/pages/body/billing/paymentManager/recurPmtList.jsp': Cannot find
message resources under key org.apache.struts.action.MESSAGE
Thanks for any inputs for this problem.
Thanks,
Mahantesh
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel