How do we handle a item in both as a select list & text

Hi All,
In my application, i have used Create button..when ever a create button is clicked a "Select List" will apper..
Similarly i have also a "Edit" icon when ever a icon is clicked it will also the same "select list item"...
Now the end user is asking to make the select list item as redaonly when we clik on Edit icon...
How to handle this scenerio..
The way i have done is as of now is that i have created two items with the same name one is for select list &
the other is for the text item using conditional i have managed..
But i would like to know is there any other way with out creating any extra item & by using only the select lits item can we achieve it or not.
Thanks,
Anoo..

Hi Anoo,
You mentioned in your original post that you have a select list item and a text item, and that you're using a condition to determine which one to show. For the Read Only condition for a single select list item, you would specify the condition you currently have that is telling ApEx to show the text item rather than the select list.
The idea here is that if the Read Only condition evaluates to TRUE (currently in edit mode), then the select list item will render as read-only; if it evaluates to FALSE (currently in create mode), it will render as a normal select list.
Hope this helps,
John
If you find this information useful, please remember to mark the post "helpful" or "correct" so that others may benefit as well.

Similar Messages

  • Simple question - How do you make an onchange event occur in a select list

    Simple question - How do you make an onchange event occur in a select list to fire a process?
    Thanks

    1) Using ApEx Selec list on Submit Item.
    You will create a PL/SQL Process after Submit. -> Conditional Type Request = Expression1. -> Expression1 is the name of your Select List. Process Source - > Procedure you like. For example depending of your select List value you will add rows in different tables.
    2) Javascript This example will change a System parameter value when changed
    <select id="P3_SUBSYSTEM" onchange="location.href='f?p=101:3:2164422329953284::NO::P3_SUBSYSTEM:'+this.options[selectedIndex].value;" size="1" name="p_t21">

  • Insert items from two different Multiple Select Lists into a single table

    I need help. I have a training tracking system that tracks the courses taken by employees.
    I have created two multiple select lists, one is SelectEmployees and the other is SelectCourses. I want to insert
    the selected item from those two multiple select lists into Training_Record table.
    Note, SelectEmployees" is from Employee table and SelectCourses is from Courses table. Those two table has no intersetion.
    Train_Record is the table that joins those two together.
    Please advice and your help is appreciate.

    Thank you for your help.
    I tried your code and changed the table/field name to my actual table/field name and the iitem name to actual item name.
    declare
    cursor c_Employees is
    select PERSONNEL_NEW.EMPLOYEEID from PERSONNEL_NEW where PERSONNEL_NEW.EMPLOYEEID in (:P15_SELECTEDEMP);
    cursor c_Courses is
    select COURSES.COURSE_ID from COURSES where COURSES.COURSE_ID in
    (:P15_SELECTEDCOUR);
    begin
    foreach :=r_employee in c_Employees loop
    foreach :=r_course in c_Courses loop
    insert
    into COPYOFTRAINREC ( EMPLOYEEID, COURSEID )
    values ( r_employee.EMPLOYEEID, r_course.COURSE_ID );
    end loop;
    end loop;
    end;
    I got error message as :
    ORA-06550: line 12, column 25: PLS-00103: Encountered the symbol "C_EMPLOYEES" when expecting one of the following: (
    Error
    OK

  • How do I restrict the items shown in Action pull-down list in Quote Overiew

    I would like to restrict the items shown in the pull-down list of Actions in Quote Overview Screen in Oracle Quoting (HTML)
    The list is defined as part of Quick Codes (Lookup_type = ASO_QUOTE_ACTION). Per my understanding, it should show up all the lookup values enabled in ASO_QUOTE_ACTION. But I see only a few of those enabled in the action drop-down list in Overview Screen.
    I appreciate if any one can provide any clue where they are restricted.
    To access ASO_QUOTE_ACTION Loookup code, here is the navigation path.
    ® Quoting Sales Manager &#8594; (N) Setup &#8594; Quick Codes and query for ASO_QUOTE_ACTION.
    Thanks
    Rao

    Wrong Forum....

  • How do we handle multiple items in Apex?

    Hi All,
    I have a requirement in to process the fileds data.I have a item by name as "Platts Lead1 to Platts Lead10" of type list items.
    By assuming end user can select entire fileds or we can first five items i.e "Platts Lead1 to Platts Lead5" and then insert into data base.
    How we can hanle this scenerios in Apex process..
    Thanks,
    Anoo..

    Anoo wrote:
    I have a requirement in to process the fileds data.I have a item by name as "Platts Lead1 to Platts Lead10" of type list items.
    By assuming end user can select entire fileds or we can first five items i.e "Platts Lead1 to Platts Lead5" and then insert into data base.
    How we can hanle this scenerios in Apex process..There is a dedicated Apex forum - please use it to ask Apex related questions.
    As for dealing with variable items - Apex has a number of global arrays/collections that can be used. The Apex Item API enables you to create a dynamic list of items (as check boxes, text boxes, list boxes, hidden text fields, etc). Where user supplied data for variable item lists are available via global/static PL/SQL arrays.
    Please have a look at the API, close your question here, and re-ask it (with as much specific details as possible) in forum {forum:id=137}.

  • How to make sales order items appear on the billing due list?

    Dear All,
    We are using SAP CRM 5.0 standalone and we want to use CRM Billing.
    All necessary configuration has been done to enable CRM Billing on sales orders.
    Here is the list of what have been done:
    1. Defined Billing unit and assigned to my sales organization.
    2. Created billing document type for sales order (F2 as standard).
    3. Defined billing item category (TAN as transaction-based billing after complete)
    4. Defined billing item category determination (for trans. type TA, item category TAN, billing item category will be TAN)
    With all the above configuration, when I created a sales order (TA), set the order status to 'completed' and save it, I checked the item status, it is 'completed for billing'. However, when I ran 'Process Billing Due List', nothing has been picked up.
    I checked the order line item, and found that the 'Delivered Qty' field is 0. Could this be the reason? I set the item category TAN billing relevancy to be 'Transaction-based after completion', then it should not care about delivery, right?
    Please provide your input. Thanks so much in advance!
    Regards,
    Leon

    Dear Rekha,
    Thanks for your detailed reply. It seems that all the config points you mentioned in your email have already been covered. However I still don't see anything on my billing due list.
    Here is the list of what have been done:
    1. Defined Billing unit and assigned to my sales organization.
    2. Created billing document type for sales order (F2 as standard).
    3. Defined billing item category (TAN as transaction-based billing after complete)
    4. Defined billing item category determination (for trans. type TA, item category TAN, billing item category will be TAN)
    With all the above configuration, when I created a sales order (TA), set the order status to 'completed' and save it, I checked the item status, it is 'completed for billing'. However, when I ran 'Process Billing Due List', nothing has been picked up.
    I checked the order line item, and found that the 'Delivered Qty' field is 0. Could this be the reason? I set the item category TAN billing relevancy to be 'Transaction-based after completion', then it should not care about delivery, right?
    Please provide your input. Thanks so much in advance!
    Regards,
    Leon

  • How can I show more than one value in a select list

    Hello,
    I have a LOV an I want to show in this LOV "userid, name".
    The return value is only "id".
    I always get a message that the number of the displayed values must be the
    same than the returned values.
    How can I solve this problem?
    Thanks in advance!
    Ulrike

    SELECT userid||', '||name d, userid r
    FROM table
    Denes Kubicek

  • How do I handle my Final SELECT based on a @ReportType Run Parameter

    So I have multiple CTEs in my SQL...
    WITH CTE_1 AS
    (SELECT...)
    CTE_2 AS
    (SELECT...)
    CTE_3 AS
    (SELECT...)
    My Final SELECT then will be based on my CTE drill-downs and the filtering will be based on the @ReportType that will be chosen within SSRS and Report Manager. How can I handle the varying portions of my FINAL SELECT based on @ReportType? Do I have to do
    this via dynamic SQL? I know that dynamic SQL is frowned upon. So this is what I'm talking about...
    SELECT ...
    CASE WHEN @ReportType = 'Renewal People'
    THEN INNER JOIN...
    WHEN @ReportType = 'New People'
    THEN NOT IN (SELECT...)
    END
    CASE WHEN @ReportType = 'Renewal People'
    THEN WHERE...
    WHEN @ReportType = 'New People'
    THEN WHERE...
    END

    > I know that dynamic SQL is frowned upon.
    That depends. I love (*) dynamic SQL for one thing:
    http://www.sqlusa.com/bestpractices/dynamicsql/
    Second, there are many things you cannot in static SQL:
    http://www.sqlusa.com/bestpractices2008/rebuild-all-indexes/
    * First choice is static SQL always.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • How to make a SELECT LIST READONLY

    Hi,
    I have a form to update the existing values in a table. Primary column is based on a Select List.
    So when user goto update screen they SHOULD NOT BE ABLE TO CHANGE the primary filed(means the value display in the Select List).
    SO to make this one I have make that select list read only. But not like other items even when we make select list read only it still allow user to change the value. So basically read only property not working for select text.
    There are many post in this regading same issue. Some of them recomended to make it disabled. But when we make a item disabled then when user POST that form, Apex not POST any disabled item values. Basically disabled items values not passing next form. So making item dissable also not a solution.
    I have read almost 20 post in here regarrding this and didnt get any solution for this. So please let me know if anyone knows how to make a select list read only (which is working same as read only text boxes, means that value pass when user POST the form).
    Thanks in advance...
    mc

    You define a function(this is based aorund jQuery selectors) in the page header like
    <script>
      var makereadonly = function(selector, makeReadonly) {
          $(selector).filter("select").each(function(i){
              var select = $(this);
              //remove any existing readonly handler
              if(this.readonlyFn) select.unbind("change", this.readonlyFn);
              if(this.readonlyIndex) this.readonlyIndex = null;
              if(makeReadonly) {
                  this.readonlyIndex = this.selectedIndex;
                  $(this).css('background-color','#CDCDCD'); //Adds a background colour to readonly item
                  this.readonlyFn = function(){
                      this.selectedIndex = this.readonlyIndex;
                  select.bind("change", this.readonlyFn);
          //For input items
          $(selector).filter("input,textarea").attr('readOnly','readOnly');
          $(selector).filter("input,textarea").css('background-color','#CDCDCD');
    </script>and apply it using a jQuery selector (call it in the "execute on page load" or any other JS code)
      makereadonly('#ITEMNAME1,#ITEMNAME2,#ITEMNAME3',true);Not that all of these methods(that act at the client side) will only prevent the user from modifying it 'normally', they could manipulate these readonly items using Javascript(or using firebug or any tool like that). So its better to make sure that your don't use the item value(from the page) for processing.

  • Condition that checks the value of an Item derived from a select list

    I want to conditionally display and hide items in a region based on a select list item.
    Some items will display when the select list is at the default (%null%) and others will be displayed when the select list user selects from the select list.
    The display is then updated when the "SAVE" button is pressed and the page processed.
    How do I test the select list item to be null. The condition looks like this;
    Type: PL/SQL Expression
    :P1_SELECT is null
    I also tried, :P1_SELECT is not null and :P1_SELECT = '%nul%'.
    The latter changed the condition to :P1_SELECT = ''
    How can I test the valu in P1_SELECT?
    tia,
    Sam
    Message was edited by:
    After a long day I saw that I did not write the condition correctly. Mea culpa.
    slavanaway

    I had the problem wrong.
    The issue was a second field that could have a Y or N or null. When I checked it in PL/SQL expression as
    :P_YN != 'Y' and :P_SELECT is null
    assuming the null condition would resolve as != 'Y' I had to do an explicit check as
    (:P_YN != 'Y' or :P_YN is null) and :P_SELECT is null
    That fixed it.... I like null and I hate null
    Thanks for the reply

  • "Headers" or disabled items in select list.

    This used to work...
    SELECT d, r
    FROM (SELECT tr.description d, TO_CHAR (tr.ID) r,
    tgr.description grouporder, tr.description toolorder
    FROM hr.bi_tools_reg tr JOIN hr.bi_tools_group_reg tgr
    ON tr.GROUP_ID = tgr.ID
    WHERE tr.ID NOT IN (
    SELECT brc.comp_id
    FROM hr.bi_register_competence brc
    WHERE brc.user_name = :app_user
    AND brc.comp_type_id = 2
    AND brc.comp_id IS NOT NULL)
    UNION
    SELECT '   ---' || tgr.description || '---' d, ID || '" disabled="disabled' r,
    tgr.description grouporder, 'a' toolorder
    FROM hr.bi_tools_group_reg tgr)
    ORDER BY grouporder, toolorder
    Creating a list of greyed-out ---Description--- in the second select and the selectable items in the first select and then merging them into one list in the proper order. Resulting in a list with headers that are non-selectable and a number of selectable items below each of them...
    Suddenly It doesn't work anymore (with ie 8.0.7600 and APEX 4 as opposed to working in 8.0.6001 and APEX 3.2.1)
    the workin header rows look like this in the html source
    <option value="3" disabled="disabled">   ---Microsoft---</option>
    and in the newer ie they look like this:
    <option value="3&quot; disabled=&quot;disabled">&amp;nbsp;&amp;nbsp;&amp;nbsp;---Microsoft---</option>
    Any ideas on how to get around this?

    This is due to select list <tt>option</tt>s now being HTML-escaped in APEX 4.0. See +{thread:id=2126522}+
    Use the -capable select list plug-in<tt>optgroup</tt>-capable select list plug-in instead.
    (When posting code, please \...\wrap it in <tt>\...\</tt> tags.)

  • How to fix "Select List with Submit" Problem

    I have a report with two regions. Region1 has a list item which is set to "Select List with Submit". Based on the list/item value selected in the Region1, the data is displayed in the Region 2.
    Question: How do I ge the report, Region2, to have the data populated based on the first value in the list when the page is loaded - for the first time. Currently, when the page is accessed, the list has the first value selected in the Region1 list item by default, but the Region2 is blank.
    DP
    Edited by: user4115675 on Jan 14, 2010 9:37 AM

    Earl, please see the response in italics for each of your questions below:
    You do want your default value to be one of the values in the select list. Otherwise why would you want the value there at all?
    So, then should I have a default value at all? And, if yes, then what should it be?
    And can't you just set the default value to the first value in your select list, whatever that is, so the first value is the selected value?
    I did that and it works, only if the first value in the select list is always going to be there.  The select list is based on a column data in a table.  And if the data for that column changes then the values in the select list will change.  And, the first value might not always be the same.
    I guess I'm not clear why this isn't doing what you want, besides the fact that
    you seemed to have removed the default value from the dynamic select list query, which you shouldn't do.
    I removed the first value (it could have been any values) from the select list to mimic the "dynamic" select list -- just to test.  The select list data is based on a table and the data in the table can change.
    Thanks
    DP

  • How to handle defect items in sap sd..

    Hi Friends,
    How to handle defect items in sap sd..
    My requirement is some of the XYZ materials are damaged 10%.Some more materials(Material number is XYZ) are damaged to 20%.When sales order is created with these defect items,the system should pickup the defect items only?One more thing is for 10% damaged items,one price is given.For 20% damaged items,one more price is given and so on.How this will be configured in sap sd.
    We hav an idea that making these type of defects as scrap.Then create one more material number  as AXYZ(Defects of XYZ) and receipt without po.We can use the defects in sales order and soon.But how pricing will be set for different levels of damages?
    Any ideas,documents and settings required for this scenario and share any ideas
    Thanks in advace....VM

    Hi All,
    Thank you very much for your replies and sharing your valuable information
    Just I am giving all the meeting points and those are
    They donu2019t want to convert into scrap.
    One more point is that if materials are in batches then???
    When we create sales order that damaged one only should be picked by the system.
    Manual entering the price need to be stopped
    Without maintaining separate material for the damaged, any possibilities?
    We discussed abt Split valuation point .Is it suitable to this? then how?
    How to handle this we are thinking.
    Both Rithvikau2019s point and Jigneshu2019s point need to be considered, actually this is main issue. There are more chances of malpractices/confusion to the user as mentioned by Rithvika. Here one more constraint is more material codes required for 10%, 20%, 30%........90% damaged one for one material as said by Jignesh
    Actually I mentioned only as example 10% and 20% but have many.
    Any ideas how to proceed...
    Thanks and Regardsu2026VM
    Edited by: vm on Apr 13, 2009 4:45 PM

  • How does the EDB handle deleted items and why am I only able to recover some and not all previously deleted emails?

    Hello,
    I have been unable to locate information regarding how the EDB handles deleted files.  I am able to recover deleted emails from the EDB; however, there are numerous emails that I know have been deleted, that were not recovered during the recovery process.
     Is this because the EDB dumps deleted emails once it reaches a certain amount of entries?  Or is it more likely the deleted items are corrupted and thus not recoverable?  Thank you for your time and I look forward to your responses.  The
    product in question is Microsoft Exchange Server 2007.

    Great information from the other posters and one other possible explanation is if the users did a HARD DELETE.  More information on this below
    Pre-Exchange 2010 Dumpster 1.0 worked as follows;
    1. When a user does a normal delete of an item via Outlook or OWA it gets sent to your deleted items folder
    2. If the user then empties deleted items folder those items are then marked with the ptagDeletedOnFlag attribute which in essence hides them from the view of the user
    3. At this point the user can use the Recover Deleted Items function in Outlook to recover those items as long as the items were NOT purged using the Recover Deleted Items option OR the items have not passed still the deleted item retention period.
    NOTE: Every day there is a nightly maintenance process that in short looks through  the DB and examines items that have been deleted. Items that have met or exceeded the deleted item retention period are purged from the system and are
    completely non-recoverable.  More about this at the end of my post.
    4. However if the end user were to  delete an item from the Inbox or another folder in Outlook by using Shift + Delete aka a Hard Deletion the item is left in its orignal location and gets marked with the ptagDeletedOnFlag attribute which again just
    hides it from view.
    5. By default you can only use the Recover Deleted Items option on the Delted Items folder.  Howeve you can make it so that you can recover hard Deleted items from other folders.  More on that here http://support.microsoft.com/kb/246153
    5. The problem with this method though IMO is that you have to know where to look and that can be rather time consuming.
    6. If you want a more elegant method to resolve this and are open to using 3rd party utilities check out Lucid8's DigiScope. 
    http://www.lucid8.com/product/digiscope.asp which will allow you to open any offline copy of the DB from a forensic point of view and to solve your specific issue you can either turn on a filter to ONLY
    show hard deleted items OR you can search the entire store and all mailboxes for just deleted items and can then view or export them to PST or MSG format.  You can download the product and obtain a 30 day demo license which will allow you to find any
    hard deleted items, however to view them or export your would need to purchase a license.
    NOTE: When a database is backed up or copied it is an "Offline" database and then its offline the data retention period is not an issue because the nightly online maintenance process can only act on a database that is mounted on an
    Exchange server.  So for this reason if you want to recover the most data possible use offline copies/backups of the DB with a 3rd party utility like DigiScope
    NOTE 2: Exchange 2010 and 2013 use Dumpster 2.0 which is an entirely different beast and I will not go into that in this post since its nearly 1AM  however DigiScope can expose that information as well
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003
    --> 2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • How does the email program in the suite compare with Google GMail especially in handling spam or are both about the same?

    How does the email program in the suite compare with Google GMail especially in handling spam or are both about the same?

    Firefox doesn't include an email client. Are you asking about the Seamonkey suite? The Seamonkey support options are over here: http://www.seamonkey-project.org/community

Maybe you are looking for

  • Dynamic Video Straming Doesnt Work in iPad

    I am trying to create video dynamic streaming for iDevices,i tried this simple code under RTMP and HTTP protocol for recorded video. it works in Flash Builder 4.6 simulator but in iPad it does not work: <s:VideoDisplay         width="500" height="300

  • MT940 EBS upload for Incoming payment

    HI, We are implementing the MT940 format EBS upload for incoming payments. For incoming payment (customer) not executing the F110. so by EBS upload following posting should be happen; Debit - Bank account Credit - customer subledger account The note

  • Preparing query through Inline View

    Pls. help to prepare a query by i may extract the following data through inline view (i.e; other than using UNION): 1. SALESMAN who are working in deptno # 30 2. MANAGER who are working in deptno # 20 In department # 30 both SALESMAN and MANAGER are

  • Conflicting Channel Assignments -- Xtreme Gamer X-Fi and Logitech Z-5300 Speak

    I do know there is a similar post here about the Z-5500 series of speakers, and I do understand they are in the same family, but my problem is neither fixable with the suggestions in the post, nor is it the same as those people have posted. Thus I ha

  • The bottom row of my key board keys are not working

    The bottom row of my key board keys are not working