[
http://mifosforge.jira.com/browse/MIFOS-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58081#action_58081
]
Kalyan Akella commented on MIFOS-2894:
--------------------------------------
The idea is that we shouldn't have to load localized texts/values from the
database.
- In the database we will still have relations with lookup table. This will
help us towards reporting.
- however we will resolve the textual value by reading the texts from localized
messages.properties
- this is required mostly at UI layer, where localized texts must be displayed.
To do this,
- never use masterentity.getName() while propagating data to UI layers
(Controller or Action classes)
- use dtos
- pass the lookupvalueId(s) to the dto.
- use {spring message} or {struts message} to resolve localized texts for the
lookupValueId(s)
> Remove localization from Master Entries
> ---------------------------------------
>
> Key: MIFOS-2894
> URL: http://mifosforge.jira.com/browse/MIFOS-2894
> Project: mifos
> Issue Type: Improvement
> Affects Versions: Gazelle Backlog
> Reporter: Tejus Datta
> Assignee: Kalyan Akella
> Priority: Major
>
> Try an experiment first with CategoryTypeEntity. This class should not
> implement getName(), it should only need to pass the lookup value up to the
> JSP (via, in this case, FeeDto), and the JSP can use the "mifoslabel" tag to
> do the lookup.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues