So I have a component in AEM that has an edit bar. Dialog mode of this bar is set to floating, and I need to change the title of the dialog. I have read all the docs I could find and have tried changing the dialog title as it would normally be done, but all that ever shows up is the default "Edit Component" title.
Can this be changed? And if so, how?
Edit: After removing the xtype as suggested, I was able to get the titles to show. This however caused another problem for my dialog that had an xtype of tabpanel. Those components now only have the first tab defined.
This issue occurs mostly because, the xtype for the cq:dialog node would be set to something else (most probably panel or tabpanel) instead of dialog.
Check for the same, and in case it has been set, change the xtype to dialog or remove the xtype altogether in order to view the title in the dialog's edit mode.
Related
I need to have a shell tab bar with all options unselected.
The default behaviour is to have the first option selected.
An alternative is to have a dummy option and hide it but even this is no possible.
Unfortunately , this should can not be realzied in current version of Shell . It should be the limit of Shell .
Tab class :The Tab class includes the following properties that control tab appearance and behavior:
...
IsChecked
, of type boolean, defines if the item is currently highlighted in the flyout.
...
However this is a read-only property .And there is no other propery can be setted by not showing unselceted status .If want to realzie it , maybe you can have a try with Shell Custom Renderers .
My workaround is:
1. Create a first Tab (I called Home).
2. This first tab shows a Page with a background image, a logo on the center and a Label on the footer with the following message: "Please select an option".
It's not the ideal solution but it was accepted.
Was wondering if it was possible to have a drop down widget in app maker be required. In other words, users could not click submit unless they had selected a value from a down down menu. Kind of like how validation on text boxes.
When looking at the property editor for a drop down widget I don't see anything that will allow me to set the above requirement out of the box.
Below is the property editor for a drop down, you will notice there is no validation options.
Below that is the text box property editor with the validation option expanded. I basically need the same functionality for my drop down menu.
If anyone dealt with a similar issue I would appreciate any input.
Of course you have that option.
Look under DropDown menu you will find option called allowNull, deselect that option. Also select validationDisplay check box from 'Other' menu and users will have to choose from a drop down menu always.
Below are the screen for your reference,
Dropdown menu allowNull option,
Other menu validationDisplay option,
This is a screenshot if you put a Menu on a StringField:
This is a screenshot if you put a Tooltip on a StringField:
This is a screenshot if you put a Menu and a Tooltip on a StringField:
the (i) icon from the tooltip is the button to open the menu list.
the tooltip text is not visible.
Did I miss something?
Is this a known issue?
Yes, this is a known issue. If a tooltip and a menu are provided, a combined popup should be shown including the tooltip text and the menu items. But this has not been implemented yet. Feel free to open a bug.
However, if you only have one action you could set the property hasAction to true instead of using a menu. This will bring up a clickable arrow inside the field, actually intended to follow a link or open the email client. But you could also use it for any other action as well, just implement execAction. Please note that this feature is only available for string fields so far.
StringField with hasAction=true:
I am using tab navigator. And it has thee tabs "Search", "Show as text", "Show on map"
I have a address search box in Search tab. I would like to hide other two tabs if search has not happened yet. So if user hasn't searched any thing other two tabs shouldn't be visible.
Can you please tell me how can I achieve this?
Hiding tabs is a preferred way.
Second option is to disable tabs until search is done.
There are a couple ways to do this.
Use the TabNavigator's getTabAt() method which returns the Button that makes up the visual tab and set the visible property to false. It can be tricky with bindings.
The other option is to addChildAt or removeChildAt on the TabNavigaor depending on what tabs you want to show or hide.
As you mention disabling could also work. Do this by as well setting the tab's container to disabled.
I had used removeChildAt on tab navigator and works fine. But if you want to do specific actions on selected Tab then you should think about other solution because the removedChild is no longer available in tab navigator.
In my flex app I have custom tooltips on buttons that hide and show based on user context.
The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should not show the tooltips.
For some reason all tooltips are showing.
Is there a way to detect if a button is not in current view, like on a un-selected tab?
If you gave us some code I could check this out, but would this work?
if(button.parent.visible) { showTip(button);}
Instead of custom coding for each button, make use your tabnavigator's creation policy is set to "auto".
Check this link for more details
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html