List (as in ...lcdui.List) default action...?

I'm having some problems with a List, as stated in the topic.
I'm writing a small chat client, and the contents of the list is the currently online users.
When it's empty, everything is fine, and there is only one soft button mapped to a command ("Open chat").
However, when the list is NOT empty, another command suddenly pops up, ("Select", translated from swedish), as the default (left soft button).
When I click the select button, it appears to restart my whole MainLoop() function and connect again, without disconnecting, etc.
So, my question is: How do I change the action for the select button, to make that one "Open chat" instead?

Thanks, but never mind.
As with most bugs, it was my stupid programming that was the fault of this. :)
If anyone else is having the same problem, which I doubt, here's the thing:
public void commandAction(Command c, Displayable d)
     if (c == List.SELECT_COMMAND && (List)d == mainMenu)
          switch (((List)d).getSelectedIndex())
               case 0:
                              // ... main menu options
     ... other actions here
       else if (c == List.SELECT_COMMAND || c == openChatCommand)
           // Open chat window
       }I'm sure you all see that List.SELECT_COMMAND is processed twice (well, actually only once, since it'll never get to the second clause).
Anyway, the quite easy solution was to check whether the Displayable d was mainMenu or the user list.

Similar Messages

  • Default action for access list Deny

    Hello,
    Is it possible to change the default action for an access list deny?  Can the ASA be configured to send an icmp unreachable rather than just dropping the packet if an access list denies the request?  I have a situation where I would like to restrict access to a specific server for a select number of users.  The problem is that the restricted workstations attempt to connect to the server at log in.  Since I cannot control the log in script for those users, I was hoping to use the ASA firewall instead.  However, using a deny statement causes the workstation to repeatedly send SYN requests for 60 seconds.   The restricted users experience an unacceptably long delay at log in.  I was hoping to be able to configure the ASA to send an icmp unreachable message for those users and avoid the wait.
    Thanks,
    Ann

    Hello,
    As the firewall it's supposed to be invisible there is no way the ASA could send this particular messages, sorry to inform you that but you could request this particular feature with your Cisco account Team.
    Regards,
    Julio

  • Error message when installing Flash Player : List of actions not found

    I get an error message when trying to install Flash Player.
    I use Windows 64 bit with Internet Explorer 64x.
    I'm able to download, the installation starts but it stops before completing.
    I get this error message (loosely transalated) :
    Installation encountered errors
    List of actions not found
    How can I fix this ?
    Thank you
    Annie

    I solved my problem by installing the Flash Player from home.
    The network security at work prevented me from completing installation.
    Thanks for your help.
    Annie
    2012/9/26 Pat Willener <[email protected]>
       Re: Error message when installing Flash Player : List of actions not
    found  created by Pat Willener <http://forums.adobe.com/people/pwillener>in
    Installing Flash Player - View the full discussion<http://forums.adobe.com/message/4728064#4728064

  • How to see List of action type & action code in Form View..

    Hi~ Guys ... please help me ~
    In Design Tab of workspace...
    I have worked  like this..
    step 1) I made a Form Wiew using a Add Input Form from BI Query Icon ,
    step 2) submit button was made in the configure element automatically ,,
    step 3) click the submit button to execute the query and it works normally.
                (action code is in the action tab of control properties.. maybe it was created automatically..)
    but, I would like to create submit button in toolbar,,
    step 1)  I click the create toolbar in context menu of form view
    step 2) click the add button to create toolbar button,,
    step 3) rename Button
    step 4) I'd like to click the PLUS button to add the  acton name  and action code
                 -> Menu name : select the type of action that will be triggered by this field  (is located under the define button )
    but , step 4).. I do not see List of Action Name like Submit Form
                          Plus Icon do not working..
    I don't know what the problem is  ..( I installed xml parser 4.0 , svg viewer 3.0 , explorer 8 )
    I wonder I missed a step or I did not install other programs
    Please help me ~

    Hi~
    Thank you for your interest in my question..
    My operating system is Window 7(Enterprise K, service pack 1)
    and..
    my internet browser is Internet Explorer 8(8.07601.17514)
    and..
    VC version is 7.0
    ( GML/Client/VC server/Flex/Potal Content/Potal connector - Version is 700.23 )
    I tried to run in compatibility mode as you said..
    but, The results are same as old,,
    Is it any relation in Client(PC) setting ?
    Regards,
    Evandave

  • [CS3][JS] How to get list of Actions and Action Groups

    Does anyone know of a Javascript method for retrieving the list of Action Group names and Action names as an array? I'm trying to do a check that the requested Action Group and Action is available before starting a script.
    Thank you.

    If you look at Image Processor.jsx you shuld find them near the bottom of the script.

  • [svn:fx-trunk] 5254: Update FxNumericStepperExample for ASDoc - revised comment to list default maximum as 10

    Revision: 5254
    Author: [email protected]
    Date: 2009-03-11 14:01:57 -0700 (Wed, 11 Mar 2009)
    Log Message:
    Update FxNumericStepperExample for ASDoc - revised comment to list default maximum as 10
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxNumericStep perExample.mxml

    Revision: 5254
    Author: [email protected]
    Date: 2009-03-11 14:01:57 -0700 (Wed, 11 Mar 2009)
    Log Message:
    Update FxNumericStepperExample for ASDoc - revised comment to list default maximum as 10
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxNumericStep perExample.mxml

  • Finesse -( UCCX 10) - Create a list of actions for Call ends

    Hi,
    I want to create a list of actions in Finesse, when the call ends for Agent, it dials another Trigger.  How can I do that?
    There are two options, Browser pop-up or HTTP Request. Unfortunately there is not enough document about this on the net.
    Thanks,
    HM

    Hi,
    Actually my requirement is to allow users to select multiple values from an LOV i.e. 7,8,11 (comma seperated). As it is not possible with the standard list of values to select multiple values so I'm using the above document from the Metalink to create an LOV with the same look and feel as the standard LOV of forms. I've tried all the steps but unfortunately no luck.
    Elements in List => put one item with space <--- i'm confused on this one, may be i'm not setting this properly.
    Thanks
    regards
    RM

  • Sharepoint List of action plan not load all the rows,

    hello
    we are using sharepoint 2010 , we are facing problem in loading list_of_action_plan that not load all the raws (data)in datasheet view, but in standard view its loads all the data,
    can some one helps in this problem
    We have one separate virtual machine  SQL server 2005 for sharepoint server.  also we check that SQL server instance use more CPU usages.

    Hi,
    According to your post, my understanding is that one of your custom columns could not be copied using the copy list item action.
    I had created a custom field using the URL type, then add the column into the list.
    Using the SharePoint Designer to create a custom workflow with the copy list item action.
    The workflow worked without any issue, it can copy the custom URL type field.
    Did the issue occur in other list? You can create a new list, add the custom field to the list, then just using the copy list item to check whether it works.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Default Action/Effect in an Action Set in PSE5

    I have a Photoshop action set that contains a "main" action that performs some functionality and calls a bunch of "sub" actions. The main action is listed first in the set and is automatically picked up as the default action and executes successfully when installed into PSE6, PSE7 & PSE8 and also works as expected in a German version of PSE5 but in an English version of PSE5, somehow the second action (ie a "sub" action) is being executed rather than the first. Is there any way of configuring the default action or forcing PSE5 to recognize the first action as the action to run? If not, does anyone know what algorithm PSE uses to determine the action to run? The action being run isn't first (or last) alphabetically nor positioned first (or last) in the action set. Any thoughts/assistance would be greatly appreciated. Thanks.

    Thanks for the response. I think I confused things by bringing up the German version... The action was created in a standard English version of PS CS2 then adjusted and resaved in a standard English version of PS7. It was then packaged and tested in English (and non-English) versions of CS3, CS4, CS5, PSE6, PSE7 & PSE8 without any issues. It was also tested in a German version of PSE5 and worked without any concerns but when tested in 2 different standard English versions of PSE5, it appears that the second action in the action set is the one that is being recognized and run, rather than the first action in the set. The first action is named as "Make Patterned Papers" and the other 20 or so actions are named as "code -- (reference number)" in a lame attempt to slightly obscure the functionality from the PS users. The first "code -- (reference number)" action listed after the "Make Patterned Papers" is the one that is being picked up by PSE5 as the action to run. The actions are not listed in alpha/numeric order and the action that is being picked up by PSE5 is not the first alphabetically either. I tried copying all of the actions to a new action set and using this instead, but had the same result.

  • Default action in actionmap

    hi, i was wondering how to put back the default action for a key... like what is the default action method? is there anywhere i can get a list?

    hm... i managed to overwrite my previous function, when i realized that it didnt' have an entry in the input map in the first place =P
    what i am making is a focus controller which controls the cursor on a page with multiple text fields. when a certain char is pressed, then the focus will redirect to the appropriate field, and then begin typing.
    my thought process goes along the lines of this:
    take out the entry in the inputmaps of all my jtextfields so that it gets passed on to their parents, which is the highest ancestor. the ancestor decides who gets the focus and transfers it, sending the prefix with him. i think my problem is that the ancestor does not have an entry in his input map. it is to my understanding that if you add null to the inputmap for the key, he will pass the key to his ancestor. i want him to pass it to his child. any thoughts?

  • Defining default action in the pop ups declaratively.

    Is there a way to decoratively define the default action in the pop up? My requirement is that, I have a pop up dialog with two buttons 'ok' and 'cancel', and I would like to execute OK action when user press the Enter key in the dialog.
    Thanks.

    Hi do this for me and tell me if there is anything listed.
    Choose Mail > Preferences and click Composing.
    Select "Automatically complete addresses" and click the Configure LDAP button.

  • How to change default action when a device is connected to Windows 8

    The first time I connected my Android phone to Windows 8, I selected an default action (view files in Windows Explorer.)
    Now I would like to change that default. Where/how do I do that?
    Thanks,
    Jim Kay
    Jim Kay

    From http://windows.microsoft.com/en-gb/windows-8/autoplay-faq search in the start screen for Autoplay, go into settings and then click Change default settings for media or devices.
    Look through the list and find your phone (should be down at the bottom of the list) and change the action.

  • Default Action for TCODE-PA48

    Hello
    I would like to find out if there is a way to modify TCODE-PA48 to default customer/recruitment specific actions.
    Currently, once the candidate to be hired is selected, ALL the actions in table-T529A are displayed.
    Your assistance will be appreciated.
    Regards.
    Bongisa

    Hello Bongisa,
    Within TRAN PA48, as a standard the program reads the hiring events from T529A and defaults the first one ('1'). This behaviour cannot be changed without a modification. But of course this is a default
    value which can be overwritten with a customer specific value.
    Transaction PA48 is used for transferring data into a HR system from SAP or any Non-SAP system. The result of this operation is hiring an employee and hence the action type '1' is taken as default.
    Also the list of actions and the infogroup assigned to this action type are nothing but the same shown when an employee is hired. In addition to this, other flexible customizing options based on user
    group are also applicable.
    Kind regards,
    Graziela Dondoni

  • Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default

    in use:
    vRO 5.1
    eclipse 3.7.2
    vRo plug-sdk 5.1
    steps:
    1.create a plug-in project from samples(choose solar system)
    2.find the dar package and upload it by vRo configuration
    3.vRo configuration said upload successfully,but the solar system configuration is not properly configued..
    problem:
    Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default
    How to solve it??
    Thanks so much!!

    There was problem from crm side...its working now..

  • How to change default action "alarm" for all signatures ?

    My question belongs to a Cisco 1712 (128 MB, IOS 12.3T, SDM 2.5 installed):
    I'm trying to change the default action "alarm" to "alarm,reset,drop" for all signatures of my custom set.
    However doing so via SDM fails. First, it appears as being done correctly, but after compiling the signatures again, the default values are back there (in the same sense, I was unable to delete signatures, works just using the CLI).
    I followed the instructions at cisco.com:
    router(config)#ip ips signature-definition
    router(config-sigdef)#signature 6130 10
    router(config-sigdef-sig)#engine
    router(config-sigdef-sig-engine)#event-action produce-alert
    router(config-sigdef-sig-engine)#event-action deny-packet-inline
    router(config-sigdef-sig-engine)#event-action reset-tcp-connection
    router(config-sigdef-sig-engine)#exit
    However ip ips signature-definition is not understood by the router, so the procedure fails.
    Can you please assist me ?

    You can use IOS command-line interface (CLI) to change signature actions for one signature or a group of signatures based on signature categories. The following example shows how to change signature action to alert, drop and reset for signature 6130 with subsig ID of 10.
    router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    router(config)#ip ips signature-definition
    router(config-sigdef)#signature 6130 10
    router(config-sigdef-sig)#engine
    router(config-sigdef-sig-engine)#event-action produce-alert
    router(config-sigdef-sig-engine)#event-action deny-packet-inline
    router(config-sigdef-sig-engine)#event-action reset-tcp-connection
    router(config-sigdef-sig-engine)#exit
    router(config-sigdef-sig)#exit
    router(config-sigdef)#exit
    Do you want to accept these changes? [confirm]y
    router(config)#

Maybe you are looking for

  • SUNWspro iostream error while compiling with SunStudio 10

    We are getting the following error when we try to compile the C++ code using SunStudio 10 on Sun Solaris Sparc server. We made couple of changes in the source code 1) whereever we have stream.h we replaced it with iostream.h and 2) include fstream.h

  • How to convert Oracle database to XML standard?

    I have a project to convert oracle database to XML standard.And get it to show in webpage.Please tell me for do it.Tell about the way to do it.Tell me some kit to do it.

  • Address Book Wish List!

    Unless it's already possible, anybody know if Apple ever plans on updating "Address Book" to enable the user to password protect an address book and to have multiple address books.... Having multiple sign-ins is not really a solution. Thx MBP 2ghz 1g

  • Limiting Authorization Check to 1 Table

    Hi, I have to limit access to the table LFA1 (Vendor Master) and at the same time allow access to tables LFB1, LFM1 etc. Earlier the person working on this suggested we will remove the Authorization Group "FA" from the role. This lead to a problem as

  • Can only see User Management in Administration Tools

    I configured an LDAP realm and included the required admin group to access the Administration Tools. However, the only thing I can see in Administration Tools is User Management. I also checked to see if I have ebusiness.jar in my application and it