On 4/26/2012 6:19 PM, Steve Bicker wrote:
Hi,
Is there any capability within RHQ that allows you to define your own
default dashboard for newly created users,
I'm not aware of anything in the GUI that does it. There may be
something, but I don't see it.
or is the built-in dashboard always the default? Or could there be
any
way to create a common dashboard layout that can be shared across users?
There is something in the CLI about storing dashboards:
http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/100/html/API/r...
Disclaimer: I am so far from an expert on the remote API in general that
you should take everything I say with a massive spoonful of salt.
It looks like DashboardManagerRemote will let you specify portlets and
layout options. It *also* looks like the remote API has a method for
creating a shared dashboard. So, theoretically, you could create a
dashboard (GUI or CLI) and then use CLI script to set it to shared. Or
you could add users and then use a CLI script to, say, iterate through
the users in a certain role and create the same dashboard for each role
member. Or something like that.
Haven't tried it myself.
I also have a question about RHQ's portlets and GUI components. I've
noticed that if you have something like a table of values, you have
the options to do things like sort and rearrange the table columns.
However, these changes are never kept if you leave the page and come
back. I don't suppose there is any means for persisting the
modifications that are made like this? In one troublesome example in
particular, I use a table of values as part of the user input within a
custom resource's configuration page. However, I would like the
columns to always be in a particular order. It seems that even if I
define them in my preferred order within the plugin descriptor, they
will always display in alphabetical order on the page. Is there any
way around this?
I am even a less of an expert on the UI design than I am on the remote
API. However, the whole GUI is designed in SmartGWT, and I think the
tables are rendered with some sort of GWT widget. Maybe one of the GWT
forums has information on how to persist a column order.
Probably one of the engineers on the list can answer your questions a
lot better. Oh, you can also try #rhq on Freenode IRC, if you're so
inclined.
Deon