Call a button action by a pressed key
It's a silly question but... how can I associate an action to an specific key (F1, F2, and so on...). Because the software I'm doing can not use a mouse.
thanks a lot! ^_^
If you are using Swing, you should definitely learn about the keyboard binding
infrastructure that was introduced in Kestrel (1.3), namely InputMap and
ActionMap:
http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html
This has many advantages over KeyListener. In your case, KeyListener would
only work if the JButton had focus -- d'oh! As I rule of thumb, I never use
KeyListeners/Adapters, unless I can't get keyboard actions to solve the problem.
Similar Messages
-
Jsf command button action bean method call from text fox
Hai Friends,
I want call the command button action bean method from textbox entry time.
because i develop login form that time user enter user name and password if he press enter from password component that time i want to use the commandbutton actionWhat's the problem exactly? Won't the commandbutton action be invoked when you press [enter] in the textbox?
-
Button actions not called.
I have a fairly complicated edt page (lots of data entry components and 3 tables) with a save and a reset button. Somewhere along the line the button actions stopped being called when I click a button in the browser. The buttons' Events-Action properties are set properly. I have a breakpoint set on the first line of the action method, but in debug mode I never get to the breakpoint.
I even added a new button with its own action but it does not get called either.
No virtual forms. I've run Clean and Build on the project. Stopped and started the server, closed and reopened the IDE. Nothing changes.
I created a new test page with a single button. It works fine.
Any other ideas?Do you have a message group component on the page?
If the page was working but now has stopped, it could be that some component is not passing conversion or validation. If you don't have a message associated with the component or a message group component on your page, and some component is generating a runtime error, you won't know about it.
Also, if you right-click the server node and choose View Server Log, you can see if the server is emitting any runtime error messages. -
Button action event not call in dataprovider
hi,
i have JSF table and it's bound to Mysql database table. when i bound the table and run it's working properly but it's button action event is not call action. when i use static jsf table then it's table action event work properly.
my jsp code is
<ui:table binding="#{search.search_table}" id="search_table" lite="true" selectMultipleButton="true" sortPanelToggleButton="true"
style="height: 70px; left: 240px; top: 240px; position: absolute; width: 600px" title="Search Text :" visible="true" width="600">
<ui:tableRowGroup binding="#{search.tableRowGroup1}" id="tableRowGroup1" rows="5" sourceData="#{search.srch_tablevalDataProvider1}" sourceVar="currentRow">
<!-- <ui:tableColumn headerText="Script" id="tableColumn2" width="700">
<ui:staticText id="staticText4" text="#{currentRow.value['search_script']}"/>
</ui:tableColumn>-->
<ui:tableColumn binding="#{search.tableColumn13}" headerText="Search Word" id="tableColumn13" style="#{search.columnStyle}">
<ui:staticText binding="#{search.search_word1}" id="search_word1" text="#{search.search_word1}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{search.tableColumn4}" headerText="#{search_lang['search.contentName']}" height="39" id="tableColumn4"
style="#{search.columnStyle}" width="100">
<ui:staticText id="staticText1" onMouseOver="play_video(this);" text="#{currentRow.value['name']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{search.tableColumn6}" headerText="#{search_lang['search.srchTag']}" id="tableColumn6"
sort="search_tags" style="#{search.columnStyle}">
<ui:staticText id="staticText3" text="#{currentRow.value['search_tags']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{search.tableColumn5}" headerText="#{search_lang['search.tpDetail']}" id="tableColumn5" style="#{search.columnStyle}">
<ui:imageHyperlink action="#{search.action}" id="imageHyperlink1" text="#{currentRow.value['details']}"/>
<ui:button action="#{search.button2_action}" id="button2" text="Button"/>
</ui:tableColumn>
</ui:tableRowGroup>
</ui:table>and back bean code is
public String button2_action() {
// TODO: Process the button click action. Return value is a navigation
// case name where null will return to the same page.
System.out.println("Invoke");
return null;
}i don't know what is problem there if found any solution, help me.You need to make sure that the getter of the datatable value returns exactly the same list in the apply request values phase of the form submit as it did during the render response phase of the initial display. Only this way JSF can find out which action which row was been invoked. Alternatively you can also place the data bean in session scope (which may have more impact), or use for example Tomahawk's t:dataTable with preserveDataModel attribute set to "true".
-
Solution to Button Action not being called in IE
All,
Thought I'd post a solution to a problem I had recently. I have seen variations on a theme elsewhere on the net.
IDE: Java Studio Creator 2, Update 1.
Problem: The button action associated with a button component on a jspx page is not called when using IE 6, but is called using M. Firefox 1.5.
Background: The jspx page is a combination of one core jsp page and four jsp fragments (header, main nav bar, module nav bar, authorization code). Several components are present on the core jsp page (layout components, table, buttons), several on the header, main nav bar, module nav bar fragments (images, hyperlinks, text), JSTL and a lonesome form on the authorization fragment. You can see where I'm going....
Solution: The problem was with the authorization fragment. The authorization fragment is meant to be dropped on pages that I want to protect from users without the authorized role, perhaps by these users trying to navigate to it by URL manipulation. I added some JSTL code to specifically look at the role authorization for the current session user. If not in that role, they are redirected to the home page. Navigation links are secured by similar authorization using the rendered property bound to session data. The form was the problem. Unfortunately, I didn't give much thought to the additional component I would need on the fragment. I had to add something so I picked a layout one. The IDE appears to require a component. To correct the problem, I simply set the rendered property to "false". IE 6 now works fine, M. Firefox 1.5 was always happy. Code example below...
Code Pre:
<?xml version="1.0" encoding="UTF-8"?>
<div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core"
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<c:if test="${SessionBean1.monitor==false}">
<c:redirect url="/faces/Welcome.jsp"/>
</c:if>
<ui:form binding="#{MonCheck.form1}" id="form1" />
</div>
Code Post:
<?xml version="1.0" encoding="UTF-8"?>
<div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core"
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<c:if test="${SessionBean1.monitor==false}">
<c:redirect url="/faces/Welcome.jsp"/>
</c:if>
<ui:form binding="#{MonCheck.form1}" id="form1" rendered="false"/>
</div>Hi there,
Great to know you were able to fix your problem. Thanks for posting the solution as well, Im sure It'll help the community.
Thanks
K -
My apple thunderbolt display (which I purchased 1.5 years ago; OS 10.7.5 Mac Mini) intermittently goes dark, does not wake from sleep after clicking mouse or keyboard, but there is "bonk" sound after clicking mouse or pressing keys, so am thinking it is a hardware problem with the display. Rebooting by pressing the power button turns the screen back on, but the same phenomenon has occurred several times. Could this be a software issue, or do I need to have my display repaired? Your feedback would be appreciated.
Hi ED, tough to tell, but it does sound like it's waking with the bonk, just not displaying.
Long shot but...
I wonder if it's a variation of this, of which I've seen many different symptoms...
Resolution
Move the mouse or trackpad cursor over the center area of the login window so you can see the user icons. Click on the icon of the user that you would like to login as, type in the user's password, and press Return.
If the login window is configured to show only the name and password fields, type in the user's name and password into the fields, and press Return (even if you cannot see the rest of the login window).
Additional Information
This issue will not occur if the display is not sleeping when the account is logged out. Use the steps below to confirm that the account is not configured to log out automatically while the display is sleeping:
1. Open System Preferences > Security & Privacy > General. Click the padlock to unlock the preference pane and enter your admin password. Click the Advanced button at the bottom, then see if the option "Log out after N minutes of inactivity" (where N is the number of minutes) is enabled.
2. Open System Preferences > Energy Saver and configure Display Sleep to occur after the account is logged out, by dragging the slider to a number of minutes that is greater than N was set to in the previous step.
Important: If automatic log out is not needed, disable "Log out after Nminutes of inactivity" in System Preferences > Security & Privacy > General. This will also prevent the issue.
http://support.apple.com/kb/TS4135?viewlocale=en_US -
How to clear a drop down by key on a button action
Hi All
I am new to the webdynpro i have to clear the dropdown by key, i had tired giving the
wdContext.nodeA().invalidate();
on a button action which will navigate to next view after click but it doesn't effect when i come back to the first view can any one help me in doing this.
Regards
AshwinHi Ashwin,
To display the values in DropDownbyKey, yuo need to populate the value in the node before the view is rendered to the user. So must be populating the node in the wddoinit method the view controller or the component controller.
Now just for your knowlegde, DropDownbyKey just holds the one value which is selected by the user, and all other values are automatically invalidated by the framework. So invalidate methos is a wrong choice in this case. You can probably use the function module SET_STATIC_ATTRIBUTES_NULL for a element. For further info you can check IF_WD_CONTEXT_ELEMENT in se24 transaction.
Hope this help.
Cheers !
Ashish -
How can we trape the Keys Pressed on the Keyboard and do action depending on the keys
I want to know how we can capture the keys pressed on the keyboard by the user and do necessary action depending on the key pressed by the user....
For example.... If user press Alt+q the form should go in the Enter Query Mode.
Can anyone tell me how i can do this in Form 6i....
Please Help me out from this problem...
Thanks in Advance
ShanCan somebody point me to what I need to use to
intercept all the 'keys' for an application.
At the moment I have set Focus to parts of the
application when the Mouse is over it, and then get
the Keys with a KeyListener.
Is there a way to get the keys, as long as the Java
app is active.
- Its an image display program, and I want to use keys
for - next image , zooom etc etc.
If soemone could just point me to the right part of
the API to look in?java.awt.Toolkit.addAWTEventListener()
then use the mask defined in AWTEvent.KEY_EVENT_MASK to listen to all the events.
Steve -
Im having a very annoying problem with this damned phone whenevery i try to use the number 9 key either whilst typing in a number or putting a 9 or w,x,y,z into a text messade or application it just returns the phone straight to the menu screen (saving the message into drafts) making it almost impossible to send text messages or dial out! Also when i press the call end button it flashes a number 9 onto the screen briefly then it disappears! The phone is on the o2 network with firmware v11.0.026. Has anybody else suffered with this or have any ideas how to resolve it? I have tried *#7370# with no joy, and the software updater says that the latest firmware available for my product code is v11.0.026!
Thanks in advance!
MikeHey
I had the same dreaded "#9 key error", turned out that steel shaving were being attracted into my device and "sticking" to the board and wires between the main board & keyboards respectively.
Opened the phone myself (warranty doesnt cover shavings),
removed all three speakers,used a large magnet to pull the shavings out,wiped the inside clean with a dry cloth & installed brand new speakers.
Problem solved.Minimum cost.
In conclusion,I'd say the N95 is more of an office/on the road type of phone,not well suited for industrial use. Still love the phone and would rather lay out every six months for new speakers then settle for a lesser device.
Cheers -
Have just tried to open iTunes, and I get a blank window (no dialogue, just a blank window) with an OK button. When I press OK, it closes down (not having opened anything) and shuts down. I've tried opening while holding down the option key, as I would to open with a new iTunes folder, and I"m getting the same empty window with an OK. Very frustrating, has anyone seen this, and can anyone help? Thanks in advance, Kate
so, I called a friend who's more experienced than I am. He walked me through some steps, checking iTunes and we got the same dialogue -free window with the OK button. We then uninstalled iTunes, downloaded it afresh, and it opened with no problems. Seems to all be there, music, tv, etc. Not sure what the issue was, but it has stopped this problem.
-
Button actions sometimes buggy
we have quite a lot of buttons with 4 or 5 actions that are controlling several MSO most of the time they work, but on some pages they are behaving irratically even tho the pages all follow the same template with the same action.
For instance we have a button that triggers a MSO that is showing different images of a product, that button also has actions to change all other MSO's on the page to a blank state so they are hidden, for most pages this is working as expected yet on some the button only works the first time you press it, the second time it does nothing - but if you slightly swipe the page then the button action will suddenly workYes I'm using the latest tools.
The pages where this is an issue are ones where there are buttons inside MSO although they are not the buttons that are causing the problem.
We have 2 products on each page, each has an 'interactivity bar' beneath containing 10 buttons that display a key feature panel, colour change image, specs panel, video and product features. Which are all MSOs. Each button has action to go to next stage of the relevant MSO and to a blank state on all other MSO (they all appear in the same place on the page so need to be hidden).
Most pages are working ok but one section is more complex as alongside the colour changes there are alternative angled images and for that to work we have had to put buttons inside the MSO so the button is different on each colour image and each angled image (quite hard to explain!) but basically the products are fridge freezers, so the colour change button cycles between 3 or 4 colour variation and clicking the alternate angle button will cycle through open/ closed / angled image but just for the colour variation that you are currently showing. This is working but is causing the other buttons to misbehave.
I've sort of got round it by changing all the other buttons on these pages from go to next state (so the same button opens and closes the panel) to just go to a specific state, its the only compromise I could come up with without reworking the whole thing, which is on deadline tomorrow! -
Value set in constructor is not getting saved in button Action method
Hi All,
I am not understanding why the value set ( On Condition )in constructor is not hold in the button actoin method.
Could any body explain me on that
for this I will try to explain with sample example
I have taken a button and add a integer property in session bean.
now if session bean's property is even then I am trying to set the button value to bidNow other wise Accept Invitation.
Till this opstion everything is OK
but once I click on Button,
Constructor is doing the right job only. But I do not understand why in button action I am getting the First Value only.
public Page1() {
// <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
try {
if (getSessionBean1().getIntValue()%2==0)
button1.setValue("BidNow");
else
button1.setValue("Accept Invitation");
getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
log("In Constructor Button Value : "+button1.getValue());
} catch (Exception e) {
log("Page1 Initialization Failure", e);
throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
// </editor-fold>
// Additional user provided initialization code
public String button1_action() {
// TODO Replace with your code
log("In Action Button Value : "+button1.getValue());
return null;
}and here is the log
[#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:20.234+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:20.250+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:35.906+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:35.921+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]As per this log every time I am getting Bid Now only in action, though the value is changed in Construtcor
Can u explain the reason for thisHi Sudhakar,
Please try the following and you will get an idea as to what is happening:
1. Drag and drop a button, 2 outputText components
2. Add a property to the session bean called intValue of type int. Customize it to set it's initial value to 0
3. Add the following lines of code to the constructor
outputText1.setValue("" + getSessionBean1().getIntValue());
getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
4. Double click on the button component to go to the button action method.
5. Add the following line of code
outputText2.setValue("" + etSessionBean1().getIntValue());
6. Save and run the application
7. Watch the values of outputText1 and outputText2 with each click of the button
Also, try the application with the following code block in the button action method:
if(getSessionBean1().getIntValue()%2==0){
button1.setValue("Bid Now");
} else{
button1.setValue("Accept Invitation");
getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
outputText1.setValue(button1.getValue());
outputText2.setValue("" + getSessionBean1().getIntValue());
When the above code block is in the button action method the values set to button are as expected.
Hope that helps
Cheers
Giri :-) -
Macbook Pro mid 2009 13 inch suddenly freezes and grey screen appears stating press key to restart
Macbook Pro mid 2009 13 inch suddenly freezes and grey screen appears stating press key to restart. Here is my recent crash report. Please help me.
Anonymous UUID:
714EBD8C-083D-E200-A9BD-6F925A8F8F14
Thu May 29 22:30:04 2014
panic(cpu 0 caller 0xffffff80026dbf5e): Kernel trap at 0xffffff80026d1197, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffef8022f973c8, CR3: 0x0000000089778000, CR4: 0x0000000000000660
RAX: 0x000000000000001c, RBX: 0x00000000e00002c2, RCX: 0xffffff8002abb7d4, RDX: 0xffffef8022f973c0
RSP: 0xffffff800d2cb6a0, RBP: 0xffffff800d2cb6a0, RSI: 0x0000000000000001, RDI: 0xffffef8022f973c0
R8: 0x0000000000000001, R9: 0x0000000000000001, R10: 0xffffff8014ea65e8, R11: 0xffffff809b3160f0
R12: 0xffffef8022f973c0, R13: 0x0000000000000001, R14: 0xffffff800d2cb6ec, R15: 0x0000000000000001
RFL: 0x0000000000010202, RIP: 0xffffff80026d1197, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffef8022f973c8, Error code: 0x0000000000000000, Fault CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff800d2cb330 : 0xffffff8002622fa9
0xffffff800d2cb3b0 : 0xffffff80026dbf5e
0xffffff800d2cb580 : 0xffffff80026f3456
0xffffff800d2cb5a0 : 0xffffff80026d1197
0xffffff800d2cb6a0 : 0xffffff80026afd0e
0xffffff800d2cb6d0 : 0xffffff8002abb751
0xffffff800d2cb710 : 0xffffff8002abb54f
0xffffff800d2cb760 : 0xffffff7f8413fd2f
0xffffff800d2cb7a0 : 0xffffff7f84188b21
0xffffff800d2cb7e0 : 0xffffff7f841708d2
0xffffff800d2cb850 : 0xffffff7f84170fc8
0xffffff800d2cb890 : 0xffffff7f8413dfea
0xffffff800d2cba10 : 0xffffff7f8416d940
0xffffff800d2cbad0 : 0xffffff7f8413cad9
0xffffff800d2cbb20 : 0xffffff8002acea56
0xffffff800d2cbb40 : 0xffffff8002ad0051
0xffffff800d2cbba0 : 0xffffff8002acdabf
0xffffff800d2cbcf0 : 0xffffff80026b66a8
0xffffff800d2cbe00 : 0xffffff8002626bf1
0xffffff800d2cbe30 : 0xffffff80026139f5
0xffffff800d2cbea0 : 0xffffff800261e043
0xffffff800d2cbf20 : 0xffffff80026c975d
0xffffff800d2cbfb0 : 0xffffff80026f3a28
Kernel Extensions in backtrace:
com.apple.GeForceTesla(8.2.4)[24ED915E-02F3-3A31-8502-6AA41FFCA420]@0xffffff7f84 12b000->0xffffff7f841f5fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[244D4E48-78E6-3369-8D76-285C66EF9BF4]@0xffffff 7f82cbe000
dependency: com.apple.iokit.IONDRVSupport(2.4.1)[B93BBFC9-9ED5-3DDD-8CED-5EDA081BB997]@0xff ffff7f8324b000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[B889D3AB-CCC0-3FCD-A83E-D2E3E4CB537B]@0 xffffff7f83208000
dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[6EB3FF52-A4F6-3496-AE9C-D89B00F DE504]@0xffffff7f8325b000
BSD process name corresponding to current thread: Skype
Mac OS version:
13D65
Kernel version:
Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64
Kernel UUID: ADD73AE6-88B0-32FB-A8BB-4F7C8BE4092E
Kernel slide:
0x0000000002400000
Kernel text base: 0xffffff8002600000
System model name: MacBookPro5,5 (Mac-F2268AC8)
System uptime in nanoseconds: 60200033152435
last loaded kext at 44797399467641: com.apple.filesystems.smbfs
2.0.2 (addr 0xffffff7f84b15000, size 335872)
last unloaded kext at 15796237223278: com.apple.macos.driver.AppleUSBEthernetHost
7.0 (addr 0xffffff7f84b15000, size 20480)
loaded kexts:
net.telestream.driver.TelestreamAudio
1.1.0
com.rim.driver.BlackBerryUSBDriverInt
0.0.97
com.apple.filesystems.smbfs
2.0.2
com.apple.filesystems.ntfs
3.11
com.apple.driver.AppleHWSensor
1.9.5d0
com.apple.driver.AGPM
100.14.15
com.apple.filesystems.autofs
3.0
com.apple.driver.AppleMikeyHIDDriver
124
com.apple.driver.AppleHDA
2.6.1f2
com.apple.driver.AppleMikeyDriver
2.6.1f2
com.apple.GeForceTesla
8.2.4
com.apple.driver.AppleUpstreamUserClient
3.5.13
com.apple.driver.AudioAUUC
1.60
com.apple.iokit.IOUserEthernet
1.0.0d1
com.apple.iokit.IOBluetoothSerialManager
4.2.4f1
com.apple.Dont_Steal_Mac_OS_X
7.0.0
com.apple.driver.AppleHWAccess
1
com.apple.driver.AppleBacklight
170.3.5
com.apple.driver.AppleMCCSControl
1.1.12
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
4.2.4f1
com.apple.driver.AppleSMCLMU
2.0.4d1
com.apple.driver.ACPI_SMC_PlatformPlugin
1.0.0
com.apple.driver.AppleLPC
1.7.0
com.apple.driver.SMCMotionSensor
3.0.4d1
com.apple.driver.AppleUSBTCButtons
240.2
com.apple.driver.AppleUSBTCKeyboard
240.2
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless
1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib
1.0.0d1
com.apple.BootCache
35
com.apple.driver.AppleIRController
325.7
com.apple.driver.AppleUSBCardReader
3.4.1
com.apple.iokit.SCSITaskUserClient
3.6.6
com.apple.driver.XsanFilter
404
com.apple.iokit.IOAHCIBlockStorage
2.5.1
com.apple.driver.AirPort.Brcm4331
700.20.22
com.apple.driver.AppleFWOHCI
5.0.2
com.apple.driver.AppleUSBHub
666.4.0
com.apple.driver.AppleAHCIPort
3.0.0
com.apple.nvenet
2.0.21
com.apple.driver.AppleUSBOHCI
656.4.1
com.apple.driver.AppleUSBEHCI
660.4.0
com.apple.driver.AppleSmartBatteryManager
161.0.0
com.apple.driver.AppleRTC
2.0
com.apple.driver.AppleHPET
1.8
com.apple.driver.AppleACPIButtons
2.0
com.apple.driver.AppleSMBIOS
2.1
com.apple.driver.AppleACPIEC
2.0
com.apple.driver.AppleAPIC
1.7
com.apple.driver.AppleIntelCPUPowerManagementClient
217.92.1
com.apple.nke.applicationfirewall
153
com.apple.security.quarantine
3
com.apple.driver.AppleIntelCPUPowerManagement
217.92.1
com.apple.AppleGraphicsDeviceControl
3.5.26
com.apple.kext.triggers
1.0
com.apple.driver.DspFuncLib
2.6.1f2
com.apple.vecLib.kext
1.0.0
com.apple.driver.AppleHDAController
2.6.1f2
com.apple.iokit.IOHDAFamily
2.6.1f2
com.apple.nvidia.classic.NVDANV50HalTesla
8.2.4
com.apple.nvidia.classic.NVDAResmanTesla
8.2.4
com.apple.iokit.IOAudioFamily
1.9.7fc2
com.apple.kext.OSvKernDSPLib
1.14
com.apple.iokit.IOSurface
91.1
com.apple.iokit.IOSerialFamily
10.0.7
com.apple.iokit.IOBluetoothFamily
4.2.4f1
com.apple.driver.AppleBacklightExpert
1.0.4
com.apple.driver.AppleSMBusController
1.0.11d1
com.apple.iokit.IOBluetoothHostControllerUSBTransport
4.2.4f1
com.apple.iokit.IOFireWireIP
2.2.6
com.apple.driver.IOPlatformPluginLegacy
1.0.0
com.apple.driver.AppleSMBusPCI
1.0.12d1
com.apple.driver.IOPlatformPluginFamily
5.7.0d11
com.apple.iokit.IONDRVSupport
2.4.1
com.apple.iokit.IOGraphicsFamily
2.4.1
com.apple.driver.AppleSMC
3.1.8
com.apple.driver.AppleUSBMultitouch
240.9
com.apple.iokit.IOUSBHIDDriver
660.4.0
com.apple.driver.AppleUSBMergeNub
650.4.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice
3.6.6
com.apple.iokit.IOBDStorageFamily
1.7
com.apple.iokit.IODVDStorageFamily
1.7.1
com.apple.iokit.IOCDStorageFamily
1.7.1
com.apple.iokit.IOAHCISerialATAPI
2.6.1
com.apple.iokit.IO80211Family
630.35
com.apple.iokit.IOFireWireFamily
4.5.5
com.apple.iokit.IOUSBUserClient
660.4.2
com.apple.iokit.IOAHCIFamily
2.6.5
com.apple.iokit.IONetworkingFamily
3.2
com.apple.driver.NVSMU
2.2.9
com.apple.driver.AppleEFINVRAM
2.0
com.apple.driver.AppleEFIRuntime
2.0
com.apple.iokit.IOHIDFamily
2.0.0
com.apple.iokit.IOSMBusFamily
1.1
com.apple.security.sandbox
278.11
com.apple.kext.AppleMatch
1.0.0d1
com.apple.security.TMSafetyNet
7
com.apple.driver.AppleKeyStore
2
com.apple.driver.DiskImages
371.1
com.apple.iokit.IOReportFamily
23
com.apple.driver.AppleFDEKeyStore
28.30
com.apple.iokit.IOUSBMassStorageClass
3.6.0
com.apple.driver.AppleUSBComposite
656.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice
3.6.6
com.apple.iokit.IOStorageFamily
1.9
com.apple.iokit.IOSCSIArchitectureModelFamily
3.6.6
com.apple.iokit.IOUSBFamily
677.4.0
com.apple.driver.AppleACPIPlatform
2.0
com.apple.iokit.IOPCIFamily
2.9
com.apple.iokit.IOACPIFamily
1.4
com.apple.kec.pthread
1
com.apple.kec.corecrypto
1.0
System Profile:
Model: MacBookPro5,5, BootROM MBP55.00AC.B03, 2 processors, Intel Core 2 Duo, 2.53 GHz, 6 GB, SMC 1.47f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x830B, 0x4E54344743363442384842304E532D434720
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.4f1 13674, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: TOSHIBA MK3255GSXF, 250.06 GB
Serial ATA Device: MATSHITADVD-R UJ-868
USB Device: Built-in iSight
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: Wireless Optical Mouse
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus:
Model: MacBookPro5,5, BootROM MBP55.00AC.B03, 2 processors, Intel Core 2 Duo, 2.53 GHz, 6 GB, SMC 1.47f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x830B, 0x4E54344743363442384842304E532D434720
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.4f1 13674, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: TOSHIBA MK3255GSXF, 250.06 GB
Serial ATA Device: MATSHITADVD-R UJ-868
USB Device: Built-in iSight
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: Wireless Optical Mouse
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus:riyazfrombangalore,
your 13-inch Mid 2009 MacBook Pro requires 1066 MHz RAM, but you have 1333 MHz RAM installed. Try replacing the 1333 MHz RAM with 1066 MHz RAM — Macs can be picky about the RAM which they find acceptable. -
How do I find out if the pressed key is printable?
I have made a game and now I'm working on a hiscore table for it. But with my function the program doesn't know if the pressed key is printable or if it's shift, ctrl or something like that. And I made it possible to enter maximum 40 letters as name, so if the user holds the shift key for a while then the whole String is filled with shift characters and nothing shows on the screen and he/she isn't able to type in any more letters... So is there any way to find out if the pressed key contains a printable char?
This is what my function looks like now. My program is quite big so I just post the function and try to explain what is happening
/* high is an array of
int score;
String name;
boolean WritingName;
boolean GAMEOVER;
boolean newgame;
public void keyPressed(KeyEvent e) {
if (GAMEOVER){ // checks if the game has ended
char button = e.getKeyChar();
int keyCode = e.getKeyCode();
if (newgame){ // this is false if the hi-score list is showing otherwise its true. i.e. its true when typing name for hiscore list
if (keyCode == 10) { // check if the pressed key is enter
WritingName = false; // Tells an other function that the user has finished typing his/her name so it can save it and start showing the hiscore-list on the screen
} else {
if (keyCode == 8){ // check if the pressed key is backspace and if so removes the last char from the string
if (high[99].name.length() > 0){
high[99].name=high[99].name.substring(0,high[99].name.length()-1);
} else { // if any other key is pressed then add it to the end of the string
if (high[99].name.length() <= 40 ) high[99].name += button;
paint(getGraphics());
} else { // checks if space is pressed to stop showing the hiscore-list and start a new game
if (keyCode == 32) newgame = true;
}But with my function the program doesn't know if the pressed key is printable or if it's shift, ctrl
or something like thatProbably the easiest way is to check and see if e.getKeyChar() < a space character or if e.getKeyCode() >= 127. You can use e.getModifiers() to get the modifier, etc... -- take a look at the documentation for java.awt.event.KeyEvent class.
V.V. -
Unable to Call page using action
Hi Evryone,
I am getting a simple problem .
Trying to call xsql page using adfc-config file. in xsql file i am passing two bind params for this using one input page to pass parameter.
Like
in report.jspx i have to employeeID and Name my textboxes and command button for call the xsql file.
1.repot.jspx
2.employee.xsql.
3.adfc-config.xml
in adfc-confing.xml i am taken two views and assigned these two pages(jspx,xsql) for ths flow name given report.
In my button action given
<af:commandbutton action="report">
When i run this report.jspx i am able to view the report. Here dont have a problem.
When i tried using menu i am unable to view the report.
in menu i am using af:goLink destination="/faces/report.jspx">. I view the report page after click on the button it wont call the adfc-config. Why if i try to run single page i am able to pass parameter and action will be taken. I will get the report .
Is there any changes i have to do
TIAAn xsql page is not a JSF page and won't be able to navigate with navigation rules defined in the adfc-config.xml
Only JSF pages can navigate using those rules.
To navigate from one page to the other use a commandLink or commandButton and set the action to the name of the navigation rule.
To run open adfc-config.xml and right click on a view activity to choose run.
Maybe you are looking for
-
Hi, Can I hide a column in select query output? I have a Rank() function in my query for computing other results ,but i don't want to show the Rank() in the result output. Is it possible to hide it? Thanks Harhsini
-
How do I convert a £ sign iN SQL..?
hello. I know ORACLE SQL doesn't mind a £ sign (converts it to a hash in TOAD) but as I'm using a SELECT statement in a BI Publisher Data Template that is used to generate an XML file - the XML generator doesn't like it.. So. Could somebody please te
-
How do I embed fonts in a doc created in Pages?
I am creating a brochure and need to send it to the printer.. nothing I can find or do seems to work to embed the fonts.. help!
-
How can I create a data connection without ODBC (directly with OLE DB)
If connecting to an OLE DB data source, which is not defined as ODBC, the well known error message appears in Acrobat, that the environment is not trusted. The Designer Help says, that the document must be certified in Acrobat to run OLE DB without O
-
V$rman_status report on : COMPLETED WITH ERRORS
Hi, quering v$rman_status on 10204 instance shows : select sid,recid,command_id,operation,status,start_time,end_time from v$rman_status where recid=16360 SID RECID COMMAND_ID OPERATION STATUS START_TIM END_TIME 0