How to set focus on login box that render when click on sub menu bar? - user-input

I have menu bar that consist on menu and login.Each of this menu has its own sub menu.When I click on the submenu, it will render panel group layout that contain input text for login such as username and password.My question is how to set focus on the username every time i click on submenu on menu bar?
Here I attach the structure of my menu and submenu.
MENU
-Overview
LOGIN
-Employee
-Manager

Use JS to set the focus when your page loads.
Or use google and find this : https://blogs.oracle.com/jdevotnharvest/entry/how_to_programmatically_set_focus

Related

How do I create a pop up window using the AppDrag CMS?

I want a new modal to open up upon the clicking of a link. Can I achieve that using the page builder, and not the code editor in developer mode?
In PageBuilder double click on the button where you want to set your modal popup trigger then click on "Link", there set your target page or external url then set the "open mode" to "Modal"
You can also configure there the size of the modal and if you want to set a Title

ionic framework fixed header with left menu with child view with back button

I am new to ionic framework. I have a requirement where I have login page. Once user has successfully logged in I have to show view with header bar with menu but to on left (clicking on menu shows left menu bar with navigation links). The header bar will always have fixed text I.e. Company name. Below that I have to show view ex. Search text box. Once user clicks on search button user would be redirected to results page. This page will have search results with back button above search result. Be informed this page will also have header with menu button and company name.
To summarize - fixed header with left menu and fixed label. Child view will have optional back button below header

How to choose radiobutton in popup

In my application , I have to choose radio button value (yes or no) after I click on some button in the popup. when I click on the button , user will be navigated to home page of the application, where the user will be displayed with some message in the popup with yes or no value.I have tried the below code " WebElement radioBtn = driver.findElement(By.id("notifyConfirm"));
radioBtn.click(); "..but since the user is navigate from the child page to parent page, I am not able to click on the value in the popup using id....when I execute the script I am getting below error...."Element is not currently visible and so may not be interacted with

MenuBar non selectable sub titles

I have a horizontal menu bar with a child vertical drop-down menu bar.
I would like it so that the child vertical menu bar contains something like the following:
Title text 1
Separator 1
Option 1.1
Option 1.2
Title text 2
Separator 2
Option 2.1
Option 2.2
Is there a way to add non-selectable text into a MenuBar as I don't want the user able to select the "Title text" elements?
myTitleMenuItem.setEnabled(false) ?
As T Broyer answered u can do setEnabled(false). You will get a disabled style for the item which would not look good.
And coming to User experience, User usually expects each item in the Menu Bar to perform some action. When he sees some item with text and not performing any action on clicking, he gets a impression like 'App is not working or not responding'.
So, its always better to create a Menu Item 'Title Text' and also create a Menu Bar with required items and set this menu bar as a child or SubMenu of Title Text item.
So, whenever user hovers or clicks on the 'Title Text item' sub menu will be shown.

How to create a drawer in iphone?

i just want to know how to create a dropdown menu when a button is clicked, just shown in the image.![image][1]
When I click "Default Language" button it should show a list of options to select from. And when this list appears, the other buttons (or rows) below the "Default Language" button should move down so that they are not covered by the popped list.
Regards Nipin.
Try this sample code from Apple. It basically uses a table view and gestures to open up and close different sections of a cell.