[
http://mifosforge.jira.com/browse/MIFOS-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63977#action_63977
]
Stanley Kwok commented on MIFOS-4550:
-------------------------------------
Buddy pointed out 2 places where breadcrumb/progress indicator are used:
{noformat}
<mifos-src>/questionnaire/src/main/resources/org/mifos/platform/questionnaire/ui/views/selectQuestionnaire.ftl
<mifos-src>/questionnaire/src/main/resources/org/mifos/platform/questionnaire/ui/views/editQuestionGroup.ftl
{noformat}
http://article.gmane.org/gmane.comp.finance.mifos.devel/10819
newblueprintmacros.ftl has a number of breadcrumb macros:
* crumb: does only 1 thing - display first breadcrumb item, "Admin"
* crumbpairs: constructs breadcrumb using key-value pairs where key is a
message bundle key or text shown to the user and "value" is a hyperlink.
* crumbs: constructs breadcrumb from a list of objects. As far as I can work
out, object in the list is an instance of
org.mifos.ui.core.controller.BreadCrumbsLinks
crumbs and crumbpairs macros receive a "breadcrumbs" parameter. The macros can
be invoked in two ways:
{noformat}
[#assign thisSite][@spring.message
"questionnaire.viewAdditionalInformation"/][/#assign]
[#assign breadcrumb = Session.urlMap + {"${thisSite}":""} /]
[@mifos.crumbpairs breadcrumb /]
{noformat}
or
{noformat}
[#assign breadcrumb = {"admin":"AdminAction.do?method=load",
"questionnaire.addQuestionGroup":""}/]
[@mifos.crumbpairs breadcrumb /]
{noformat}
*TODO* - document breadcrumb macros.
> Develop re-usable Freemarker widgets
> ------------------------------------
>
> Key: MIFOS-4550
> URL: http://mifosforge.jira.com/browse/MIFOS-4550
> Project: mifos
> Issue Type: Dev Task
> Reporter: Stanley Kwok
> Assignee: Stanley Kwok
> Fix For: Elsie F
>
>
> Develop re-usable Freemarker widgets that are:
> 1. easy to use
> 2. well documented
>
--
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
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues