Richfaces popup disappearing when clicked on the dropdown menu item - jsf-2

I need to display the context menu when clicked on a rich:dataTable column,and need to show a rich:popupPanel when clicked on a menu item. I could able to get the popup but it is disappearing instantly.Does anyone have an idea on this?
I am using rich:dropDownMenu (RichFaces 4.0.0.Final).
Thanks in Advance.

If you have a domElementAttachment="parent" in your popup, than change it to domElementAttachment="form". If you still have the problem I can insert the full code here.

Related

Suggestions dropdown for Vaadin TextField

How can we add like say google email search, a down arrow icon or even just the function of the down arrow to the Text Field?
The issue is in this component is, It shows suggestion when I start typing. I need to show all suggestions on focus or a down arrow, when I click down arrow it will show all the suggestions. Any help would be appreciated.

Xamarin toolbar item changes color after its clicked if Navigation occurs in IOs

I have a toolbar item implemented in Xamarin Forms project in xaml like this.
<ContentPage.ToolbarItems>
<ToolbarItem Name="Create" Command="{Binding AddNewCabin}" Text="Add Cabin" ></ToolbarItem>
</ContentPage.ToolbarItems>
The command AddNewCabin is binded to a navigation method.
When I come back from the next page the text for the tool bar item is paled out like a visited link. I have no idea how to turn off that kind of behavoiur.
I thought that was an issue with a click event however I tried binding the click or the command to an empty method and the text is not paled out. It is only paled out if there is some Push navigation that occurs afterwards using this event.
I have also tried navigating using other events on the same page from listview for example and in that case the toolbar item is also NOT paled out.
So the only occasion when it is paled out (changes color) is when I navigate using the commnd or event binding of the toolbar item. In all other cases this doesn't occur and I have no idea why. Does anybody know? Thanks.
PS. I Aam testing in IOs.
Sadly, I cannot reproduce behavior of your toolbar item. On my machine navigating from toolbar item works perfectly. Check my gif. Colors of button "Add" are switching properly.
You should try removing and adding your button on the OnAppearing event.
But this is very strange behavior. Can you post more code of your implementation?

UISearchBar button

I was working on the UISearchBar in Xcode and while running the app, this button appeared in the search text field and it's still there since.
Did anybody face this problem before? How to delete this button.
Unselect the Shows Search Results Button attribute in Attributes Inspector.
Untick the box shows search results button. it will hide

prevent popup menu of parent control from showing

I assigned a popup menu to the TPageControl because I want to display it when I rightclick a tab.
So that works...
Unfortunately it also shows the popup menu when I right-click within the actual tab sheet.
This I do not want because my ListBox1 in the tab sheet responds to a right-click to execute some code.
So right now it's a mess, the code fires upon rightclick of the listbox but also then displays a popup menu.
How can I nullify this popup menu in the tabsheet or at least within the listbox itself?
ok, Handled := True; was all that was needed in the popup event of the listbox. Thanks Rufo for pointing me in the right direction.

css highlight current page

I've found some tutorials regarding sprite navigation menu. My problem now when I make it locally, I tried to select each menu and it was not highlighted. Hover is working fine only highlighted selected menu is doesn't work.
here is the link
http://webberzsoft.com/tabmenu/services.htm
Any help would very much appreciated.
Thanks
Tirso
From what I see, all of your pages' <body>s have a "home" id.
For the current page to be highlighted with the CSS rules you're using, you should have corresponding body id's for each page.

Resources