How to set the property to the parameter out

Hi all
I want to set a property to the parameter out in the application process.
If the parameter has value, then I need the column with the value on a page.
If the parameter out is not having a value, then I need to hide the columns on a page.

I write the below code for this, but I did not get value and also the column appeared in the Page.

' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processRequest (pageContext, webBean);
Am = (XxcustdtlsmainAMImpl) pageContext.getApplicationModule (webBean) XxcustdtlsmainAMImpl;

If (PageContext.GetParameter ("PpcustID")! = null)
{
String vpID = pageContext.getParameter ("PpcustID");
System.out.println ("cust in PR trxn id:" + vpID);
am.passTocustlinetrxn (vpID);
}
If (pageContext.getParameter ("PCustomID")! = null)
{
If (PageContext.GetParameter ("PbtchID")! = null)
{
If (PageContext.GetParameter ("POrdNum")! = null)
{
If (PageContext.GetParameter ("PInvceNum")! = null)
{
String vcustoID = pageContext.getParameter ("PCustomID");
String vOrdNums = pageContext.getParameter ("POrdNum");
String vInvNum = pageContext.getParameter ("PInvceNum");
System.out.println ("cust in drill PR id:" + vcustoID);
am.srchCusttrxnlineupdatedtls (vcustoID);
OAMessageStyledTextBean mInvBean = (OAMessageStyledTextBean) webBean.findChildRecursive ("InvoiceNum");
OAMessageStyledTextBean mTextBean = (OAMessageStyledTextBean) webBean.findChildRecursive ("OrderNumber");

if(mTextBean!=null)
{
mTextBean.setText (vOrdNums);
} else
{
mTextBean.setRendered (Boolean.FALSE);
}

if(mInvBean!=null)
{
mInvBean.setText (vInvNum);
} else {}
mInvBean.setRendered (Boolean.FALSE);
}
}
}
}
}
}

Thank you

Hello

Pls make the changes in public relations as given:

If (pageContext.getParameter ("PCustomID")! = null)
{
If (PageContext.GetParameter ("PbtchID")! = null)
{
If (PageContext.GetParameter ("POrdNum")! = null)
{
If (PageContext.GetParameter ("PInvceNum")! = null)
{
String vcustoID = pageContext.getParameter ("PCustomID");
String vOrdNums = pageContext.getParameter ("POrdNum");
String vInvNum = pageContext.getParameter ("PInvceNum");

am.srchCusttrxnlineupdatedtls (vcustoID);

OAViewObject vo = (OAViewObject) am.findViewObject ("XxcustdrilldownVO1");
Line row = vo.first ();
System.out.println ("Hello I'm in spell112");
row.setAttribute ("HideOrdNum", Boolean.TRUE);
row.setAttribute ("HideInvNum", Boolean.TRUE);

OAMessageStyledTextBean mInvBean = (OAMessageStyledTextBean) webBean.findChildRecursive ("InvoiceNum");
OAMessageStyledTextBean mTextBean = (OAMessageStyledTextBean) webBean.findChildRecursive ("OrderNumber");

if(mTextBean!=null)
{
System.out.println ("I'm in passivation");
mTextBean.setValue (pageContext, vOrdNums);
}
if(mInvBean!=null)
{
mInvBean.setValue (pageContext, vInvNum);
}

Concerning
Meher Irk

Tags: Oracle Applications

Similar Questions

  • How to set the parameter reset?

    I put the (url, clipStartTime, clipEndTime) alone in the StreamingURLResource class

    How to set the parameter reset? I want to NetStreamPlayTransitions.APPEND set

    THX

    Mike.

    This is not currently supported with OSMF.  You use this feature (APPEND) regularly?  If so, you can file a request for improvement with use case here?  Thank you!

  • How to set the parameter of the BIOS under XP?

    I'm trying to boot into the recovery console windows using a bootable XP Recovery console CD. But I do not know how to set the BIOS to achieve this. Can someone give me instructions step by step? Thanks in advance.

    A quick search on Google for

    For Lenovo 3000 change boot sequence

    .. .finds a message in the forum of the Lenovo users who said you choose Start and adjust it.

    I can't check it works, but maybe someone who knows the Lenovo will verify that or tell you what to do.

    It seems like a simple process, but some of the discussions on how to boot from a CD are ridiculously long and full of trail and error.  When you get your job, let know us the good way that works and I'll put it in my notes!

    Here is a link to the Lenovo's Support Page:

    http://www-307.IBM.com/PC/support/site.WSS/homeLenovo.do?country=us

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • How to set the parameter for the button programmatically via the controller

    Hello

    I created a button in the advanced table (seeded page) as a column using customization called 'Submit', I pulled this button via PR in the extended controller action.

    Now I want to get the value of SuccessionPlanId (one of the column of this advanced table) when I press the button 'Submit' in the controller.

    If I can be able to get this means value of SuccessionPlanId I will then cross this value to the stored procedure, callable statement.

    So suggest me how do it in the controller.

    or tell me how to add the parameters programmatically to the button.

    Thanks in advance,

    SAN

    Hello

    package difference

    import

    oracle.apps.per.selfservice.successionmgmt.server.PerSuccPlanSearchVORowImpl . instead of

    oracle.apps.per.selfservice.successionplan.server.PerSuccPlanSearchVORowImpl;

    Thank you
    Pratap

  • JMS: How to set the time-out to a JMS queue in the weblogic admin conso

    Hello


    I need to fix a JMS queue for 1 month expiration date, which means I want messages to be persisted in the queue for 1 month. How I put it to the queue in the weblogic administration console.

    Thank you
    Kalapana.

    Go to the queue on the weblogic Admin Console. Select the Exceptions tab. There is an option of substitution of Time-to-live. You can set the length of your message there. This will overrirde life defined by the producer.

  • How to set the time-out value for a namedcache programmatically?

    I have a cache named with near cache configuration and no expiration set in the cache configuration. The backup plan that is a distributed system has a policy of expulsion of limited size, but no expiration. I have an algorithm to determine the timeout of this cache named at run time. How can I adjust this delay on the named cache programmatically?

    Thank you
    Sairam

    Hi Sairam,

    You need get the plan of support for the cache and set the expiration on the support plan; assuming that the storage card is supported by the expiry.

    For example:

    NamedCache cache = CacheFactory.getCache ("test");

    CacheService service = cache.getCacheService ();
    DefaultConfigurableCacheFactory.Manager MDB = service.getBackingMapManager ((DefaultConfigurableCacheFactory.Manager));
    Map of bm = bmm.getBackingMap ("test");

    If (WB instanceof ConfigurableCacheMap)
    {
    System.out.println ("timeout setting");
    (WB) .setExpiryDelay (100000) (ConfigurableCacheMap);
    }

    -John

  • How to set the parameter "Apply to all folders" never works?

    Should we wait for an SP1 update or something?  It worked fine under XP!  He is broken in Vista and I was hoping that Microsoft fixed in 7 but it still does not work?

    I just want all my files in the LIST format display everytime I open a new window to the Solution Explorer, but no matter how many times I click "Apply to all folders", it does not work.

    TAGS: change, default, view, windows Explorer

    He asked how to apply a setting to all folders. You said how to define a view in a folder TYPE (which, btw, does not seem to work either). If you do not answer the question, why say anything at all? : P

    Microsoft is always disappointing me. I just bought a laptop with Windows 7 and I can't do a lot of things I did in XP (the configuration mentioned above, for example). I don't understand why they would remove operating characteristics, good. But they do... :(

    See http://en.wikipedia.org/wiki/List_of_features_removed_in_Windows_7 for a reference.

  • How to set the HostDiskPartitionAttributes property when creating Vmfs volume

    Hi all

    When creating vmfs datastore through vlume

    programmatically, I need to partition the vmfs volume. here my question

    is an idea how to set the HostDiskPartitionAttributes there is a

    parameter to create vmfs vloume. Here I use Vdisk lun san

    "that will have the size, raid, stripesize... by this I need to set this.

    HostDiskPartitionAttributes ' property.could someone help me please. "

    Note: it's links to the document:

    http://www.VMware.com/support/developer/VC-SDK/visdk25pubs/ReferenceGuide/index.html

    is the method that you need to find CreateVmfsDatastore.

    Thank you

    As partition is a contiguous series of blocks on a disk that is marked to be used and is considered in each sector of 512 bytes. Must divide the space into sectors and specify startSector and endSector according to your requirement, that the way in which large partition you want to create.

  • How to set the timeout property Web Service partner link in the new version of the SOA Suite, it is missing

    Hello

    I have a use case in which I'll call synchronous external Web Service and the form of this service, I get the answer after 80 seconds.

    I know that this console form EM soa-infra-> SOA Administration-> BPEL proprieties-> under 'more BPEL Configuration Properties..' in SyncMaxWaitTime can I change the default 45 second in 80 seconds, but it will apply to all synchronous services in this area, and I want only the value appeal of Web Service of particular external reference (link partner).

    For the limit of timeout for the particular web service (partner of external reference link):

    I saw a post at < http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes > in which there is an option in 'Link partner Edit' form property tab dialog box, we can add "timeout" property but in SOA Suite11.1.1.7 I am not able to find this property form the list.

    on this post < http://abhishek-soablog.blogspot.in/2010/06/timeout-for-partnerlink.html > is also described the same way, but it's just the source code of the highest way of GUI to set the timeout property and it does not work with a new version.

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    Thank you

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    VR;

    Click em-> composite-> Services and references-> select need to reference and click on-> properties: 'HTTP Timeout of read' and 'HTTP timeout.

    developing composites:

    Click on a reference-> property inspector-> link properties-> plu green and add oracle.webservices.httpConnTimeout with the necessary value and oracle.webservices.httpReadTimeout with the necessary value

    for the same domain defined: oracle.webservices.local.optimization = false

    You can watch

    Administration of Web Services - 11g Release 1 (11.1.1.7)

    How to set a timeout for a Web Service in SOA 11 g (Doc ID 979683.1)

    SOA 11 g: political malpractice not to intercept 'service Endpoint unreachable' error (Doc ID 1503989.1)

  • How to set the render property of the field on one facet of panelSplitter?

    Hi, experts,
    In jdev 11.1.2.3,.
    How to set the render property of the field on one facet of panelSplitter?
    -If the panelSplitter is reduced then make some fields in the second pane. otherwise, do not make these fields.

    It is not an easy job for me to set the EL expression.
    Thank you.

    OK, just did a small test case. It turns out that the difficulty is to automatically update the fields when the separator discloses. To add a pair of earphone client/server. This sends the event to disclose to the bean to update the fields.
    Page code:

    
    
      
      
        
          
            function disclosePanelSplitter( event) {
                var inputComp = event.getSource();
                AdfCustomEvent.queue(inputComp, "myDiscloseEvent",
                {}, true);
            }
          
          
            
              
                
                  
                
              
              
                
                  
                    
                      
                      
                        
                      
                      
                      
                      
                    
                  
                  
                    
                      
                      
                        
                          
                          
                          
                          
                          
                        
                      
                      
                      
                      
                    
                  
                  
                
                
              
            
          
        
      
    
    

    and the corresponding bean to the scope of the request

    package de.hahn.xyzxyz.view.panelsplitter;
    
    import oracle.adf.view.rich.component.rich.layout.RichPanelSplitter;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.render.ClientEvent;
    
    public class PanelSplitterBean {
        private RichPanelSplitter panelSplitter;
    
        public PanelSplitterBean() {
        }
    
        public void setPanelSplitter(RichPanelSplitter panelSplitter) {
            this.panelSplitter = panelSplitter;
        }
    
        public RichPanelSplitter getPanelSplitter() {
            return panelSplitter;
        }
    
        public void doCustomEvent(ClientEvent event)
        {
            AdfFacesContext.getCurrentInstance().addPartialTarget(panelSplitter);
        }
    
    }
    

    Timo

  • How to set the &amp; quot; setContentPath &amp; quot; with a URL parameter

    Hey,.
    I have a video player (video_player.swf) with the component playback flv in it. I was wondering how to use the URL to set the parameter "setContentPath". While I didn't have to make a separate video player for ever flv on the site. I didn't know if I could add a listener to the URL or something so that I could put it like /player/video_player.swf?video_id=1

    Thank you very much people P.S. I need that's before the end of the month.

    OK, here's the html part of the process:
    http://www.polar-lights.com/FLA/URL.html

    Here is the flash part:
    vid.contentPath = _level0.movie;

    vid is the name of the instance of the FLVPlaybackComponent
    _level0. Movie is a variable passed in the url string - it would look like:
    http://www.yoursite.com/filename.html?movie=flvfilename.FLV
    See how after the html page you ger the? film - which is the variable passed in flash. Be sure to use the HTML code on the top of the sample page in order to pass the variable into the SWF.

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

  • How to set the timeout of read when using channelReader.ReadWaveform?

    I'm using a USB-6210/a. data acquisition, and it works fine until I have to take a longer than 10 s waveform.

    When I take a longer than wave form, I get the error 200284, "some or all of the requested samples are not yet acquired.  To wait for the samples become available use longer read timeout... »

    No problem, I thought, I'll just put a longer period.  I searched through the documentation, and the timeout only I found was the watchdog timeout.  When I wanted a longer value, I get code 200452 State - specific property is not supported by the device or is not applicable to the task.

    I use the code in the example AcqVoltageSamples_IntClk.2008 .net with c# in Visual Studio 2008, .net 3.5 sp1.

    How to set the timeout so that ReadWaveform() is not the time?

    Here is the code:

    privateAnalogMultiChannelReaderchannelReader;

    privateAnalogWaveform awf;

    publicList GetWaveForm()

    {

    Try

    {

    Task getWaveform = newTask();

    getWaveform.AIChannels.CreateVoltageChannel (Channel,"", TerminalConfiguration, RangeMinimum,

    RangeMaximum, AIVoltageUnits.Volts);

    getWaveform.Timing.ConfigureSampleClock ("", SampleRate, SampleClockActiveEdge.Rising,)

    SampleQuantityMode.FiniteSamples, NumSamples);

    getWaveform.Control (TaskAction.Verify);

    channelReader = new AnalogMultiChannelReader (getWaveform.Stream);

    AnalogWaveformdata = channelReader.ReadWaveform (NumSamples);

    AWF = data [0];

    samples As new List();

    for (inti = 0; i)

    returnsamples;

    }

    catch (DaqExceptionexception)

    {

    MessageBox.Show (exception. (Message);

    }

    List of l = newList();

    return l;

    }

    Thank you

    Curt

    Hi Curt,.

    Here is a Knowledge Base that can help you to set the timeout setting in your code:

    The property using Timeout of DAQmx task in Visual Studio

  • Jdev jpr file: set the parameter ${maven:maven.local.repo}

    Hi all

    I use Maven (3.0.5) to compile and deploy complex Applications of ADF (12.1.3).

    I noticed that, contrary to what is said in this discussion of adf Group Google by a member of the ADF team

    «To 12.1.2 we introduced Maven plugins for ojmake and ojdeploy.» It still requires an Oracle executable on your build server, but 1) avoids having to invoke the crafts Maven ant tasks and 2) allows to ojmake/ojdeploy use the dependencies declared in the POM rather hardcoded references to libraries of JDeveloper.«,»

    ojmake still seems to need a reference hardcoded for external dependencies in the JFL Elf, he uses.

    For example, addition of guava as a dependency in the file pom of an ADF project configured in Jdev to use Maven, will result in a similar entry in the JPR file:

    < list n = "libraryDefinitions" >

    < hash >

    < list n = "classPath" >

    < Protocol url = 'file' path = "/${maven:maven.local.repo}com/google/guava/guava/17.0/guava-17.0.jar"/ > "

    < / list >

    < value n = v "deployedByDefault" = "true" / >

    < value n = "description" v="com.google.guava:guava:17.0:jar"/ >

    < value n = 'id' v="com.google.guava:guava:17.0:jar"/ >

    < value n = v 'locked' = "true" / >

    < / hash >

    < / list >

    My question is: what is this variable in the JPR file decided to? How we set the value of ${maven:maven.local.repo} from project pom file?

    The maven variable ${settings.localRepository} did not help.

    PS: what seems to be needed on our server of Jenkins, on which to perform the installation on Jdev 12.1.3 has been installed locally in order to get the ojmake, ojdeploy and they hide dependencies. The user who installed Jdev being another than that actually run the maven jobs (jenkins). In addition, its local maven repository is not the value default ~/.m2/repository but /srv/.m2/repo21

    Thank you very much in advance for your time and help.

    Jeremiah

    Thank you all for your contributions.

    I found it. In case the Jdev Installation is on a CI server, without starting Jdev itself, the following file should be added to allow to use another system as the default file Maven ~/.m2/settings.xml settings:

    • ${ide.pref.dir}/system***/o.jdeveloper/product-prefences.xml

    I have this file, the absolute path to the Maven settings file can be set via:

    http://xmlns.Oracle.com/IDE/hash">

    That's all!

    Please don't tell me that Oracle did not REAL PLUGINS MAVEN (standalone) for ojmake and ojdeploy with the maven as optional parameter settings file.

    This a shame for such an expensive having framework to do what 'kitchen '!

  • How to set the default print orientation in oracle reports 6i

    Can someone help please how to set the orientation of the printing default reports Oracle 6i? Currently the document is printed in Portrait orientation, but I need to print in landscape orientation. Is this possible?

    It is now resolved. Go to page-> main Section layout model, press F4. In the palette property, select the Orientation that should be selected when printing is taken for this report.

Maybe you are looking for

  • High temperature CPU on my Satellite A300

    I got my Satellite A300-1OM for a week now and I'm happy with it. I use it mainly for MS Office and internet. When it is idle, the time CPU (verified by hardware sensors app) vary from 38 to 45 degrees. However, after a few hours of nothing but MS Of

  • WRT160N V2 physical ports seem to be dead... * beep *.

    I got this router installed in my home network for about a year.  The firmware is updated.  Brief description of the home network: Comcast Cable Modem WRT160N v2 2 wireless laptops connected to the router HP Business Inkjet wireless connected to the

  • Inefficient Windows Vista Update - Error 8000FFFF - solutions

    I recently reformatted my hard drive on my Dell Inspiron 1520 Windows Vista 32 bit and was trying to reinstall all my drivers and my os back to date; I was hoping to install sp1 and 2 that day. However, after several rounds of updates without any hit

  • BBM blackberry messenger restore/download

    -Very well, is thoughtless and I tried to update my blackberry Messenger (BBM) and the download/update canceled. Later, I restarted my phone and when I tried to open up BBM, it wasn't there. I checked everywhere and now I don't have him anymore. I tr

  • BlackBerry Smartphones turn off or modify the messages icon

    I use Sprint and every time I miss a call, the Messages icon appears and doesn't go away until I opened the folder and open the message missed calls. This is incredibly annoying for me, because I usually just press send and see what I have missed cal