That would be a really neat feature suggestion.  It wouldn't be too hard to
implement:
1) Add a gp that lets you disable a portlet if you put its id in it
2) Change the portlet tag look for its id within the gp that
enables/disables them
3) (optional) Create a management page to let the user add/remove portlets
to that list

Is that what you're suggesting?  If so, we should do a writeup and add it
to the projects.openmrs.org page.

Ben


On Thu, Nov 24, 2011 at 3:30 AM, Yves GAKUBA <[email protected]> wrote:

> Hi Devs,
>
> I am trying to create a configurable patientDashbaord and the idea is to
> use globalProperties to set what will be displayed there.
> What I did is, from the existing patientDashboardForm, requires to a div,
> tab,... that its corresponding global property is set to true for it to be
> displayed (same idea as the one used for Form Entry Tab) and then I
> override the openmrs-runtime.properties file as documented on the wiki (
> here<https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime+Properties>).
> This is working fine for everything directly created on the
> patientDashboardForm.jsp file.
> I wondering if there is a way to do the same thing for all
> portlets(OpenMRS default portlets), for example use the same idea to
> display the box containing patient programs.
>
> Thanks,
>
> --
> Yves GAKUBA
>
>  ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to