How to make use of Listener to auto refresh  items in SelectOneMenu

Hi,
I have a transaction jsp page that make use of the SelectOneMenu of which the Selectitems for example consists of all the item_code are added to the dropdownitems through the sessionBean1 ArrayList.
The problem started when new item_code are being added to the SQL tables using other JSP that allow user to input new item code.
JSF transaction page using SelectOneMenu could not effectively updated the options to include and reflect the new item subsequently added simply because the page has been rendered to the user .
I believe using some sort of listener , whenever any action or event took place , JSP that are having the particular UI components being rendered could be auto refresh at the client side of JSP html page.
Could anyone provide some hints?
Thank

Hi,
Thank for the suggestion,
In fact I am looking for two possiblity on how to overcome this sort of issues,
Firstly , if the JSF page has not been rendered , you could always make use of the sessionbean1 to do the job , for example if you add a new item to the selectOneMenu dropitems, you could make use of this method to update the list of items in the dropitems , though it would always be the last items on the sorted list .
Secondly , using some sort of autorefresh to push to the client to inform the user that new item have been added , advise them to manual refresh the page.
I am in fact using the first method to add new item to the dropdownmenu for those JSP that involve page forwarding and redirect such as shopping basket / cart beans .
My concern is when displaying the list of real-time shopping items available to the user , method 1 would not work at all , simply because JSF page was already rendered to the user browser, only beaming alerting message seems to be able to overcome such shortcoming when scenario demand realtime.
Thank

Similar Messages

  • HT4642 ios numbers:how to make cell height variable with auto line brake setting ?

    ipad numbers; How to make cell height variable with auto line break setting?

    That's strange. I responded earlier and the whole message got trashed. Hence the test post before retyping the entire thing again.
    Thanks for the reply.
    The video clip is a single screen capture video clip. This is what I've found by playing around with this more.
    The original clip resolution is greater than 640x480. If I use QT Pro to convert the original clip to 640x480 and then use either Flip4Mac or PE7, then the resolution looks good.
    Just trying to figure out if should keep all workflow on the MacOS side. There are several different version of Flip4Mac. $49 gives me 640x480, but if I ever want to make it slightly larger then I would need to go with the $99 or HD version.
    I also tried to export to AVI with QT Pro and the import with Windows MovieMaker but it didn't work really good. I liked the simplicity (since PE7 hogs a lot of resources especially through VMWare).

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • How to make use of SE37- Function Module & how to find out the table?

    Hi ,
    1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
    For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
    But after giving the particular name what should i do?
    Please help me.
    2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
    Thanks in adavnce for spending some time
    Raj.S

    Hi Raj
    Function Modules
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    Check this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
    By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.

  • How to make use of BAPI_CATIMESHEETMGR_CHANGE

    Hi All,
           We need to make use of BAPI_CATIMESHEETMGR_CHANGE for changing entered hours against an activity instead of adding new row for the same(BAPI_CATIMESHEETMGR_INSERT does that ) . Please guide me what all table parameters we should supply while executing this FM.
    Regards,
    Ganga.

    Hi Senthil,
    Now I have got how to make use of BAPI insert and change. But problme is when I need to add an hours entry for , say tuesaday of activity A for which already HAS monday hours,I am using  BAPI_CATIMESHEETMGR_INSERT AND IT IS ADDING ONE MORE ROW AS SHHOWN BELOW
    . But it adding new row. How top overcome this.
    <b>       Monday
          A     2</b>
    After insert
    <b>      Monday  Tuesday
          A     2
          A            3</b>
    =----
    SHould I use delete and insert.
    Please help me..;
    Regards,
    Ganga
    Message was edited by:
            Gangadharayya Hiremath
    Message was edited by:
            Gangadharayya Hiremath

  • How to make use of the presentation variable in SQL result query

    I have 2 prompts in my dashboard.
    Prompt1 decides the values of Prompt2.
    I have set a presentation Variable (selected_comp) in prompt1 which holds the value selected.
    To populate the values for Prompt2, I need to execute a query using the presenation variable set by Prompt1.
    SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=@{selected_comp}
    the query is resulting into
    SQL Issued: SELECT "List Of Values".RID from rocketv2_3 WHERE "List Of Values".NAME='COMPONENT' AND "List Of Values".VAL=0
    but the value in selected_comp is "ABC".
    Can anybody help in how to make use of the presentation variable in query to get the correct value
    thanks
    Shubha

    Just use constrain check box to filter your 2nd prompt values based on the 1st prompt.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • How to make use of classlocator in NWDS.

    Hi Experts,
    I don't have Class / jar Locator.
    I am unable to install from SourceForge Website, it is showing some error.
    where can i get it ?
    And how to make use of classlocator in NWDS.
    Help me out in this regard.it's urgent
    Regards
    Bala

    Hi Balakrishna,
    You can download the  classlocator  from this URL:
    http://www.filewatcher.com/b/ftp/ftp.heanet.ie/mirrors/download.sourceforge.net/pub/sourceforge/c/cl/classlocator.0.0.html
    Check this thread for more help
    How to use classlocator plugin?
    Thanks n Regards
    Santosh
    Reward if helpful !!!

  • How to make use of the XFList in the Function Bar  of the XML Form Builder?

    Hello:
        Now I am creating blog using the XML Form Builder.
        In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
        I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
    lexian
    Thanks a lot!

    In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
    SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
    The first text box under Groups attribute corresponds to SCREEN-GROUP1,
    2nd text box for SCREEN-GROUP2
    3rd text box for SCREEN-GROUP3
    4th text box for SCREEN-GROUP4
    Hope this helps.
    Thanks,
    Balaji

  • How to make use of label printing in sap smartforms

    Hi Dear,
    How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will
    come as four labels.All page should follow the same procedure... How to do...please help me..
    Regards,
    Nikhil

    Hi,
    Please go through below link, would be helpfull for you.
    [http://help.sap.com/saphelp_nw04/helpdata/EN/6b/54b4b8cbfb11d2998c0000e83dd9fc/frameset.htm]

  • How to make use of 'Icon Name' in Logical link?

    I see the option 'Icon name' in 'define logical links' in SPRO. It does not however has an F4. I tried giving the name of image in the relevant skin. But no image appears besides the logical link. Is there something else that needs to be done to get an image besides workcenter link? How to make use of this 'Icon Name' in logical link?

    Hi,
    i guess this icon_name is not possible for every skin in CRM70.
    We use nova skin - here it is not possible.
    With default skin i saw icons for example on the salespro startpage.
    Kind regards
    Manfred

  • How to make use of 32bit packages on Arch64

    Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs. 
    My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
    Arch x86_64 / XFCE4
    Thanks in advance
    Last edited by kaola_linux (2008-12-09 15:24:36)

    kaola_linux wrote:
    Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs. 
    My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
    Arch x86_64 / XFCE4
    Thanks in advance
    You can reuse the packages in /var/cache/pacman/pkg/ on your  Arch32.
    You can use these saved packages in a 32bit chroot ENV on your Arch64. Just pacman -U all of them.

  • How to make use of StreamGobbler?

    Hi,
    I want to redirect the out and err statements to a file.
    I found a class called StreamGobbler at http://www.physionet.org/physiotools/puka/sourceCode/puka/StreamGobbler.java
    I dont know how to make use of it as I have almost no knowledge of Concurrency and threads in Java.
    Plz guide.

    I found a class called StreamGobbler at
    http://www.physionet.org/physiotools/puka/sourceCode/p
    uka/StreamGobbler.javaDo you see, at the very top of that page, the URL for the original article? It explains everything step by step in great detail.

  • How to make use of the FM EDIT_TEXT_FORMAT_DOC

    Hi frnz,
    How to make use of the FM
    EDIT_TEXT_FORMAT_DOC
    Could anyone explain with an example how to use this
    regards

    hi
    I need an example please....
    did any one use that FM
    Regards

  • How to make use of iPhone to do recording?

    Hi,
    how to make use of iPhone to be a recording device for vocal?

    The Voice Memos app included with the iPhone is the best and only way to make use of the iPhone for recording with included apps, which is also free since it is included by Apple with the iPhone. And recordings made with the Voice Memos app are synced with your iTunes library on your computer - transferred to your iTunes library on your computer when syncing your iPhone with iTunes.

  • How to make use of customer reserve pricing types in copying control

    Hi All
    Please inform how to make use of 'customer reserve' pricing types like 'X,Y,Z & 1-9' keys in copying control.
    Right now I'm on maintenance & supporting project for european client.  They used pricing type 'Z' for copying condition records from stadard sales order to returns(RE) order.  I wanted to know that what is 'Z' and how it is functioning to resolve one urgent ticket assigned to me.
    Could you please guide me where should I verify its logic.
    Thanks & Regards
    Seshu

    Hi Seshu,
    Pricing type changes will done at user exit level. You may want to look at the user exit USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA)
    Also, OSS note 24832 will help you to get an understanding.
    Regards,
    Please reward points if helpful

Maybe you are looking for

  • How to download a file from a folder

    hello frnds.. i've uploaded a file to a folder in tomcat server. Now how to download that file at the client side.. pls help me out... it would be better if you gimme the related code for it..

  • Calculate A Fixed Length Future Date Based On User Provided Date

    Does anyone know how I would (using date field) have a user choose a date (call it Field1) and have it calculate 30 days from whatever date is chosen in Field1) and auto populate it in another filed (call it Field2). Ideally user would not have to 'c

  • How to install PSE 9 on Mountain Lion (Mac)?

    I recently transferred from Mаcbook Pro to Macbook Air using Migration Assistant. When I started Elements for the first time on MBAir, it said that something was wrong with the installed Elements and I should reinstall. First I used the Air's ability

  • CD/DVD Player keeps ejecting,

    My Sat A215-S7416, CD player keeps ejecting, it started after I remove the virus Trojan Fake Alert. Any ideas

  • Java.lang.NoClassDefFoundError Toolkit.getDefaultToolkit

    hi all i got this error in a servlet. i wrote it on my computer with no errors but, when i moved and executed it on a linux machine it doesn't work: java.lang.NoClassDefFoundError at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:703) at counter.cou