Multiple NOT-IN selection from within Forms 6i

I have a form, in which the user can put several varchar2 IDs (es. 'A0', 'B3', 'CJ',...). Then, I have to execute a query like this:
INSERT INTO FOO
SELECT *
FROM BAR
WHERE ID NOT IN (...values put by the user...)
- The list of the user values has an undefined length
- I can't create a temporary table on the DB
Is there a solution to my problem?
Thanks in advance.

You definitely can use dynamic sql. Here is an alternative:
select replace(substr(','||:str,pos+1,4),'''','') from
(select instr(','||:str,',',1,n) pos from
(select rownum n from dba_objects where rownum < 1000) pivot
where instr(','||:str,',',1,n) > 0) a
assuming you will have maximum 1000 codes in the string, if not, change it accordingly, and assuming your codes are always 2 characters, otherwise, change the logic a bit. :str is your string 'AJ','B3','CJ'...

Similar Messages

  • Querying data from External Source from within FORMS

    I have a form that is built based on Oracle tables.
    I need to execute a Select statement via ODBC from within Forms procedures. This is going to a SQL Server DB to get some information for validation purpose.
    I do not need to bring this in to a Forms Block.
    Any thoughts?
    Thanks

    Hi
    What version of forms do you use? If you use forms 6i, take a look at the EXEC_SQL package. You can access oracle databases and ODBC databases (using OCA) independently of the main database connection -- well, I never tried but that is what the documentation says.
    I am not sure about version 9i... the package is there, but I could not find anything in the help about it (what is not a good sign...)
    hth
    Luis Cabral

  • Urgent: Selection-screen within Form routines

    Hi Experts,
        Within Form routines can i declare selection-screen statements. If no how should i declare my objects on selection screen within form routines bcoz when i declared with selection screen statements within form routines iam getting the error as "Within FORM routines and function modules, the SELECTION-SCREEN statement is not allowed".          
    Regards.
    AADI.

    Hi Aditya,
    U cannot use the Selection-screen in Forms and Function Modules.
    Try to use it in an include program and call it from ur program.
    Reward if Helpful,
    Jagadish.

  • Oracle Forms 11gR2 - Cannot deploy locally from within Forms

    I cannot deploy locally from within forms.  The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window.  When I try to deploy from within forms it comes up with some crazy URL that differs everytime.
    This is what the URL should be and this works from the browser:
    http://machinename:7002/forms/frmservlet?form=WRD608ADMIN_11g.fmx&userid=&otherparams=useSDI=yes
    Here is one of the URLs it came up with when I try to run it from within Forms:
    http://localhost:60231/lysVL2VjqT33znjfvLwanktVRxTIc6dEwVeRNXXRmhYU2qjf
    Localhost is always there, but the rest varies.
    In Forms, I have the Preferences, Runtime set to:
    http://machinename:7002/forms/frmservlet
    Where machine name is my PC, it is the same for this address as the URL above that works directly from the browser.
    So what am I missing?
    Thank you in advance.

    Generally speaking, it is discouraged to manually edit any of the configuration files if they are managed by WLS Console or EM.  In this case, default.env is managed by EM.  Therefore, changes to the file should be done through EM.  If however, you want to alter the file manually, the following is likely the best way to accomplish this:
    1.  Stop the WLS Admin Server and Node Manager
    2.  Locate the proper file you wish to edit.  By proper I mean, there are several copies of most config files.  Most of the config files found in the Oracle Home are actually template files and are not used at runtime.  Altering these will not give you the change you want.  The default.env you want would be here (assuming Windows)
    C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config
    If you are using a "Development" installation type, the above path will reflect AdminServer instead of WLS_FORMS.  Remember that Development installations are not for multi-user purposes.  Production deployments require the "Deployment" installation type, which can also include the Builders.
    Do NOT make any changes yet.
    3.  Once you find the correct file, create a backup copy.  Then open the file for edit (not the backup).
    4.  Make the desired changes and save.
    5.  Restart Node Manager and Admin Server if you plan to use them.
    For more information about using EM to manage your configuration, refer to the product documentation:
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/configure.htm#CHDCCGHI

  • I am trying to sync music from my iTunes library on my iMac to my iPhone. I only want selected music but I'm getting unwanted songs. How can I delete those songs on my iPhone or how can I prevent these unwanted songs that have not been selected from appea

    I am trying to sync music from my iTunes library on my iMac to my iPhone. I only want selected music but I'm getting unwanted songs. How can I delete those songs on my iPhone or how can I prevent these unwanted songs that have not been selected from appearing on my iPhone? Help!

    http://support.apple.com/kb/HT1296

  • ORA-01007 - variable not in select list - Oracle forms 6i

    Hi!
    I´m creating an form with one field called "txtquery". The user can write a query on this field and click on button with code above. The form will create a text file with the result of the query writing. I managed to create a function in oracle and it worked perfectly but I want to solve without creating any object in the database.
    Sorry for my bad english!
    I wrote the following code:
    DECLARE
       VISCONNECTED BOOLEAN;
       VCONEXAO EXEC_SQL.CONNTYPE;
       VARQUIVO_SAIDA TEXT_IO.FILE_TYPE;
       VCURSOR EXEC_SQL.CURSTYPE;
       VCOLUMNVALUE VARCHAR2(2000);
       VSTATUS PLS_INTEGER;
       VNUMCOLUNAS NUMBER DEFAULT 0;
       VSEPARADOR VARCHAR2(10) DEFAULT ';';
       VCONTADOR NUMBER DEFAULT 0;
    BEGIN
       VCONEXAO := EXEC_SQL.DEFAULT_CONNECTION;
       VISCONNECTED := EXEC_SQL.IS_CONNECTED;
       IF NOT VISCONNECTED THEN
          MSG_ALERT('Não conectado.', 'E', TRUE);
       ELSE
          VCURSOR := EXEC_SQL.OPEN_CURSOR;
       END IF;
       BEGIN
          EXEC_SQL.PARSE(VCONEXAO, VCURSOR, :BLK.TXTQUERY, EXEC_SQL.V7);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' executando parse da query!', 'E', TRUE);
       END;
       BEGIN
          IF TEXT_IO.IS_OPEN(VARQUIVO_SAIDA) THEN
             TEXT_IO.FCLOSE(VARQUIVO_SAIDA);
          END IF;
          VARQUIVO_SAIDA := TEXT_IO.FOPEN(:BLK.TXTDIRECTORY || :BLK.TXTFILENAME, 'w');
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' criando arquivo no disco!', 'E', TRUE);
       END;
       BEGIN
          FOR I IN 1 .. 255 LOOP
             BEGIN
                EXEC_SQL.DEFINE_COLUMN(VCURSOR, I, VCOLUMNVALUE, 2000);
                VNUMCOLUNAS := I;
             EXCEPTION
             WHEN OTHERS THEN
                IF (SQLCODE = -1007) THEN
                   EXIT;
                ELSE
                   RAISE FORM_TRIGGER_FAILURE;
                END IF;
             END;
          END LOOP;
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' executando define_column!', 'E', TRUE);
       END;
       EXEC_SQL.DEFINE_COLUMN(VCURSOR, 1, VCOLUMNVALUE, 20000);
       BEGIN
          VSTATUS := EXEC_SQL.EXECUTE(VCURSOR); -- ----------------------->> ERROR HERE!!!!!!!!
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || EXEC_SQL.LAST_ERROR_MESG || ' fazendo execute para a query!', 'E', TRUE);
       END;
       BEGIN
          LOOP
             EXIT WHEN(EXEC_SQL.FETCH_ROWS(VCURSOR) <= 0);
             VSEPARADOR := '';
             FOR I IN 1 .. VNUMCOLUNAS LOOP
                 EXEC_SQL.COLUMN_VALUE(VCURSOR, I, VCOLUMNVALUE);
                 TEXT_IO.PUT_LINE(VARQUIVO_SAIDA, VSEPARADOR || VCOLUMNVALUE);
                 VSEPARADOR := :BLK.TXTSEPARATOR;
             END LOOP;
             TEXT_IO.NEW_LINE(VARQUIVO_SAIDA);
             VCONTADOR := VCONTADOR + 1;
          END LOOP;
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' criando linhas no arquivo texto!', 'E', TRUE);
       END;
       BEGIN
          EXEC_SQL.CLOSE_CURSOR(VCURSOR);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' fechando cursor!', 'E', TRUE);
       END;
       BEGIN
          TEXT_IO.FCLOSE(VARQUIVO_SAIDA);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' fechando arquivo!', 'E', TRUE);
       END;
    END;------------------------------------------
    But, on line "VSTATUS := EXEC_SQL.EXECUTE(VCURSOR);" i get the error (ORA-01007 - VARIABLE NOT IN SELECT LIST). Whats is wrong?
    Thanks a lot!!!

    The user can write a query on this field and click on button with code above.This is such a big NO NO NO! A user writing his own queries? You are really asking for problems.
    VSTATUS := EXEC_SQL.EXECUTE(VCURSOR); -- ----------------------->> ERROR HERE!!!!!!!!What is the value of vcursor?

  • RTP's are not showing up from the forms

    Case1:
    ========
    I have a business rule which has seven RTP's. I have unchecked the Hidden Value for the BR in the Calculation Mgr.
    I have included this rule in a Menu and executing it from the form.
    Here it is not showing the pop -up for the RTP's but straight away taking the default values of the form combination and executing properly.
    But I need the RTP to change the combination.
    Case 2:
    ========
    The Same Business rule is working fine when we do a launch form (Menu--> Tools---> Business Rules--> Launch). the RTPs are coming.
    Case 3:
    ========
    I also tried testing the RTPs by including it at "Run On Save", it is showing the RTP prompts properly.
    But I need the Case 1 working
    Please advise me, where I am missing for Case1.
    Regards
    Mahesh

    Hi,
    In the menu definition, for the business rule item, there will be a drop list called "Required Parameters". Modify the value there depending on what parameters you want to obtain from the form.
    Thanks,
    JM

  • Can not run Reports from a Form

    Hello,
    First: I'm completely new to Oracle, even my english is not very good - i'm sorry for that.
    Problem:
    I want to run a report from a Form using the Report Server.
    If i use:
    WEB.SHOW_DOCUMENT('http://tfischer:8888/reports/rwservlet?report=C:\Oracle-Projekte\testbericht.rdf&USERID=user/password@oraapp&SERVER=SrvShadow&DESFORMAT=html&DESTYPE=cache', '_blank') - everything works well.
    But if i use:
    repid := FIND_REPORT_OBJECT('REPORT_NAME');
    v_rep := RUN_REPORT_OBJECT(repid); - always following Error-Message appears:
    "FRM41213: Anmeldung bei Report-Server SrvShadow nicht möglich" (english: registration on Report-Server SrvShadow not possible)
    I am using:
    Windows 2000
    Oracle DS9i
    Oracle DB92 (Personal edition)
    Can somebody help me, please?
    If you need more information, to help me, please ask.

    Hi,
    Try using
    SET_REPORT_OBJECT_PROPERTY
    (repid,REPORT_SERVER,"YOURSERVERNAME");
    before
    v_rep := RUN_REPORT_OBJECT;
    If you are testing the report on your PC using reports services on your PC then you may need to initiailize the reprots server using
    rwserver server="YOURSERVERNAME" install
    at command prompt.
    Hope this helps.
    -Jayshree

  • Palm TX keyboard is not easily selecting from numbers to letters

    I have the HanDBase 4 application for my palm and my Palm TX will not easily switch from numbers to letters.  When I push on the areas to switch, it instead clicks on the symbol directly above it and I have to do this 4-5 times before it will switch over.  I have completed the "touchscreen alignment" under "preferences" several times and still there is no change.  Does anyone know how to fix this?
    Post relates to: Palm TX

    The digitizer on the touchscreen may be going bad. Another issue that can happen to cause the calibration to be off, is dirt or debris between the case and the screen.
    You can try this process to see if there is any debris that is stuck under the screen edge.
    Take a business card or folded piece of paper. Stick it in the gap between the edge of the screen and the case. Move around the perimeter of the screen and see if you can get out any debris.
    If that doesn't work, the digitizer on the device is probably defective and needs replaced.
    You can contact Palm for repair or find replacement parts at pdaparts.com or usedpdaparts.com.
    For reference purposes, click on the following link for the support page for your device on the kb.palm.com webpage.
    http://kb.palm.com/SRVS/NUA/launchTab.asp?t=home&fn=tungsten&mn=tx&cn=unlocked
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.

  • Back button on IE 11 does not load the dropdown selections from previous form

    We have a site in clasic ASP. There is a search criteria form with a few drop downs and a few radio buttons. While working in IE 11, When this form filled and submitted, the results show up. When the back button is hit, the previous form loads but the selections
    are lost. This works perfectly fine in IE 9. What has changed in IE 11 that this does not work. 
    Is there some setting that can get this feature back.
    Arun 

    Hi,
    your question would be better answered in a developers forum. Include with your question a link to your website so that it can be tested.
    usually the query parameters from a get request are used to populate a form with previously entered values. You may have coded your page to always refresh from the server.
    IE documentation for developers can be found here -
    http://msdn.microsoft.com/en-us/ie/ - there are no MSDN support forums for classic asp.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us
    Rob^_^

  • Capturing log files from multiple .ps1 scripts called from within a .bat file

    I am trying to invoke multiple instances of a powershell script and capture individual log files from each of them. I can start the multiple instances by calling 'start powershell' several times, but am unable to capture logging. If I use 'call powershell'
    I can capture the log files, but the batch file won't continue until that current 'call powershell' has completed.
    ie.  within Test.bat
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > f.log 2>&1
    the log files get created but are empty.  If I invoke 'call' instead of start I get the log data, but I need them to run in parallel, not sequentially.
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    Any suggestions of how to get this to work?

    Batch files are sequential by design (batch up a bunch of statements and execute them). Call doesn't run in a different process, so when you use it the batch file waits for it to exit. From CALL:
    Calls one batch program from another without stopping the parent batch program
    I was hoping for the documentation to say the batch file waits for CALL to return, but this is as close as it gets.
    Start(.exe), "Starts a separate window to run a specified program or command". The reason it runs in parallel is once it starts the target application start.exe ends and the batch file continues. It has no idea about the powershell.exe process
    that you kicked off. Because of this reason, you can't pipe the output.
    Update: I was wrong, you can totally redirect the output of what you run with start.exe.
    How about instead of running a batch file you run a PowerShell script? You can run script blocks or call individual scripts in parallel with the
    Start-Job cmdlet.
    You can monitor the jobs and when they complete, pipe them to
    Receive-Job to see their output. 
    For example:
    $sb = {
    Write-Output "Hello"
    Sleep -seconds 10
    Write-Output "Goodbye"
    Start-Job -Scriptblock $sb
    Start-Job -Scriptblock $sb
    Here's a script that runs the scriptblock $sb. The script block outputs the text "Hello", waits for 10 seconds, and then outputs the text "Goodbye"
    Then it starts two jobs (in this case I'm running the same script block)
    When you run this you receive this for output:
    PS> $sb = {
    >> Write-Output "Hello"
    >> Sleep -Seconds 10
    >> Write-Output "Goodbye"
    >> }
    >>
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    3 Job3 Running True localhost ...
    PS>
    When you run Start-Job it will execute your script or scriptblock in a new process and continue to the next line in the script.
    You can see the jobs with
    Get-Job:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    3 Job3 Running True localhost ...
    OK, that's great. But we need to know when the job's done. The Job's Status property will tell us this (we're looking for a status of "Completed"), we can build a loop and check:
    $Completed = $false
    while (!$Completed) {
    # get all the jobs that haven't yet completed
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"} # if Get-Job doesn't return any jobs (i.e. they are all completed)
    if ($jobs -eq $null) {
    $Completed=$true
    } # otherwise update the screen
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    This will output something like this:
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    When it's done, we can see the jobs have completed:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Completed True localhost ...
    3 Job3 Completed True localhost ...
    PS>
    Now at this point we could pipe the jobs to Receive-Job:
    PS> Get-Job | Receive-Job
    Hello
    Goodbye
    Hello
    Goodbye
    PS>
    But as you can see it's not obvious which script is which. In your real scripts you could include some identifiers to distinguish them.
    Another way would be to grab the output of each job one at a time:
    foreach ($job in $jobs) {
    $job | Receive-Job
    If you store the output in a variable or save to a log file with Out-File. The trick is matching up the jobs to the output. Something like this may work:
    $a_sb = {
    Write-Output "Hello A"
    Sleep -Seconds 10
    Write-Output "Goodbye A"
    $b_sb = {
    Write-Output "Hello B"
    Sleep -Seconds 5
    Write-Output "Goodbye B"
    $job = Start-Job -Scriptblock $a_sb
    $a_log = $job.Name
    $job = Start-Job -Scriptblock $b_sb
    $b_log = $job.Name
    $Completed = $false
    while (!$Completed) {
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"}
    if ($jobs -eq $null) {
    $Completed=$true
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    Get-Job | where {$_.Name -eq $a_log} | Receive-Job | Out-File .\a.log
    Get-Job | where {$_.Name -eq $b_log} | Receive-Job | Out-File .\b.log
    If you check out the folder you'll see the log files, and they contain the script contents:
    PS> dir *.log
    Directory: C:\Users\jwarren
    Mode LastWriteTime Length Name
    -a--- 1/15/2014 7:53 PM 42 a.log
    -a--- 1/15/2014 7:53 PM 42 b.log
    PS> Get-Content .\a.log
    Hello A
    Goodbye A
    PS> Get-Content .\b.log
    Hello B
    Goodbye B
    PS>
    The trouble though is you won't get a log file until the job has completed. If you use your log files to monitor progress this may not be suitable.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Spry if to select from a form drop down

    I asked this question over a week ago and I haven't recieved
    much in response. I really need to get this figured out. I have a
    form with a dropdown list and I want to select the value that
    corresponds to the value returned from the database. In ASP it
    would look something like this:
    <select name="phone1_label" id="phone1_label">
    <option value="home" <% IF Lable1 = "home" Then%>
    selected = "selected"<%=End IF%>>home</option>
    <option value="office"<% IF Lable1 = "office"
    Then%> selected = "selected"<%=End
    IF%>>office</option>
    <option value="fax"<% IF Lable1 = "fax" Then%>
    selected = "selected"<%=End IF%>>fax</option>
    </select>
    I am trying to accomplish the same thing using spry if, but
    am not having much luck. I can get it to work fine if I create a
    table and have the list dynamically created, however I have a form
    with several dropdown lists and I don't want to have to create a
    spry dataset for every one of them. I have created a test page to
    work from to get this to work. The phone_lable should select
    "office" for all 3 records. It can be found at this address:
    http://homesandagents.com/Members/test.asp
    Here is the code:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <script src="SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <style type="text/css">
    <!--
    .myHoverClass {
    color: #000;
    background-color: #68A0BB;
    cursor: pointer;
    .myHeaderHoverClass {
    cursor: pointer;
    .rowSelected { color: #000000; }
    .oddRow { color:#333333;
    background-color: #DBE1F0;
    .evenRow { color:#333333;
    background-color: #F8F8F8;
    -->
    </style>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var dsContacts = new
    Spry.Data.XMLDataSet("export_contacts.asp?sort=A",
    "contacts/contact");
    //-->
    </script>
    </head>
    <body>
    <table width="100%" border="0">
    <tr>
    <td width="30%" valign="top"><div
    spry:region="dsContacts">
    <table>
    <tr>
    <th>First Name</th>
    <th>Last Name</th>
    </tr>
    <tr spry:repeat="dsContacts" spry:hover="myHoverClass"
    spry:select="rowSelected" spry:setrow="dsContacts"
    spry:odd="oddRow" spry:even="evenRow">
    <td
    class="myHoverClass">{contact_first_name}</td>
    <td
    class="myHoverClass">{contact_last_name}</td>
    </tr>
    </table>
    </div></td>
    <td valign="top"><form id="form1" name="form1"
    method="post" action="">
    <div spry:detailregion="dsContacts">
    <label>First Name:
    <input name="first_name" type="text" id="first_name"
    value="{contact_first_name}" />
    </label>
    <p>
    <label>Last Name:
    <input name="last_name" type="text" id="last_name"
    value="{contact_last_name}" />
    </label>
    </p>
    <p>
    <label>
    <select name="phone1_label" id="phone1_label">
    <option spry:if="'{phone1_label}' == 'home'"
    selected="selected" value="home">home</option>
    <option spry:if="'{phone1_label}' != 'home'"
    value="home">home</option>
    <option spry:if="'{phone1_label}' == 'office'"
    selected="selected" value="office">office</option>
    <option spry:if="'{phone1_label}' != 'office'"
    value="office">office</option>
    <option spry:if="'{phone1_label}' == 'fax'"
    selected="selected" value="fax">fax</option>
    <option spry:if="'{phone1_label}' != 'fax'"
    value="fax">fax</option>
    </select>
    </label>
    <label>
    <input name="phone1" type="text" id="phone1"
    value="{phone1}" />
    </label>
    </p>
    </div>
    </form>
    </td>
    </tr>
    </table>
    </body>
    </html>
    Any help would be greatly appreciated!!!

    Hi there,
    Please look at this thread,
    http://forum.sun.com/jive/thread.jspa?messageID=333100
    The customer there has 1-2 suggestions on how you can do this.
    Thanks
    K

  • Web UI - Value not getting selected from drop down list  .

    Hi  All ,
        I am facing a problem in one of the fields which is enhanced with a drop down functionality .
      I have created the GET_V_** method and also the GET_P_**  method for the same .And finally I am able to see the values in the drop down list . But the problem is , when I am trying to select a value from the drop down no values are selected .
    Can anyone plese help me in this as What has to be  done .
    I have taken references from few guides but I am not getting any clear idea of what has to be done .
    Regards,
    Ranjita

    Hi Ranjita,
                     To trigger a round trip, you must have given the event name in GET_P method.
    Same event handler would trigger.
      Please put a break point in Event Handler in IMPL class, and in SET_attr method of the attribute in CN class and see if value is getting set properly or not. Final value that would be displayed on UI would be there in GET_attr method of CN class.
      I hope it helps.
    Thanks,
    Rohit

  • Can a user editable frame be created for "Notes" and emailed from within the app?

    Hello,
    I am super new to the digital publishing process. Our church has published devotional content for some time and this year we are taking those publications digital. One of the key aspescts to our design is for readers to be able to have space to write their own thoughts in the devotional.
    I am not at all skilled in any sort of code or markup and I have tradtionally stuck to the visual side of production. So, I am wondering if there is a way to create a "Notes" frame within indesign that the user can email to themselves or save it in someother way from with in the app?
    Below is a screen shot of the print edition so you can see the area I am refering to.

    The CLASSPATH cannot be modified at runtime.
    You can work around this by creating a URLClassLoader with the required CLASSPATH and using it to load your classes instead.

  • Font selection dropdown within form field

    Is it possible or how do I create a dropdown font selection within a form field?  I want the user to be able to preview on screen what text will look like when they choose a specific font after they have typed in their text.
    Thanks for your help! 
    Oh, Acrobat X

    Is there any way to perform the above mentioned?  Thanks for your information!

Maybe you are looking for

  • Outgoing Payment against JE

    Hi, We need to make outgoing payment against credit balance of BP (transaction made through JE). Now after payment, how to link / reconcile these transaction. Eg. BP1 has CR balance (5000) through JE. Payment made 3000 By this BP account updated but

  • How to reset or change "what should firefox do with this file" option in Firefox 3.6.6

    How to reset or change "what should firefox do with this file" in Firefox 3.6.6. Accidentally I changed it to save file for .pdf files and now I want to reset it to default asking whether to open or save. any help please Thanks, raj

  • Proper Usage of getters and Setters in JSF

    I am getting a peculiar problem . Please see the snippet to get an idea . public List<Column> getColumnNameValueList(){           List<Column> tempColumnNameValList = new ArrayList<Column>();           // Fill the tempColumnNameValList               

  • Problen to convert an AP from IOS to Lightweight

    Hi, I'm try to convert some AP's from IOS to Lightweight using the Ugrade Tool version 3.4 but I get an error. I used a sniffer and I saw that the Upgrade Tools start a tftp copy of a "validate.txt" file from the AP to the PC where it is installed. I

  • I have updated with os X 10.10.2 and my built in microphone has stopped working. need immediate solution for this.

    Currently I own 13.5" Macbook Air (mid 2012) with OS X 10.10.2 running on it. Ever since I upgraded to it, the built-in microphone has stopped working. I made Facetime calls but my voice was not able to transfer/hear on the other side. Moreover i tri