ModelAdmin - Can you add sub tabs to a managed model view? - silverstripe

Silverstripe 3
I have a ModelAdmin setup with four managed models. When you load the ModelAdmin by clicking in the left menu, you see each managed model separated at the very top tab row.
For one of these managed models, I want to have the sub tab row display a separate gridfield for a subset of the managed model data. Note I am not trying to add sub tabs to the model itself. I know that can be achieved using getCMSFields and addFieldsToTab.
Is there an equivalent of doing this on the managed model view before users click into an actual instance of the model?
EDIT: Alternative solution I just thought of - being able to add a new top level tab to a page along side "Content", "Dependant Pages" and "Settings".

Related

Dynamically adding or deleting widgets in google-app-maker

I am trying to develop an interface that binds to a complex backend model. What I need is a way for scripting to enable me to have a page load different page fragments based on what list row a user clicks on. As an example, on the left side of the page there would be a vertical list displaying different sections in a large assessment 'document' (mental health assessment) (each section would be it's own data model [e.g. presenting problems family history, trauma history, etc...). In the main section of the page to the right, you would have room for a page fragment or some type of container that would contain the actual page or page fragments associated with each section listed in the list on the left. When you click on the section name in the list to the left, scripting would be able to have the correct page fragment or page loaded inside the container.
The data model needs to be this complex because there are multiple types of "documents' and the system needs to be able to dynamically load a list of document sections and allow the user to load the form for each section type.
THIS IS FROM Markus Malessa: The dynamic page content is definitely possible, however since it sounds like a lot of your items are going to be based on hard data, the models really are not dynamic, so you really can't build in dynamic data at run time for example. Rather than visible/invisible properties I might suggest navigating to different pages instead and maybe having many-to-many relations to your list item and if your list item has OldFamilyHistory and NewFamilyHistory data relations incorporate a popup to select which page you may want to navigate to.

How can i use a common header in Cognos among many report pages?

I have a Cognos report and i have created 3 pages and 1 common prompt page. According to a radio selection in the prompt page i show the appropriate among these 3 pages.
In each page i have a block that is the header and there i just show title, current date and the selected values of the prompt controls (parameter values).
This header is the same among all pages and i want to find a way to create only 1 header section and then assign it on the top of each page. So if later i want to change anything in the header i will do it in one place.
Any ideas?
Re-using parts of a report (either from the report or other report in Cognos Connection) can be achieved with the help of layout component refenrences which are inserted into your report page and which refer to other existing components.
To use them proceed as follows:
Indentify the layout component(s) to be re-used (e.g. a table or a text or more or less anything less).
In the property list of that component go to the name and give it a unique name.
In the report page that is supposed to re-use the component drag an instance of the layout component reference to the appropriate location in the page.
Specify the target of the reference by choosing the report and within the report the named component (same name as given above).
Example
A block component (which could be incorporated into a header) is to be re-used. Give the block a name, e.g. my_block:
From the toolbox drag the layout component reference
to the report page. A dialog box opens which permits choosing the target component:

Axapta: is it possible to add a search textbox to filter menu name?

i would like to add a text box on top of the Dynamics Ax 2009 interface, that allow users to filter menu name.
Dynamics Ax has a 'big interface' with a lot of menu, sub menus etc. It would be nice to allow users to filters and visualize only filtered menu item .
Thanks
You will have to create your own toolbar instead of usual AX menu.
You can create toolbar with text field at the top and tree control that will represent filtered menu.
On load of toolbar you can scan menus at AOT and cache placement and labels.
When user enters some text to filter field you will rebuild your tree control according to matching.
There already is similar tool, but unfortunately I forgot it's name.

How do you show table data on tab control?

I have four different tables and I want the data from each table to be shown on four different tabs?
Create four subforms, each based on a different table. Place one subform on each tab's page. If your tables are related, you'll need to either base your main form that contains the tab control on a table or query that contains your key column.
While #Joey's answer is certainly the way to place different tables on different tabs, it can lead to a slow-loading form. In general, I prefer to have one subform control into which I can load different forms as required. The user does not see any difference, in that there is not much difference between clicking a button and clicking a tab.
Me.TheSubFormControlName.SourceObject = "frmForm1"
You can also set the link child and link master fields at runtime, if required.

Which container is typically used for the loading of new custom components into Flex?

In an AIR application, I have a link button for winner statistics. If I click this button, then the statistics are shown on a full page (Canvas) in my application. I have already created the statistics using the Canvas component. Which container is typically used for viewing such data?
Any references? I tried a ViewStack, but will it overwrite the Main page?
Could you give some more information? If you are trying to show tabulated data, you can try a DataGrid. If you have a component you would like to list, then a VBox would work and you could just add your winner stats component to the list.

Resources