Monday, 31 August 2015

get selected list of a shuttle to a textfield

how to get selected list of a shuttle to a textfield(comma seperated) in apex?


And we Said...
You can do it with the help of dynamic action.
   
Create a dynamic action on the onchange event of your shuttle item (say P1_SHUTTLE) to get the select values in text item (say P1_TEXT) as follows:
     Name : give a proper name
     Event : Change
     Selection Type : Item(s)
     Item(s) : P1_SHUTTLE (select your shuttle item)
     Condition : is not null
     Action : Execute PL/SQL Code
     Fire on Page Load : No
     PL/SQL Code
  1. BEGIN  
  2.   :P1_TEXT := REPLACE(:P1_SHUTTLE,':',',');  
  3. END;  
     Page Items to Submit: P1_SHUTTLE
     Page Items to Return: P1_TEXT

Reference :https://community.oracle.com/thread/3786337

2 comments:

  1. Hi Pranav,

    Also include the OTN forum thread reference, if related to a thread.
    Refer : https://community.oracle.com/thread/3786337

    Regards,
    Kiran

    ReplyDelete
    Replies
    1. Yes kiran
      thank you for visiting this blog i am trying to update new stuff here which will help other members to improve more.

      Delete

Show values in right side of shuttle

While working with select list and shuttle, when we want to display values into right side of shuttle depending upon selection from select ...