How To create a message Choice for a page?

Hi,
I need to create a message choice for a page and on selection of that it should navigate me to next page..like
ex:
If iam havng 10 locations like Delhi,Hyderabad,Chennai....
I need to select one of them and it should be navigated to next page based on the above selection...These values are to be retrieved from database...
Can u gimme any idea..how to proceed?

Maybe something like this will help.
On your <af:selectOneChoice/> component configure a valueChangeListener and set autosubmit to true.
In your valueChangeListener change the current view like :
public void handleValueChanged(ValueChangeEvent valueChangeEvent) {
// Add event code here...
if (!PhaseId.INVOKE_APPLICATION.equals(valueChangeEvent.getPhaseId())) {
valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
valueChangeEvent.queue();
} else {
// add additiional app functionality here
ControllerContext controllerContext = ControllerContext.getInstance();
ViewPortContext viewPortContext = controllerContext.getCurrentViewPort();
viewPortContext.setViewId("test");
Regards,
Kenneth
The deferred execution of ValueChangeEvent is necessary as the ViewID can only be changed in INVOKE_APPLICATION phase.

Similar Messages

  • How To Create On Submit Button For Master_detail Page ?

    I have adf page that is master And detail view.
    i want to have one submit button for master and detail block

    Duplicate of  How To Create On Submit Button For Master_detail Page ?
    Please don'r post your question multiple times.
    Timo

  • How to Create new Message Control for BOM

    Dear Experts,
    My question is , we have Set Deletion flag for BOM of some material, When we go to make Production Order. it is showing an warning message , I want to set Error message,instead of warning message . can you all plz tell me how to do it in conflig.
    I have tried following settings , but it allows me to change it, but not to create a new message no
    IMG, Production, Basic data, Bill of material, General Data,  Change Message type 
    Thank you for your time.

    Hi,
    For OPJB, execute.
    Click on 'New entries'.
    Enter version as 000, application area (the first two digits of the message no, for BOM it would be CO I guess), & message no.
    Press enter. Under category maintain as E i.e. error.
    For SE91, execute.
    In message class enter the first two digits of the message, under subobjetcs, enter the message number & clcik on 'where used list icon' in extreme left.
    A dialogue box will apeear, select programme & classes. Click on right mark i.e. execute.
    A list of programmes will displayed.
    Select the relevant programme & clcik on change.
    Change the warning into error there. Please note that you need access key & need ABAP consultant to do the same.
    Hope this helps you.
    SmanS

  • How to create a help view for a customized error message

    Hi all,
    Can you guide me how to create a help view for a customized error message, we need to put some suggestions in it so that user can can resolve this issue with this guide. ( the short text is too short to describe all situations via TC:SE91)
    Thanks very much!
    Bruce, Wen

    Hi Bruce,
    Could you brief your concerns again.
    Why don't you maintain long text in message class for long description.
    Regards,
    Ranjith N

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to create a new row for a VO based on values from another VO?

    Hi, experts.
    in jdev 11.1.2.3,
    How to create a new row for VO1 based on values from another VO2 in the same page?
    and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
    Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
    How-to declaratively create new table rows based on existing row content (20-NOV-2008)
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
    I have tried:
    1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
    2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
    3.add: Create insertinside Createwithparams->Nameddata(amount),
    4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
    On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
    java.lang.NumberFormatException: For input string: "Amount"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    Can anyone give some suggestions?
    Thanks in advance.
    bao
    Edited by: user6715237 on 2013-4-19 下午9:29

    Hi,CM,
    I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
    My principal requirement is as follows:
    1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
    --so it's better to implement it in UI rather than in EO.
    2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
    --little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
    In order to get full information for the requirements of my use case, can take a check at:
    How to set default value for a VO query bind variable in a jspx page?
    (the end half of the thread: I have a more realworld requirement similar to the above requirement is:
    Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
    Regards
    bao
    Edited by: user6715237 on 2013-4-19 下午11:18
    JAVE->JAVA

  • How to create a "Custom Color" for highlighting? (Acrobat XI)

    March 10, 2014
    How to create a "Custom Color" for highlighting? (Acrobat XI)
    The numbers in the RGB and other fields change as various numbers are changed.
    I wanted to create a pale orange:
    Hue               13      Red      255
    Saturation   240      Green  177
    Luminosity    86       Blue     140
    I'd selected one of the orange squares in the color grid, to display the general orange area of the slider.
    I moved the slider to select a pale orange, which generated the above numbers.   Since this wasn't directly available to save to a Custom Color, I tried to  edit the numbers.  Unfortunately, the other numbers changed, making it impossible to actually create a color.
    Any suggestions would be appreciated.
    Note:  I used Techsmith's Snagit to show screen shots in a Word document.
    When I attempted to browse and upload the file, the error message said "[The content type of this image is not allowed.]"
    OK...what images *are* allowed?

    Hi Don,
    I saw Gilad answered your question in another forum post.
    Do you have everything you need at this point?
    Let me know if you need further assistance.
    Kind regards, Stacy

  • HOW TO CREATE A USER-EXIT FOR MB31 GOODS RECEIPT

    Hy,
    <b>HOW TO CREATE A USER-EXIT FOR MB31</b>
    TO COMPARE ORDER QTY CONFIRMED AND GOODS RECEIPT QTY
    ( IF GR QTY GREATER THAN CONFIRMED QTY ERROR MESSAGE SHOULD COME AND NOT ALLOW TRANSCATION TO PROCEED).
    POINTS CONFIRMED.
    REGARDS,
    KARTIKEY.

    Hi Rawat,
       You Don't need to create User Exits,but you need to find user Exits.Below are list of user Exits for MB31.
    Use proper exit as per your requirement.
    Exit Name     Description
    MBCF0002     Customer function exit: Segment text in material doc. item
    MBCF0005     Material document item for goods receipt/issue slip
    MBCF0006     Customer function for WBS element
    MBCF0007     Customer function exit: Updating a reservation
    MBCF0009     Filling the storage location field
    MBCF0010     Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011     Read from RESB and RKPF for print list in  MB26
    MB_CF001     Customer Function Exit in the Case of Updating a Mat. Doc.
    award points if ans is useful.
    Regards,
    Albert

  • How to create a transaction code for a function group with screen 100 as st

    Hello ,
    I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
    Customer asked me to create a transaction with the screen 100 as the starting screen.
    Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
    [ It is not a module pool program ].
    Thanks
    Prashanth.
    Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 2, 2009 11:49 AM

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

  • How to create system message in SAP EP?

    Dear All,
    How to create system message in SAP EP?
    i need to find solution for this task. Is there any way without collaboration? For example in SLD there is "System message" without additional functions. Please help.
    Portal installed on Netweaver 7.01 EHP1

    Hi Abay,
    You need to develop custom application to accomplished your requirement for system message in the potral.
    Please have a look at "Brodcast messages to logged on users in Portal:
    Brodcast messages to logged on users in Portal(Part1)
    Brodcast messages to logged on users in Portal(Part2)
    Also you can develop system message in the KM and integrate in the portal.
    Hope it will helps,
    Regards, Arun Jaiswal

  • How to create new message in wsdl

    Hi all, how to create a new message apart from the request message and response message that get created when the BPEL process is created? For example, in LoanValidator project(this is the sample project that came with 10g instatllation), the request and response messages are LoanValidatorRequestMessage,LoanValidatorResultMessage and another message is there which is InvalidApplicationExceptionLoanValidatorMessage there. how to create this message? and its corresponding operation also.Thank you.
    Regards,
    user11275112

    messages are defined in the wsdl and have part(s) that refer to the real type / element. So just go to the wsdl that is the client partnerlink's one - and add yours there. the operation (defined in the portType) contains input / output / fault children. each referring to a message defined.
    cheers clemens

  • How to create a Keynote theme for iPad?

    Hi.
    - I know how to create a Keynote theme for Mac. But how can I move the theme over to iPad and keep it as an theme for the future?
    - Can I create a theme in iPad with iPad Keynote?
    Thanks.

    Here is someone else's answer.  In short not really.
    https://discussions.apple.com/message/13281848#13281848

  • How to creat Process messages automatically through PI sheet saved?

    How to creat Process messages automatically through PI sheet to the Process message destinations.

    Hi Jessie,
    When you process instruction category PROD_3 in master recipe, the process message PI_PROD is created.
    After releasing process order, you have to create control recipe. Upon successful creation of control recipe, process instructions will get generated. Check the error log for control recipe creation for error if any. 
    Note that control recipe will be generated only with order status "Released".
    You have to sent this control recipe to process control (CO53).
    Hope it is helpful.
    Regards,
    Sachin

  • How to create a shortcut menu for the pane

    Hi all
    Well - I know how to create a shortcut menu for a control, but how is it created for a pane? There is the possibility to add an event case for a shortcut menu linked to a pane (see picture), but how can I create this menu?
    Message Edited by becktho on 08-01-2006 11:32 AM
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    ScreenShot001.png ‏22 KB

    ahlers option works, sorry but I can't add images from work!
    Just use the shortcut Menu Activation filter event? to create a menu.
    Ton
    Message Edited by TonP on 08-01-2006 12:56 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Example_BD.png ‏4 KB
    Example_BD.png ‏4 KB

  • How to create automatic serial number for ticket in illustrator?

    How to create automatic serial number for ticket in illustrator?

    Check this out
    http://forums.adobe.com/message/1271310#1271310

Maybe you are looking for