Need to provide underline below accesskey for button in jsf 1.2 - jsf-1.2

Need to provide underline below accesskey for button in jsf 1.2
Suppose access key is CTRL+SHIFT+S and button text is Submit, So only below S there should be underline.
Please help how to do it.

There is no possibility of doing the thing so straight forward, but there are several work arround of the problem. Here is two of them:
1.You can do it using background image in Button.
2. You can write a javascript function to underline the desired text of the button
and call the function in onload event of the html body.
Cheers and happy coding!

Related

What additional code can allow me to center YouTube subscription button on my webpage?

I have used the code from the Configure a Button and the button shows up on my webpage, but it is stuck all the way to the left. Nothing I try that normally works helps. It is stuck to the left.
What code can I add to the normal Configure a Button code to center the button on my webpage, and where exactly do I place this code?
I use Expression Web.
Thank you!

Images on buttons? It must be easy

It seems a very simple requirement.
How do I put an image on a button? The delete button has a style variant of Icon, but I can't see where the image is coming from.
Can anyone point me in the right direction?
Where can I find all App Maker button icons? ...partially solved my problem, in that I can see the text value is used to find the icon resource, but I would like to know how to put my own image on a button.
If you really want to use an image file of your own, you can insert it as an Image widget, and then use the onClick event for the image to set the button's action.
With that said, I am a huge fan of the Material icon set that's linked from the Where can I find all App Maker button icons? question. I can pretty much always find an icon that works for what I need; then it's just a matter of setting the button style to Icon and using the name of the icon as the button text.

How to insert text into popup using Robot framework?

I have a button on clicking on it it is opening a Popup. The Popup contains below fields like., Textbox, OK and Cancel buttons. I am fine with cancel and Ok buttons. Help me in Giving text to that textbox using Robot Frame work. I am not able to find the Id/Name/Xpath of that particular field.
Assuming that the popup is a proper window and not an alert, you just need to select the window after it pops up. After that, your usual keywords like Input Text will work as expected.
The selenium2library user guide explains how to do this.
Input text is the way to go about this but what the locator is depends on how you are creating this pop-up. Please show us the code you are using to create the pop-up and then we can help you to add a locator to it. Generaly I use jquery locators as they are incredibly powerful so I would recommend looking to that as a way forward.

Link jQuery-UI/Kendo-UI to make live changes to elements in page designer

I apologize if the title was not clear enough. I am working on a project where a user can design a page (something like Wix). I am continuing on a project left in-complete by some developer. The sequence of action is.
The user clicks on a link which adds an element on the page (e.g. textElement, picture, slider...)
There is an edit button for each element. Clicking which opens a dialog box.
On the dialog box there are sliders and color picker drawn using Kendo-UI. Using them the user can change the style settings for the element (e.g Font-Color, BG-Color, Font Size...)
What I want now is to apply/show the changes live on that element. I have the id available for each element. I can bind each of the style selectors and apply the changes live to the text element. But that does not seem the right choice as in future we might add another style selector in the dialog box, and that would mean adding the code for binding this new selector.
What I wanted to know was that is there an alternate or preferably easy way to do this?
Regards
Share some code with the basic idea that you follow, cause it's not getting clear what you did. It sounds like you can use the MVVM framework feature to help you for that.

Text Input Remove Button like Tag in Flex

In Flex Application how to add Remove tag ?
Another Ex: StackoverFlow Tags Section.. when type Fx then hit Space some image will be adding..
Just i want some suggestion....
use a library "flex-autocomplete" which is much useful for tag. you can change a skin of tag because you have full source code of it. you can take a demo of this library from here
http://flex-autocomplete.com/demo/#
you can download Source code of this library from here
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1721530
May this will help you..!
I think you can use a dataGroup for this purpose, add an itemRenderer in dataGroup.
and as JK Patel said add a textInput which have auto-complete functionality, add a BorderContainer for border styling around textInput. Bind a list of tags in datagroup.
here some help regarding dataGroup.
(http://help.adobe.com/en_US/flex/using/WS64909091-7042-4fb8-A243-8FD4E2990264.html)
search by yourself for more help...
here an other example.
(http://www.hufkens.net/2009/06/flex-4-datagroup-and-itemrenderers/)
Have a look in to this Auto complete component which looks same as what u want. Change the style to facebook in the drop down list
DEMO
Facebook like AutoComplete text input demo
SOURCE
Source
Developer site Hillel Coren AutoComplete

Resources