-
1. Re: Keyboard shortcuts
sergeysmirnov May 8, 2007 6:28 PM (in response to sztank)there is no such feature out-of-the-box yet.
Could you specify what kind of requirement from client you have. Is this about taking control without mouse or fact access to particular components, such as menu? -
2. Re: Keyboard shortcuts
sztank May 9, 2007 5:40 AM (in response to sztank)Hi,
Its about fast access to particular components, the most important is:
toolBar Items,
switching between tabs in the TabPanel.
Is adding such functionality an easy or rather hard taks? -
3. Re: Keyboard shortcuts
mrohad Aug 30, 2007 3:31 PM (in response to sztank)Srgey ,
my clients would love to go up and down in the table rows using the arrow keys... -
4. Re: Keyboard shortcuts
sergeysmirnov Aug 30, 2007 3:49 PM (in response to sztank)rich:scrollableDataTable has this feature.
rich:dataTable has no "selected row" feature out-of-the-box . So, we cannot speak about navigation while we have no starting point.
I know some people implement the selection on the level of their application and do the navigation there also. -
5. Re: Keyboard shortcuts
stevoffm Dec 2, 2008 5:26 AM (in response to sztank)Hey Sergey,
I also have the requirement to navigate through the table with the arrow keys and then select the row by using the enter key. Is there any out of the box support in Richfaces right now? If not can you give advice how to custom build that feature?
Thanks in advance.
Cheers -
6. Re: Keyboard shortcuts
pa_pete Dec 2, 2008 7:53 AM (in response to sztank)I agree that a keyboard shortcut to switch between the tabs of rich:tabpanel would be a great feature!
Until then does anyone have a solution for a client side implementation of this? I can do it by setting the selectedTab attribute and reRendering but this is very laggy compared to the moust click of changing a tab. Is there a way to call what the moust click calls from JS or something like that?
Thanks -
7. Re: Keyboard shortcuts
sailing8u Mar 5, 2009 12:03 PM (in response to sztank)Modify TabHeaderRendererBase.java - method writeLabel(FacesContext..)
Comment below line
//writer.writeText(label,null);
Add this line
writer.write(" " + label+" ");
This worked for me!
Sai -
8. Re: Keyboard shortcuts
sailing8u Mar 5, 2009 12:11 PM (in response to sztank)Modify TabHeaderRendererBase.java - method writeLabel(FacesContext..)
Comment below line
//writer.writeText(label,null);
Add this line
writer.write("a href='#' style='text-decoration:none; color: black; display:block; font-weight: normal' onclick='return false;'> + label+ "/a");
Please note, replace first character "a" with proper anchor tag similarly close the anchor tag properly.
Thanks!
Sai