[
http://mifosforge.jira.com/browse/MIFOS-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Van Mittal-Henkle updated MIFOS-3014:
-------------------------------------
Description:
The goal of this task, is to get the links on the freemarker page to link back
in to the legacy struts pages. To do this, will mean taking the links from the
jsp page and using them from the ftl page.
It may be useful to do a "view source" in a web browser on the current
admin.jsp page as it is displayed in a web browser to see how all the page
links are actually rendered.
A typical link might look like:
<a id="admin.link.viewSysUsers"
href="PersonAction.do?method=loadSearch&recordOfficeId=${UserContext.branchId}&recordLoanOfficerId=${UserContext.id}&randomNUm=${sessionScope.randomNUm}">
<mifos:mifoslabel name="admin.viewsysusers"/></a>
As a first pass the above should be able to be converted as
<a id="admin.link.viewSysUsers"
href="PersonAction.do?method=loadSearch&recordOfficeId=${model.request.getSession().getAttribute("UserContext").branchId}&recordLoanOfficerId=${model.request.getSession().getAttribute("UserContext").id}">
[[email protected] "admin.viewsysusers" /]</a>
This would mean adding an admin.viewsysusers message to message.properties. It
would be nice to clean up the access to the "UserContext" from the session
somehow too.
> Map links in admin.ftl page back into existing struts pages
> -----------------------------------------------------------
>
> Key: MIFOS-3014
> URL: http://mifosforge.jira.com/browse/MIFOS-3014
> Project: mifos
> Issue Type: Dev Task
> Reporter: Van Mittal-Henkle
>
> The goal of this task, is to get the links on the freemarker page to link
> back in to the legacy struts pages. To do this, will mean taking the links
> from the jsp page and using them from the ftl page.
> It may be useful to do a "view source" in a web browser on the current
> admin.jsp page as it is displayed in a web browser to see how all the page
> links are actually rendered.
> A typical link might look like:
> <a id="admin.link.viewSysUsers"
> href="PersonAction.do?method=loadSearch&recordOfficeId=${UserContext.branchId}&recordLoanOfficerId=${UserContext.id}&randomNUm=${sessionScope.randomNUm}">
> <mifos:mifoslabel name="admin.viewsysusers"/></a>
> As a first pass the above should be able to be converted as
> <a id="admin.link.viewSysUsers"
> href="PersonAction.do?method=loadSearch&recordOfficeId=${model.request.getSession().getAttribute("UserContext").branchId}&recordLoanOfficerId=${model.request.getSession().getAttribute("UserContext").id}">
> [[email protected] "admin.viewsysusers" /]</a>
> This would mean adding an admin.viewsysusers message to message.properties.
> It would be nice to clean up the access to the "UserContext" from the session
> somehow too.
--
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