Problem with application item and session state

Okay, let's see if I can explain this problem coherently.
I have a small app (one page), with an application item, F_WHERE_CLAUSE.
This page has three regions in which there are items that the users can populate for search conditions. A couple of these items are "select list with submit" (I still need to upgrade to the AJAX method, I know). There is another region which has one hidden field, called P1_WHERE_CLAUSE. This field is defined to "Always, replacing any value in session state..." with source type of "Item (application or page.....", and a source value of F_WHERE_CLAUSE with no default value.
I have a button called "Search" which submits the page and fires a PL/SQL process which builds a where condition based upon the other page items and stores the value to the application item F_WHERE_CLAUSE (correctly).
For testing, I've made the P1_WHERE_CLAUSE field visible so that I can see what's going on. I've also clicked the debug and session buttons to help trace this. After I click the "Search" button and the page submits, debug shows:
0.02: ...Session State: Save "P1_WHERE_CLAUSE" - saving same value: "1=1"
followed later by:
0.05: ...Session State: Saved Item "F_WHERE_CLAUSE" New Value="lower(primary_class) = 'rock' and country = 'Spain'"
The field P1_WHERE_CLAUSE displays with the correct search criteria as signified by F_WHERE_CLAUSE above. However, If I click the "session" button to view the session state values, P1_WHERE_CLAUSE shows up as:
P1_WHERE_CLAUSE Textarea    1=1    U while F_WHERE_CLAUSE displays the correct value still.
The reason this "problem" came up, is that this page also has three SQL report regions which use &P1_WHERE_CLAUSE. for the where condition. While they display the correct results on-screen, each report region also has the "Export to csv" enabled, and the export seems to be using the "1=1" condition (from the "session" window) instead of the search criteria that the on-screen region is using (F_WHERE_CLAUSE and the displayed P1_WHERE_CLAUSE), resulting in a retreival of all records.
Anybody have any idea what's going on and why, and how to get the csv export to use the correct value for the where condition?
Thanks,
Bill Ferguson

It appears the "Export to CSV" functionality requires the item value to be set in session state. The P1_WHERE_CLAUSE item value never gets saved to session state. The page is rendered and the value is put in the item on the page but until you submit the page session state doesn't know what P1_WHERE_CLAUSE is.
Create a before header computation or process to set the value of P1_WHERE_CLAUSE (which will save it to session state). It is interesting that the report regions didn't need to look at the value in session state but the "export to csv" does.
--Jeff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • AJAX / Javascript Problem with Application Items

    Hi all. Another question which as been bugging me for a while and I cant find an answer on any of the Guru's examples.
    This is what I am doing. I am setting an application item in an Application Proccess to either T or F.
    I then need to do a IF statement in Javascript based on this result.
    if (html_GetElement("SP_CHANGE1").value == 'T')
              alert("This is true, we should show the date"); }
    else if (html_GetElement("SP_CHANGE1").value == 'F')
              alert("False"); }
    SP_CHANGE1 is the application item. In session state (by clicking session application items etc) the correct result is displayed.
    So my question is, very simply :) How do a get the application item? The html_GetElement etc dosnt seem to work.
    Just a heads up. I have also tried setting a page item instead of an application item, and even though the result in session state is correct, I can see to do the condiditon because the page asnt submitted?
    Anyway, thanks for your time.
    Sam

    Under topic "Application Item Tags" you will find the text:
    Items followed by two asterisks (**) are available in stand-alone applications you build in LabVIEW.
    And in the list that follows you can see that Options under Tools menu have two asterisks.
    I have now changed my application so it uses a custom ini-file instead. In future programs I think I will do as you described. I just discovered that LV8 has new features for creating and configuring ini-files so that's probably how to do it.

  • Problems with sub-items and header attributes in complains

    Hello Gurus!
    I am relatively new to the enterprise services and I have a requirement to create a complain with one product and a child product (items 1000 and 1010) but I tried several ways the service and no matter what I do I always get 2 items without relationship between them. I have tried specifying the parent item ID during create (did not expect to work as parent has also not been created yet) and also tried the BusinessTransactionDocumentReference, but also did not work or did not use the content correctly, in the ES Workplace there is not much info about the possible values for this data segment and it's not returned when I read an existing complain (so I think it is not the way to go)
    Finally, the question is... can I create a complain using the enterprise service CustomerComplaintCRMCreateRequ and with the header, item and subitem in the same step or must I create first and then update? (Like the manual process would be)
    Thanks!

    Hi Milos,
    If nothing at all has synchronized, I would first double check your connection settings and passwords.
    If the synch appears to to be connecting correctly, you will need to look at the data that it is failing on.
    The synch queue is the prx_transaction_queue table in the Business One database.  The object_type column refers to a Business One object.  2 for business partner and 4 for items.  The list_of_cols_val_tab_del is the key in the associated table.  For business partners that is OCRD.CardCode and items OITM.ItemCode.
    First determine that there is no bad data in the queue.  Bad data is typically defined as null or empty strings in the list_of_cols_val_tab_del column.
    Try running the following for business partners:
    select *
    from prx_transaction_queue
    where object_type = 2 and (list_of_cols_val_tab_del is null or list_of_cols_val_tab_del = '')
    And this for Items.
    select *
    from prx_transaction_queue
    where object_type = 4 and (list_of_cols_val_tab_del is null or list_of_cols_val_tab_del = '')
    If there are nulls or empty strings in the list_of_cols_val_tab_del column, delete them.
    If not, take a look at the first records in the queue.
    select top 1 *
    from prx_transaction_queue
    where object_type = 2
    order by tmstmp
    and for items:
    select top 1 *
    from prx_transaction_queue
    where object_type = 4
    order by tmstmp
    Change the transaction_type to "X" (remember what is was, because you will need to change it back).  Changing this value will remove the item from the synch.
    Rerun the synch. 
    If it runs at this point, there is probably data in the records that the synch was not expecting.  The business partner data will need to be examined.  Tics in key values (CardCode, Address Name, contact name, itemcode) may cause problems.
    If this is the case, you might want to contact support to try to track the problem down.
    Another source of problems may be database collation.  We can talk about that if none of the above works.

  • Problem with return true and if statement

    I'm making a
    ship shooter
    game and I have a problem with the collision detection for the
    corners of the stage. When you hold down two of the arrows to move
    the ship into the corners of the screen, the ship will go past it.
    The function bellow is what I'm using to detect this collision. The
    reason I'm using a function is because it's used for the ship and
    for all the balls from the cannons (as shown in the last two lines
    of the attached code). This is the reason I need the return true,
    so the if statement can be evaluated to true and then unload the
    movieclip of the cannon ball. When I remove the return true, the
    collision works fine, but obviously my cannon balls all get stuck
    on the edges.
    Any ideas?

    Well the function is called every frame, for the ship and for
    every cannon ball that's on the screen. So it could be called about
    4 times or so per frame. The problem is that ship goes through the
    corners of the stage (btw, the green background is the stage area)
    when you go in a diagonal direction.
    Just curious...what's the unnecessary code you're talking
    about?

  • Problems with synchronizations items and partners

    Hi,
    I have problems with synchronizations from SAP B1 to SAP E-
    commerce 5.9.6
    When I run Synch. manager, there are some error messages in Synchlog
    and some items and business partners are synchronized and some not
    synchronized.
    Error messages:
    1)
    Completed account list synch with unhandled error:object reference not set to an instance of an object.
    2)
    Completed parts list synch with unhandled error:
    object reference not set to an instance of an object.
    at NetPoint.SynchSBO.SBOObjects.SBOItem.SBOToNetPoint()
    at NetPoint.SynchSBO.SBOObjects.SBOItem.SynchItemList()
    at NetPoint.SynchSBO.Synch.SynchPartList()
    Thanks,
    Milos Vich

    Hi Milos,
    If nothing at all has synchronized, I would first double check your connection settings and passwords.
    If the synch appears to to be connecting correctly, you will need to look at the data that it is failing on.
    The synch queue is the prx_transaction_queue table in the Business One database.  The object_type column refers to a Business One object.  2 for business partner and 4 for items.  The list_of_cols_val_tab_del is the key in the associated table.  For business partners that is OCRD.CardCode and items OITM.ItemCode.
    First determine that there is no bad data in the queue.  Bad data is typically defined as null or empty strings in the list_of_cols_val_tab_del column.
    Try running the following for business partners:
    select *
    from prx_transaction_queue
    where object_type = 2 and (list_of_cols_val_tab_del is null or list_of_cols_val_tab_del = '')
    And this for Items.
    select *
    from prx_transaction_queue
    where object_type = 4 and (list_of_cols_val_tab_del is null or list_of_cols_val_tab_del = '')
    If there are nulls or empty strings in the list_of_cols_val_tab_del column, delete them.
    If not, take a look at the first records in the queue.
    select top 1 *
    from prx_transaction_queue
    where object_type = 2
    order by tmstmp
    and for items:
    select top 1 *
    from prx_transaction_queue
    where object_type = 4
    order by tmstmp
    Change the transaction_type to "X" (remember what is was, because you will need to change it back).  Changing this value will remove the item from the synch.
    Rerun the synch. 
    If it runs at this point, there is probably data in the records that the synch was not expecting.  The business partner data will need to be examined.  Tics in key values (CardCode, Address Name, contact name, itemcode) may cause problems.
    If this is the case, you might want to contact support to try to track the problem down.
    Another source of problems may be database collation.  We can talk about that if none of the above works.

  • Problem with application id and extents

    Hi, I've run into what may be a bug, so I wanted to run it by your group.
    I have a class that is using application identity and contains a
    collection of strings. When I load each instance of the class, the
    collection is filled in, however, when I load all the instances using
    getExtent(), the collections are not filled in.
    Thanks
    The relevant part of the .jdo file is:
    <class name="KeywordInfo" objectid-class="KeywordInfo$KeywordInfoJDOId">
    <extension vendor-name="kodo" key="detachable" value="true"/>
    <field name="idstr" primary-key="true" default-fetch-group="true"/>
    </field>
    <field name="jdoChoices" default-fetch-group="true">
    <collection element-type="String"/>
    <extension vendor-name="kodo" key="element-dependent" value="true"/>
    </field>
    </class>
    The .mapping file is:
    <class name="KeywordInfo">
    <jdbc-class-map type="base" table="CATADMIN.MPM_KEY_INFO"/>
    <jdbc-version-ind type="version-number" column="JDOLOCKX"/>
    <field name="idstr">
    <jdbc-field-map type="value" column="IDSTR"/>
    </field>
    <field name="jdoChoices">
    <jdbc-field-map type="collection" element-column="ELEMENT"
    order-column="JDOCHOICES_ORDER" ref-column.IDSTR="IDSTR"
    table="CATADMIN.MPM_K_JDOCHOICES"/>
    </field>
    </class>
    When I load a single instance, I get the following sql trace:
    SELECT t0.JDOLOCKX, t0.DBIDX, t0.DESCRIPTIONX, t0.HASUNITSX, t0.IDSTR,
    t0.ISDATAKEYWORDX, t0.ISDISPLAYABLEX, t0.ISEDITABLEX, t0.ISFACTOR,
    t0.ISNULLVALUEALLOWEDX, t0.ISREQVALUEINCHOICESX, t0.JDODEFAULTVALUEX,
    t0.JDOUNITX, t0.JDOVALUETYPEX, t0.KEYWORDX, t0.KEYWORDTYPEX, t0.REGEXP,
    t1.IDSTR, t1.JDOCHOICES_ORDER, t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0,
    CATADMIN.MPM_K_JDOCHOICES t1 WHERE t0.IDSTR = ? AND t0.IDSTR = t1.IDSTR(+)
    ORDER BY t1.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:test111b]
    When I load the extent, I get the following:
    6549 DEBUG [main] jdbc.SQL - <t 6151022, conn 9992755> [0 ms] executing
    prepstmnt 19940306 SELECT DISTINCT t0.IDSTR, t1.JDOCHOICES_ORDER,
    t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0, CATADMIN.MPM_K_JDOCHOICES t1
    WHERE t0.IDSTR IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.IDSTR = t1.IDSTR
    ORDER BY t0.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:13303055, (String) BDT:test111b, (String) BDT:5606643, (String)
    BDT:5606644, (String) BDT:5606645, (String) BDT:5606646, (String)
    BDT:5606647, (String) BDT:5606648, (String) BDT:5606649, (String)
    BDT:5606650] [reused=8]

    Just tried it and got the same SQL (below).
    SELECT DISTINCT t0.IDSTR, t1.JDOCHOICES_ORDER, t1.ELEMENT FROM
    CATADMIN.MPM_KEY_INFO t0, CATADMIN.MPM_K_JDOCHOICES t1 WHERE t0.IDSTR IN
    (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.IDSTR = t1.IDSTR ORDER BY t0.IDSTR
    ASC, t1.JDOCHOICES_ORDER ASC [params=(String) BDT:13303055, (String)
    BDT:test111b, (String) BDT:5606643, (String) BDT:5606644, (String)
    BDT:5606645, (String) BDT:5606646, (String) BDT:5606647, (String)
    BDT:5606648, (String) BDT:5606649, (String) BDT:5606650]
    Stephen Kim wrote:
    Extent iteration is slightly different than other fetching. Does using
    an empty query pm.newQuery (Person.class, "") change the SQL?
    Charles Schmitt wrote:
    Hi, I've run into what may be a bug, so I wanted to run it by your group.
    I have a class that is using application identity and contains a
    collection of strings. When I load each instance of the class, the
    collection is filled in, however, when I load all the instances using
    getExtent(), the collections are not filled in.
    Thanks
    The relevant part of the .jdo file is:
    <class name="KeywordInfo" objectid-class="KeywordInfo$KeywordInfoJDOId">
    <extension vendor-name="kodo" key="detachable" value="true"/>
    <field name="idstr" primary-key="true" default-fetch-group="true"/>
    </field>
    <field name="jdoChoices" default-fetch-group="true">
    <collection element-type="String"/>
    <extension vendor-name="kodo" key="element-dependent" value="true"/>
    </field>
    </class>
    The .mapping file is:
    <class name="KeywordInfo">
    <jdbc-class-map type="base" table="CATADMIN.MPM_KEY_INFO"/>
    <jdbc-version-ind type="version-number" column="JDOLOCKX"/>
    <field name="idstr">
    <jdbc-field-map type="value" column="IDSTR"/>
    </field>
    <field name="jdoChoices">
    <jdbc-field-map type="collection" element-column="ELEMENT"
    order-column="JDOCHOICES_ORDER" ref-column.IDSTR="IDSTR"
    table="CATADMIN.MPM_K_JDOCHOICES"/>
    </field>
    </class>
    When I load a single instance, I get the following sql trace:
    SELECT t0.JDOLOCKX, t0.DBIDX, t0.DESCRIPTIONX, t0.HASUNITSX, t0.IDSTR,
    t0.ISDATAKEYWORDX, t0.ISDISPLAYABLEX, t0.ISEDITABLEX, t0.ISFACTOR,
    t0.ISNULLVALUEALLOWEDX, t0.ISREQVALUEINCHOICESX, t0.JDODEFAULTVALUEX,
    t0.JDOUNITX, t0.JDOVALUETYPEX, t0.KEYWORDX, t0.KEYWORDTYPEX, t0.REGEXP,
    t1.IDSTR, t1.JDOCHOICES_ORDER, t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0,
    CATADMIN.MPM_K_JDOCHOICES t1 WHERE t0.IDSTR = ? AND t0.IDSTR = t1.IDSTR(+)
    ORDER BY t1.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:test111b]
    When I load the extent, I get the following:
    6549 DEBUG [main] jdbc.SQL - <t 6151022, conn 9992755> [0 ms] executing
    prepstmnt 19940306 SELECT DISTINCT t0.IDSTR, t1.JDOCHOICES_ORDER,
    t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0, CATADMIN.MPM_K_JDOCHOICES t1
    WHERE t0.IDSTR IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.IDSTR = t1.IDSTR
    ORDER BY t0.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:13303055, (String) BDT:test111b, (String) BDT:5606643, (String)
    BDT:5606644, (String) BDT:5606645, (String) BDT:5606646, (String)
    BDT:5606647, (String) BDT:5606648, (String) BDT:5606649, (String)
    BDT:5606650] [reused=8]
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Problem with application item

    Hi everybody. I have created a apex application for three differents DNS. The interface changes depending the DNS entered in the browser.
    To do so, i changed the APACHE index.html BY adding some javascript
    var url1 = document.URL;
    if (url1 =="http://www.commandervanhoutte.com/")
         document.location ='http://www.commandervanhoutte.com/pls/htmldb/f?p=117';
    else if (url1 =="http://www.filterfreshordering.com/")
    document.location ='http://www.filterfreshordering.com/pls/htmldb/f?p=117:101:::NO::FTFRESH:O';
    else if (url1 =="http://www.buffetalacartevanhoutte.ca/")
    document.location ='http://www.buffetalacartevanhoutte.com/pls/htmldb/f?p=117:101:::NO::API_BUFFET:O';
         else
    document.location ='http://www.vanhoutteordering.com/pls/htmldb/f?p=117';
    If i enter, for example, www.filterfreshordering.com in the browser, everything works fine. My parameter <<FTFRESH>> change to 'O' and the interface change.
    THE PROBLEM IS
    If i enter www.filterfreshordering.com/pls/htmldb/f?p=117 directly in the browser, the system does not go through the index.html and my parameter FTFRESH is null
    I created a BEFORE HEADER PROCESS in the page 101(authentication page) with these conditions
    IF INSTR(UPPER(owa_util.get_cgi_env('HTTP_REFERER')),'FILTERFRESHORDERING',1) <> 0 AND
    NVL(:FTFRESH,'@') <> 'O' THEN
    :FTFRESH := 'O';
    END IF;
    IF nvl(:FTFRESH,'@') <> 'O' THEN
    --redirect to schooe the language FRENCH OR ENGLISH: choose language*/
    owa_util.redirect_url('f?p='||:APP_ID||':17:'||:SESSION);
    ELSE
    :API_LANGUE := 'A';
    :FSP_LANGUAGE_PREFERENCE := 'en';
    :API_REP :='/en/';
    owa_util.redirect_url('f?p='||:APP_ID||':101:'||:SESSION);
    END IF;
    The systeme always REDIRECT to page 17 even i set :FTFRESH to ‘O’ . and in the page 17 , FTFRESH is null.
    Any idea ?

    Hello,
    Beware the following from RFC 2616 "Hypertext Transfer Protocol -- HTTP/1.1":
    http://www.ietf.org/rfc/rfc2616.txt
    "Because the source of a link might be private information or might reveal an otherwise private information source, it is strongly recommended that the user be able to select whether or not the Referer field is sent."
    Some people, browsers, firewalls, and proxies choose not to send the Referer field, leading to a blank HTTP_REFERER.
    Did you see this thread? Using OWA_UTIL.GET_CGI_ENV
    Maybe that helps?
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Problems with Application Builder and NI-DAQmx drivers in Labview 8.2 Professional

    Hello everyone,
    I am trying to use the application builder to create an executable so that someone without labview is capable of a remote panel connection to connect to our test laboratory.  our test laboratory uses the USB Compact DAQ  9172.  I did find some other forums that ran into a similar problem where a computer that didnt have labview installed on it looked for a particular driver (nilvaiu.dll).  The common solution appeared to be when building the installer, include the current NI-DAQmx (8.3 in our case) option and then the clients worked fine.   My question is when i use the application builder to create an installation file for this application, i get a prompt to:
    Locate the "National Instruments Device Drivers - February 2006 Disk 1" distribution. LabVIEW needs to copy a component installed or updated by the distribution to continue building the installer.
    What is confusing is that the installation cd's in our laboratory are from August 2006 (501165N-03).  It didnt make sense to me that i would need to downgrade the drivers from a few months ago, but i've been wrong before.  We just upgraded from the full development to the professional version about 2 weeks ago to utilize the application builder function.  Has anyone else ran into this problem and could this be a limitation because we purchased the software with the academic discount?
    thanks in advance
    Chris

    Chris,
    My "fix" is brute force.  Backup everything.  Removing all the NI software takes a while.  Be sure to remove leftover directories and files. 
    Altering the windows registry takes seconds and is not hard if you know what you are looking for.  I've attached a screen shot with the NI entry selected.  This is what I  deleted on by machine.  The thing to remember is that the registry controls all the software on your pc.  Delete/alter the wrong entry and you have problems.  Worst case scenario is that you could end up formating the hard drive and starting over from scratch.  I'm not trying to scare you, but I want to make sure you understand the potential for harm. 
    One thing you might try first.  NI-DAQmx 8.5 is now available for download from NI.  You might try unloading 8.3 and installing 8.5. 
    Attachments:
    regedit pic.JPG ‏102 KB

  • Problems with applications & item names, possibly related to malware?

    I apologize for posting twice about a similar topic but I found out a new important piece of information that could possibly help others as well.
    Previously I asked why safari keeps shutting down and citing the plug in "microsoftgenuine.so" and was told it was the flashback trojan. Is this trojan really infecting as many computers as they say or are users overreacting? The dr.web thing told me I did not have it but when I ran "defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES" in my terminal, "/Users/Shared/.MicrosoftOfficeGenuine.so" showed up. Offfffff course. The other two lines that I was told to put in my terminal came back as "do not exist" though. I have the report crash if needed, from safari.
    Also, some right click options as well as my devices display names such as n152 and SD3 instead of "open with" etc.
    This problem began long before the application crashes.
    I'm quite careful- do not enter my password unless I know why I am being asked for it, do not update software except from my desktop (aka don't go to 3rd party sites) and I run sophos as recommended by my school, although another user told me it was crap. I don't believe I intentionally downloaded any program and certainly did not install one asking for my password except for standard things that I downloaded from trusted sites.
    Also when clicking on links from pages I will be directed to an entirely different page. It's usually when I click on a link from a google search. It will take me to a yellow pages search or something that is minutely related to my search terms. I'll have to click "back" multiple times until I'm returned to the initial page and when I click the SAME link a second time, it takes me to the site it should.
    Annnny tips would be appreciated.  Unfortunately I do not own my own hard drive, much less the multiple ones suggested to me. I back up school files on discs occasionally but that is all.
    Thanks!

    Current recommendations is turn Java off.  Generally you don't need it.  Do not confuse it with Javascript which you do need for your browsers.   
    You can disable in the browser you are using and/or more globally using the Java Preferences too (in Utilities), General tab (uncheck the checkboxes).
    More new tricks from Flashback
    How to check for and disable Java in OS X
    Protect Yourself from the Mac OS X Java Vulnerability
    If it turns out you need it for some specific application or web site that you trust then turn it on only when running that application or visiting that site. If your work requires Java be enabled then at least disable it in your browsers.
    If you do need to run Java, be sure that you pick up the Java Software Update 7 posted recently that takes 10.6 and 10.7 up to Java SE 6 revision 31.
    Flashback is a moving target with lots of strains (various versions, permutations) and changing all the time.  So who knows what's next?

  • Problem with application modules and switching from 2 tier to 3 tier mode

    Hello,
    I've got an application in 2 tier mode. Now I wanted to switch to 3 tier mode but get a class cast exception. It has turned out, that panelBinding.getApplication().getApplicationModule().findApplicationModule returns in 2 tier mode <ModuleName>Impl and in 3 tier mode oracle.jbo.client.remote.ApplicationModuleImpl. But searching for modul name with panelBinding.getApplication().getApplicationModule().getApplicationModuleNames() returns the right in names in 2 tier and in 3 tier mode. Does anybody know a way to access <ModulName>Impl in 3 tier mode?

    This is the reason that the BC4J project will create an <appmodulename>AM interface and a <appmodulename>AMClient Implementation that you include on the client side if you expose any methods in your app module. You should access them by casting it to the interface, NOT the appModuleImpl class. If you stick to using the interface, then you should be fine.
    So to keep your implementation flexible, you should do this on the client to access your custom methods on your app module:
    The BC4J project should generate the following classes:
    AppModule Name = MyCustomAM.xml
    AppModule Implementation = MyCustomAMImpl.java
    Custom AppModule Interface = /common/MyCustomAM.java
    Custom clientside AppModule Implementation = /client/MyCustomAMClient.java
    On the client, do the following:
    import my.bc4j.model.package.common.MyCustomAM;
    // Call custom method on App module
      MyCustomAM am = (MyCustomAM) panelBinding.getDataControl().getApplicationModule();
      am.myCustomMethod(someParams);Hope this helps.
    Erik

  • Problem with hidden items and Internet Explorer

    Hello,
    I have discovered a very strange behavior of my Page in which are a few hidden items!
    In a region six hidden items produces an empty row! But this empty row is only be displayed in Internet Explorer! In Firefox everything looks fine!
    Does anybody have done the same experiences about that?
    Is there a solution for this problem?
    Regards,
    Tim

    Tim,
    I have discovered a very strange behavior of my Page
    in which are a few hidden items!
    In a region six hidden items produces an empty row!An empty row where? In a report? In a form?
    But this empty row is only be displayed in Internet
    Explorer! In Firefox everything looks fine!Although hidden items are 'hidden' they're still part of the HTML and consume space within the HTML source of the page. Is ApEx just putting these items inside a td tag that shows up in the browser? Maybe you could post an example on apex.oracle.com.
    Earl

  • Problem with "Application lanucher and run as an system user

    Hi
    Im trying to distribute
    Application Lanucher NT Service was not found to run the application as system user.

    Mossbrant,
    > Im trying to distribute
    >
    > Application Lanucher NT Service was not found to run the application as
    > system user.
    >
    I guess this is a duplicate of the one below? I will anser that one.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • Application Express - setting session state.

    I'm a relative newbie to APEX and am trying to set up and populate an application item into session state so that I can then have the value handy throughout the entire session and over all pages of the application. I've defined the item as FPC_Number in page Zero and have also set up a region in Page Zero where the FPC Number will be displayed across all pages of the application. It will not have a value until the user explicitly selects one from a drop down menu, so initially the value will be null. I'm having issues assigning the value. The value will not be assigned during the page rendering phase but at the page processing phase, correct? I have a computation set up as 'begin
    APEX_UTIL.SET_SESSION_STATE('F101_PROJECT_NUMBER',V('P14_PROJECT_NUMBER')); end; '. Does this look right? I get the error: PLS-00103 when I try to execute this. Any ideas?
    Update: I have deleted the calculation and am using a process only. I no longer get the PLS-00103 error message but still no value is displayed in Session_state.
    Edited by: V Rickert on Feb 26, 2013 7:38 AM

    V Rickert wrote:
    I'm a relative newbie to APEX and am trying to set up and populate an application item into session state so that I can then have the value handy throughout the entire session and over all pages of the application. I've defined the item as FPC_Number in page Zero and have also set up a region in Page Zero where the FPC Number will be displayed across all pages of the application. It will not have a value until the user explicitly selects one from a drop down menu, so initially the value will be null. I'm having issues assigning the value. The value will not be assigned during the page rendering phase but at the page processing phase, correct? I have a computation set up as 'begin
    APEX_UTIL.SET_SESSION_STATE('F101_PROJECT_NUMBER',V('P14_PROJECT_NUMBER')); end; '. Does this look right? I get the error: PLS-00103 when I try to execute this. Any ideas?
    Update: I have deleted the calculation and am using a process only. I no longer get the PLS-00103 error message but still no value is displayed in Session_state.APEX version?
    What type of item is "FPC_Number in page Zero"?
    Where is this process and when does it run?
    You said "I've defined the item as FPC_Number in page Zero", but the process is setting the value of F101_PROJECT_NUMBER&mdash;which looks like an application item&mdash;rather than "FPC_Number in page Zero".

  • TS3274 its almost 10 months,i purchased ipad2 32 3g wifi.itinially i got problem with applications shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs freq

    its almost 10 months,i purchased ipad2 32 3G wifi.itinially i got problem with applications and safari shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs frequently.plz advise.

    If you have followed the standard Apple troubleshooting processes (see user guide )
    probably a trip to the local Apple Store Genius bar is called for before warranty runs out
    Assuming the iPad has been released in your Country if not you may have to take it to a
    neighbouring Country where it is available
    This page will tell you ,via the drop down menu Countries that can support iPad
    http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=ipa d

  • I installed Lion and now seem to have problems with Microsoft Silverlight and other plug ins and applications.  I haven't ever used time machine to back up (my bad I know).  Is there a way to go back to snow leopard with messing up all my files and my set

    I installed Lion and now seem to have problems with Microsoft Silverlight and other plug ins and applications.  I haven't ever used time machine to back up (my bad I know).  Is there a way to go back to snow leopard with messing up all my files and my set?

    Are you using the latest version of Silverkeeper? - v.2.0.2 is stated to be compatible with Snow Leopard.
    http://www.lacie.com/silverkeeper/
    If it's messing things up you could try asking LaCie Support for assistance.

Maybe you are looking for

  • Apache cannot load mod_jk.so

    Wondering if anyone has bumped into this? I did a vanilla install of cf10 on mac 10.5.8 on top of the mac-installed apache webserver (i.e. the one that comes stock with the OS, not a macports version or custom compile) ... a few vhosts are defined. c

  • Windows Monitoring Checklists for SCOM 2012 R2

    Hi All, We are in SCOM 2007 to 2012 migration stage where we will have to check Windows monitoring with SCOM 2012 that how it works better than 2007, what all new components to be considered and focused. Kindly share if you have any checklists to be

  • USEREXIT_MOVE_FIELD_TO_VBEP Scenario

    USEREXIT_MOVE_FIELD_TO_VBEP FOR MV45AFZZ 1. IF THE DISTRIBUTION IS 02, THEN NO SALES SHOULD BE RECORDED    IN THE MRP. 2. CHANGE THE SCHEDULE LINE FROM ZP TO Z1 (IF NOT RELEVANT TO MRP) 3. IF THE DISTRIBTION IS 02, THEN MOVE THIS TO THIS. What code i

  • 6.7 Screen Painter error

    Hi all, I've just installed SBO version 6.7 and when I try to run the Screen Painter I get the following error message: Run-time error '-7000' (ffffe4a8)': Form - Invalid No forms have been opened, the error message displays when I click on the scree

  • Oracle ATS Workflow and Validation process.

    Hi, Can any one know how Oracle ATS supports Workflow and Validation functionalities, or is there any plug-in's available to handle this feature. Please post your valuable suggestions, Thanks in Advance, Ramesh.