Trouble setting the init form variable...

Hello,<br /><br />I am having trouble identifying an init form.  When I click the '+' icon in the Init-Form WorkFlow designer, I give the form a name ("AbsenceFrom"), specify the path ("<path>/<fromname>.xdp"), give a choice list ("Submit,Cancel"), choose the 'data type out' ("From") and select OK.<br /><br />The system shows me a notification that says "Attempting to load Schema for init form:  Access Denied: Make sure your user has permission to read <path>/<formname>.xdp from the registry."  I click OK and review the settings and there is no value beside "schema rootnode".  Also, when I use the XPATH expression builder, I can't access the form level nodes because they aren't there.<br /><br />I beleive this error occurs because I don't have an embedded schema in my form.  Am I right?  I can create an XML file be exporting the data with Acrobat, but what should I do with it to create a schema (I'm an XML nOOb, and my XML text talks about DTDs)?  If I am wrong, how do I get my form level nodes to appear in the XPATH expression builder?<br /><br />Thanks.

Hi<br /><br />Why are you using the xfa namespace prefix. You should not need to use any namespaces.<br /><br />Here's an example of a simple schema - import this into XML spy, and then just extend it to add your own elements.<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"><br />     <xs:element name="simple"><br />          <xs:annotation><br />               <xs:documentation>Comment describing your root element</xs:documentation><br />          </xs:annotation><br />          <xs:complexType><br />               <xs:sequence><br />                    <xs:element name="field1" type="xs:string"/><br />                    <xs:element name="field2" type="xs:string"/><br />               </xs:sequence><br />          </xs:complexType><br />     </xs:element><br /></xs:schema><br /><br />Good luck...<br /><br />Howard<br /><br />Howard Treisman <br />Avoka Technologies <br />Specializing in Custom QPAC development and LiveCycle Solutions <br />http://www.avoka.com/avoka/qpac_library.shtml

Similar Messages

  • How to set the init-param debug_mode to "true"

    Hi All,
    I wrote a custome application that will get invoked when I click the link in the SES search result page.
    I could invoke the application. However, getting the following exception when I click one button in my application:
    500 Internal Server Error
    OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message.
    How can see the exceptions I am getting. I mean how can I set the init-param debug_mode to "true".
    Thanks
    Krrish

    Normally application.log is where I look for problems. However this time there's nothing in the application.log file.
    I 'm trying a little experiment with how I build my .ear file. Usually I keep all the dependent jars of my webapp under WEB-INF/lib and then include the .war inside a .ear for command line deployment to Oracle application server (not OC4J standalone). Now I 'm trying place all my dependent library .jar files in the top directory of the .ear and then have a CLASSPATH entry in the .war's META-INF/MANIFEST.MF file to reference those jar files. This way multiple .war files inside my .ear then can reference a common set of jars without having to duplicate then under WEB-INF/lib of each war. Maven2 supports this type of packaging. In some forums this is called "skinny war" packaging.
    With this "skinny war" packaging, my .ear file deploys without errors using admin_client.jar (command line deployment) to the Oracle app server. However when I access the JSF page in one of my apps from the browser, I see this OracleJSP error asking me to set the debug parameter. NOTHING in the application.log file.
    On the application server host I don't have write permissions to all the application server directories (so I can set this debug param in soe global file) . I prefer being able to set this debug flag via my application's deployment plan file or web.xml.
    I have a workaround by making all the .wars inside my .ear "fat" i.e. they will have their own copies of the jars instead of sharing. I guess I can try to setup a OAS shared library and accomplish this too but with the "skinny" war approach the .ear is self contained.

  • I have trouble setting the trash mailbox behavior. I have set it to delete every month but it has been keeping the trash mails for only about 10 days. Please help.

    I have trouble setting the trash mailbox behavior. I have had it set to delete the messages once a month. But lately it has been deleting my messages every 10 days. I have tried choosing different options to set the trash mailbox behavior but has not been successful. Is there anything I can do? Please help.

    Thanks for that advice @randers4.
    I linked through and submitted my info as a "topic not covered" in the iCloud section. After entering the serial number of my MBP it turns out I wasn't eligible for technical support (though I don't think this is hardware related support) and the final suggestion was to take my computer into an Apple store. I called my local Apple reseller and asked for assistance. The customer service rep was very nice but unable to help, so suggested I call Apple Support on 1300 321 456. I did so and, again, spoke to two very polite and helpful customer service people (I was transferred to security services). I didn't have to be on hold to speak to either rep for more than a few seconds! After trying a few different things, he worked out what was happening...
    So, to cut a long story short, to solve the problem in my OP, all I had to do was log out of iCloud in my System Preferences and log back in using my current Apple ID. [Edited to add that I had to sign out of everything I was currently signed in to with my Apple ID before logging out and in again.]
    Problem solved!
    Message was edited by: NotBaconBits

  • Trouble setting the session state of a select item.

    Hi,
    I have a requirement whereby I need to change the session state of a select list item in my form without the need to submit. I am using Application Express 4.1.0.00.32. I thought this would be straight forward using a dynamic action or javascript and calling an on demand process for example.
    P1_MY_SELECT onchange="set_option();"
    function set_option() {
    var l_option=$f_SelectValue('P1_MY_SELECT');
    alert( 'My new value is ' + l_option );
    // ON DEMAND Set the new session state value
    var lRequest = new apex.ajax.ondemand
    ('SET_P1_MY_SELECT',function()
    {  /* start the return function */
    var l_s = p.readyState;
    if(l_s == 1||l_s == 2||l_s == 3)
    else if(l_s == 4)
    { gReturn = p.responseText;
         (gReturn)?json_SetItems(gReturn):null;
    else{return false;}
    /* end the return function */
    lRequest.ajax.addParam('x01', l_option );
    lRequest._get()
    My on demand application process
    DECLARE
    l_options varchar2(2000) := wwv_flow.g_x01;
    BEGIN
    APEX_UTIL.SET_SESSION_STATE('P1_MY_SELECT',l_options);
    apex_util.json_from_items('P1_MY_SELECT');
    END;
    Is there a better method to set the session state of my P1_MY_SELECT other than what I am doing as above or can you tell me why the session state of P1_MY_SELECT is not changed?
    Thanks.
    Edited by: 968358 on 01-Nov-2012 08:40

    if you are on 4.1 why don't you use a dynamic action instead of writing the code again?
    create a dynamic action like this
    Event: Change
    Source Type: Item
    Item: P1_MY_SELECT
    True Action:
    =========
    Action: Execute Plsql Code
    Plsql Code: null;
    Page Items to Submit: P1_MY_SELECT
    Page Items to Return: P1_MY_SELECT (this is optional)
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_dynamic_actions.htm#HTMDB27020

  • Why can't you set the inital view in preferences instead of on a document by document basis?

    You can set the initial view on the document level in document properties to display Bookmarks Panel and Page and that's the view you will receive the next time that document is open.
    There has to be a way to use a plug-in or something that will open all documents using that initial view, rather than having to set it each time.
    Thank you!
    Richard    

    Hi
    The 'Document properties' window is set to make changes to a particular document. In order to set common settings for all the PDFs, please make changes in the 'Page display' option:
    For MAC: File > Preference > Page display
    For Windows: Edit > Preferences > Page display
    Another point that you can make use of is: Whenever you close any PDF, Acrobat saves the last view settings and tries open the next PDF in the same view as it was closed.

  • Trouble Setting the structured app on import - FS_StructuredImportApplication

    Hello All,
    I have some referenced documents that I refresh when opening the parent document and I am trying to set the structured application on import.
    I am using>            
            var importParams = GetImportDefaultParams();
                            i=GetPropIndex(importParams,Constants.FS_StructuredImportApplication);
                            importParams[i].propVal.ival= "myStructApp";
                            alert(importParams[i].propVal.ival);
    I expect the alert to return "myStructApp" , which exists in the list of structured apps. However, my alert returns 0.
    What am I doing wrong please?
    thanks,
    Tracey
    [Thread moved to Scripting Forum by moderator]

    Hi eh1160,
    I'm not sure if your issue is now resolved, but since this is an open thread, I thought I would respond and give you a couple of things to try.
    Firstly, make sure the Bonjour service is running on your PC. This is required for iTunes to communicate with other devices on a network. To do this, right click on 'Computer', and select 'Manage'. You'll should see "Services and Applications", expand that, then select 'Services'. You could also try restarting the service if it is there, or re-install it in Control Panel.
    Secondly, while you're there looking at the list of services, check that 'Routing and Remote Access' is enabled and running, and set to start automatically.
    I hope that helps! Looks like you have already check the obvious things like the firewall, and iTunes settings...
    All the best,
    r4m0n

  • How to set the PATH Environment variable with multiple homes?

    I have several Oracle homes, and now I cannot get reports to work anymore. These are the things I installed, in this order:
    - Oracle Database 10g
    - Oracle Developer Suite 10g
    - Oracle Discoverer 4
    - Oracle HTMLDB
    Now my PATH environment variable is flooded with paths, but none seem to work when I want to start Reports 10g. I deleted all of the paths from the other homes and still no luck.
    This was my original PATH:
    C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;
    C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;
    C:\oradev10g\jdk\jre\bin\classic;
    C:\oradev10g\jdk\jre\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin;
    C:\oracle\product\10.1.0\compdb_1\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.1.8\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin\client;
    C:\Disco41Home\bin;C:\oracle\product\10.1.0\db_1\bin;
    C:\oradev10g\jdk\jre\bin\client;C:\oradev10g\jlib;
    C:\oradev10g\bin;
    C:\oradev10g\jre\1.4.1\bin;
    C:\oradev10g\jre\1.1.8\bin;
    C:\PROGRAM FILES\THINKPAD\UTILITIES;
    %SystemRoot%\system32;
    %SystemRoot%;
    %SystemRoot%\System32\Wbem;
    C:\WINDOWS\Downloaded Program Files;
    %SystemDrive%\IBMTOOLS\Python22;
    C:\Program Files\PC-Doctor for Windows\services
    and this is the PATH after I stripped it:
    C:\oradev10g\jdk\jre\bin\classic;
    C:\oradev10g\jdk\jre\bin;
    C:\oradev10g\jdk\jre\bin\client;
    C:\oradev10g\jre\1.1.8\bin;
    C:\oradev10g\jlib;
    C:\oradev10g\bin;
    C:\PROGRAM FILES\THINKPAD\UTILITIES;
    %SystemRoot%\system32;
    %SystemRoot%;%SystemRoot%\System32\Wbem;
    C:\WINDOWS\Downloaded Program Files;
    %SystemDrive%\IBMTOOLS\Python22;
    C:\Program Files\PC-Doctor for Windows\services
    What am I supposed to change to get Reports to work again (i.e. do more than just show the splash screen)?
    Forms and Designer work just fine....

    Never mind I found my solution here:
    Re: Oracle Developer hangs when starting...i'm desperate

  • Having trouble setting the look and feel

    hi, i've almost finished my app and am trying to improve it's appearance. I'm trying to change the look and feel but i can't seem to get any changes to take effect. i've been reading through the tutorial on L&F but obviously am not 'getting' something.
    At the moment all I'm trying to do, is to add the line below. I'm not totally sure where to put it though. I've tried putting it in the main method and nothing happens. I've also tried putting i the CreateandShowGUI() method and that doesn't seem to do anything either.
    Where should it go?
    try {
            UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
        } catch (Exception e) {
            System.err.println("Could not initialize java.awt Metal lnf");
        }

    Put it before you start assembling your GUI, ie. instantiating and adding components.
    Cheers
    DB

  • From Clause query with form variables

    forms 9.0.4 rdbms 9.2
    Is it possible to create a From Clause query with form variables generated from another block (but in the same form)? I am not having any success.
    I searched Metalink. It appears that according to DOC ID # 69884.1, in Forms 6i, this is not possible. Metalink suggest in DOC ID 104771.1 implementating a dynamic From Clause, but when I duplicate the example on my system, I receive an Oracle error. Further investigation from the web form (DISPLAY ERROR) indicates that the system does not see the dynamic value.
    Has anyone else run into this error? Has this been fixed in forms 9.0.4 and I am just missing something? Does a dynamic from clause query work? Can anyone point me to an example or post an example or offer any advise.
    thanks in advance

    As far as I know it is not possible to use block items in a from clause query in forms 9.0.4. Here is my solution for a From-Clause-Query via the 'Query-Data-Source-Name-Property':
    To use the values of the block items in my from clause query I implemented a database package with getter and setter routines for the block item values I needed for the query.
    In the Key-Exeqry-Trigger of the From-Clause-Query-Block I set the global package variables with values of the block-items I am interested in. In the From-Clause-Query I used the values in the where-clause via package functions which return the global package variables.
    Hope my solution will work for your problem.

  • Form Variables Don't Pass for Some Clients

    Recently, I’ve noticed some problems on one of my pages
    where form field variables aren’t passing to my action page.
    As far as I can tell, this is a new problem.
    This is the error I’m getting:
    Error resolving parameter FORM.EMAIL
    The specified form field cannot be found. This problem is
    very likely due to the fact that you have misspelled the form field
    name.
    The error is thrown when a cfquery is unable to find the form
    variable.
    The query looks, basically, like this:
    <cfquery name="Iogin" datasource="dsn">
    SELECT Count(*) AS Match
    FROM Users
    WHERE users.email = '#FORM.email#'
    AND users.password = '#FORM.password#';
    </cfquery>
    I know I could squash these errors with a cfparam or with
    other error checking, but what I’m really concerned about is
    why the form variables aren’t there. I have tested the form
    on a number of my internal clients and have not been able to
    replicate the error as it is being triggered from outside clients.
    I am able to submit a blank form or a complete form without any
    errors being thrown. I have established that the form submissions
    are coming from my site and are not being submitted by an outside
    domain.
    QUESTIONS:
    1. Does anyone know what might be happening to cause the form
    variable to disappear? Shouldn’t all the forms variables be
    submitted when a user hits the submit button, regardless of whether
    there is data in the form field?
    2. Could a firewall on the clients’ end be withholding
    the form variables without notifying the user?
    3. Have there been any recent changes to browsers that could
    be holding back form variables?
    Any help would be greatly appreciated!

    @Azadi
    quote:
    from your posts it looks like this happens to different forms
    in your application (you mentioned the email field and also a
    select box, which is presumably in some other form)
    I was able to resolve the problem with the second form (the
    one with the select box, not the one posted above). A JavaScript
    resided on that action page which triggers a service. The service
    (similar to GoogleAds) receives the page’s url from the
    JavaScript and then the service comes back and loads the page to
    evaluate the page’s content. The result: Action pages being
    loaded with no form content. My error reporting, very similar to
    what insuractive suggested, helped solve this problem.
    HOWEVER, we still periodically have trouble with the other
    form. I know from speaking with at least two users that the problem
    is a direct result of users following the planned application
    flow—form to action page. So this discussion is still
    relevant.
    @insuractive
    quote:
    you should make sure you test to see what happens when the
    client has javascript and/or cookies disabled on their browser.
    This is a good thought. I’m embarrassed to say that I
    haven’t tried accessing this form with cookies and JavaScript
    turned off. I will try this and report back.
    Thanks to all of you who are offering suggestions.

  • How I set the Focus in object

    Hello.
    I need set the focus on first object in a JInternalFrame.
    The form JInternalFrame contain a JTabbedPanel and this include object jFormatedTextFields.
    I need when the init form set the focus over first object in the first tab of JTabbedPanel. How I do?.
    Than You

    works OK in this
    (tabbed panes seem to be working OK for focus now, don't know what's changed)
    import javax.swing.*;
    import java.awt.*;
    import  javax.swing.text.*;
    class Testing extends JFrame
      MaskFormatter mf;
      JFormattedTextField ftf;
      public Testing()
        setLocation(300,200);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        try{mf = new  MaskFormatter("###.###.##.##");}
        catch(Exception e){e.printStackTrace();}
        ftf = new JFormattedTextField(mf);
        JTabbedPane tp = new JTabbedPane();
        tp.addTab("A",ftf);
        JDesktopPane dp = new JDesktopPane();
        JInternalFrame if1 = new JInternalFrame( "I-F1", true, true, true, true );
        if1.setLocation(50,50);
        if1.getContentPane().add(tp);
        if1.pack();
        if1.setVisible(true);
        dp.add(if1);
        getContentPane().add(dp);
        setSize(400,300);
        setVisible(true);
        ftf.requestFocusInWindow();
      public static void main(String[] args){new Testing();}
    }

  • Setting the name of a file to be uploaded

    I'm having trouble setting the name that my uploaded files get when they are saved on my server. I upload the files useing the following:
    <html>
    <head>
    <title>File Upload</title>
    </head>
    <body>
    <%@ page import="java.io.*" %>
    <% if (request.getContentLength() <= 1)
    { %>
         <form method=post enctype="multipart/form-data">
         <input type=file name="file">
    <input type=submit value="Submit" name="Submit">
    <input type="text" name="fileName">
    </form>
    <%
    if (request.getParameter("Submit") != null)
    out.println(request.getParameter("file"));
    else
    String contentType = request.getContentType();
    String tempFieldType = request.getParameter("fileValue");
    if ((contentType != null)&&(contentType.indexOf("multipart/form-data") != -1))
    try
    ServletInputStream sis = request.getInputStream();
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    int length = request.getContentLength();
    int read = 0;
    if (length != -1)
    for(int i = 0; i < length; i++)
    read = sis.read();
    baos.write(read);
    sis.close();
    String data = baos.toString();
    String origData = data;
    int boundaryStart = contentType.indexOf("boundary=");
    String boundary = contentType.substring(boundaryStart,contentType.length());
    boundary = boundary.substring((boundary.indexOf("=")+1),boundary.length());
    int gifStart = data.indexOf("\r\n\r\n")+4;
    int gifEnd = data.indexOf("--"+boundary,gifStart);
    File file;
    String filename = request.getParameter("fileName");
    out.print(filename);
    while(true)
    if (data.indexOf("image/gif") != -1) filename = filename+".gif";
    if (data.indexOf("jp") != -1) filename = filename+".jpeg";
    file = new File("C:\\"+filename);
    if(!file.exists())
    break;
    PrintStream pr = new PrintStream(new FileOutputStream(file));
    pr.write(baos.toByteArray(), gifStart, gifEnd-gifStart);
    pr.close();
    baos.close();
    catch(Exception exp)
    { out.println(exp); }
    %>
    </body>
    </html>
    I think my problem is in the <form method=post enctype="multipart/form-data"> this method is not letting me get the updated values of the text box fileName.
    Does somebody know how do get these values?
    thanks for you help,
    snnkmtt

    try to use jspsmartupload and see this post
    http://forum.java.sun.com/thread.jsp?forum=45&thread=81638&start=0&range=100
    thank you
    looking for ur solution
    all the best
    yours
    rajesh
    [email protected]

  • Setting the text on a label

    Ok, I am new to writing Java programs and I am having trouble setting the text on a label. I think I am following the syntax perfectly but my compiler wont accept it. This used to work for me then all of a sudden it didnt work.
    Here is the code that I was writing. I am trying to set the text of the Label lab1. What am I doing wrong?
    import java.awt.*;
    import java.applet.*;
    public class exer4 extends Applet
    Button but1;
    TextField txt1;
    TextField txt2;
    Label lab1;
         public void init()
         but1 = new Button("Click Me");
         add(but1);
         txt1 = new TextField(5);
         add(txt1);
         txt2 = new TextField(5);
         add(txt2);
         lab1 = new Label("This is a label");
         add(lab1);
    }

    Try this
    import java.awt.*;
    import java.applet.*;
    import java.util.*;
    public class pay extends Applet
    Button but1;
    TextField txt1;
    TextField txt2;
    Label lab1;
    public void init()
    lab1 = new Label("This is a label");
    Panel pan = new Panel();
    pan.add(lab1);
    add(pan);
    but1 = new Button("Click Me");
    add(but1);
    txt1 = new TextField(5);
    add(txt1);
    txt2 = new TextField(5);
    add(txt2);
    ps see you around

  • How do I set the PATH to use ImageMagick under PHP on my Server?

    Hi,
    I have the ImageMagick binaries installed. They are working in the terminal.
    But when I try to use it out of a php script on the webserver, it cant find the DYLD_LIBRARY_PATH.
    The manual says:
    Set the MAGICK_HOME environment variable to the path where you extracted the ImageMagick files. For example:
    export MAGICK_HOME="$HOME/ImageMagick-6.3.7"
    If the bin subdirectory of the extracted package is not already in your executable search path, add it to your PATH environment variable. For example:
    export PATH="$MAGICK_HOME/bin:$PATH"
    Set the DYLD_LIBRARY_PATH environment variable:
    export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib"
    I can do all this in the Terminal, but how and where do I set it, that it also works with the scripts on the webserver?
    Thanks and Regards,
    JO

    Joachim,
    I have not tested any of this but...
    If you are just using the default Mac OS X Server install of Apache and the PHP module, then Apache's path is /usr/bin:/bin:/usr/sbin:/sbin (when running under the user:group=www:www). Basically, if the server is running under that user and PHP inherits the basic PATH of that user's shell, then anything linked into those directories should be available to the scripts, i.e. link your ImagMagick bin and lib paths into /usr 's directories. See 'man ln' in Terminal. User www doesn't have a defined shell, though, so I don't know where the PATH comes from.
    Alternatively, you might be able to use Apache's env_module (on by default) to manipulate the PATH environment variable in a config file. See Apache's manual on environment variables.
    Another means is to utilize 'suexec' in Apache and switch the user:group of CGI execution, etc. to a actual user with a definable .bash_profile (or whatever shell you are using). There are security concerns with this. See Apache's manual on suexec. You may want to also consider compiling PHP as CGI.
    BTW: the new version of PHP has some new experimental native ImageMagick libraries built in. I assume it looks for the binaries in the usual places and/or may need to be compiled with their paths during ./configure.
    Larry

  • Make a call to the second form in one workflow

    Hi
    I have a workflow needs to call 2 forms. The problem is that when the 2nd form got called, the workflow is just suspensed.
    If the workflow bypasss the 1st form, the 2nd form can be called correctly.
    What did I miss? Is there anything to do the ':complete' field? I tried with different options on the value of ":complete without luck.
    Thanks for advice
    jxxe

    I will claim my own duke points.
    To have the 2nd form called, I need to
    1. Specify synchronous execution to be true
    2. Set the first form ":complete" as true.
    Thanks for reading
    jxxe

Maybe you are looking for

  • Customer Invoice  in CRM to Vendor invoice in ECC.

    HI , I have question we have in our business scenario,  customer performs service activity say repairing a Lap top, customer uses his own service person (labor)  to perform that  repair work for that  Lap top  and raises invoice on company . Here cus

  • How can i recover lost pictures and vids

    PLs pls will some1help me ive lost priceless baby pictures over 2000 pics n vidz

  • Is JDE World version 7.3.19  compliant with V7R1 Operating System?

    We are working on an analysis project to upgrade our iSeries operating system level to V7R1.  Right now, we are reviewing all of the applications running in our iSeries environment to determine if they are compatible with V7R1 or what upgrade/changes

  • Transfer documents from ipad to computer

    I am new to ipad to bare with me. I have a few documents that i have been working on in pages and am ready to send them to word to be printed. So again how do i transfer documents from the ipad to the computer? josh

  • Pls Help! Failed to access local Session bean in 7.0!

    Hi all, Heard that to deploy local bean in weblogic 7.0, I need to put my war file and ejb jar files in the ear file. My client servlet contains the following: AccessControlLocalHome accessControlLocalHome = (AccessControlLocalHome)ctx.lookup("Access