This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm using Struts 1.3.8 and I'm having a problem creating a localized link.
I'm using LookupDispatchAction as follows:
Then in my code I have the following:
Now everything works ok in english, because the link will be created with parameter "step=Search" and it will match the localized value retrieved in "getKeyMethodMap" method of the action.
Now if I change language to ES, I have a problem ... the link will still be generated as "step=Search" (it's hardcoded) but the "getKeyMethodMap" method of the action will retrieve "Busca", and so when I click, I receive an error 500:
Error 500: Action[/ScreenSearch] missing resource in key method map
So my question is, how can I use html:param with a value retrieved from localized resource properties of struts?