Example of code in a commercial application.

Hello experts,

We use applications like swipe sample code in the drop in our commercial application...?

Kind regards

Sandesh.

Yes you can.

You will notice that each file in the project to github BlackBerry publised has the Apache license 2.0 follows:

Copyright 2012 Research In Motion Limited.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Tags: BlackBerry Developers

Similar Questions

  • example of code source (fmb)

    I'm new in the development of the oracle. I need examples of code for the oracle 10g Forms Builder.

    I notice that it is the thing that is not yet in the knowledge of Google.

    I wonder who the oracle forms source code is not available on the web. whereas if we're talking other tools such as .net or php! thousands of examples of code are available for almost all kinds of requirements to do a job.

    I'll be very grateful if someone could give some code examples (fmb, rdf, etc.)

    Thank you

    Don't know how this is different from any other language (at least as far as I know), but: learn the basics, try to resolve your issue with the knowledge that you have and if you get stuck there is no shame in asking questions (for example here), of course, explaining your problem in detail and not the it does not work please give me the code , it's urgent! type of question...

    and for what it's worth, even if it is not directly related to the forms: asktom, the developer of the Application Guide and PL/SQL reference manual are great references to learn stuff.

    see you soon

  • Development of a commercial application using Stratus

    As I mentioned in a previous post, I am considering adding a few features of P2P chat to an existing application.

    After reading the FAQ, it's still not clear to me how I can use the Stratus and what is its future.

    -Can I use beta Stratus for a commercial application?

    -What happens when Stratus is officially released? Developers will need to pay a fee to use the service? No restrictions apply?

    There's an alternative to the Stratus, something I can ride on my own server?

    Hi Gaspyy, you can use Red5 on your own server.

    It's a little tricky to get started until you learn all compile them, the process of server management/organization... but when you start to roll, he's fine.

    It works with Java server-side and client-side obviously, there are a lot of examples and tutorials, to start with him on your own without any problem, you can run in three or four days with her.

    Start here.

    http://www.Google.es/URL?SA=t&source=Web&CT=RES&CD=1&URL=http%3A%2f%2Fosflash.org%2Fred5&e I = e7SXStH1KZmRjAeRvuHBBQ & usg = AFQjCNGkvNcGtsu2M195D-Puo06QxoOe9w & sig2 = MqV0SlsXIdXgg19tWAx55 Q

    Concerning

    Jose Luis

  • Examples of code for the robot LDAP plugin is missing

    I downloaded and installed ITS 10.1.8 version but the sample code for the robot LDAP plugin isn't the case to find. The "sample" directory is missing. The example of code removed for any reason or is it replaced by something else? We must be able to search an LDAP compatible to v3 for our new dashboard application.

    The document "Secure Connector Software Development Kit" for ITS Version 10.1.6 says the following:
    -Oracle shipped three sample plug-ins that supports analysis, analysis of database table and analysis file LDAP directory.
    -ORACLE SECURE ENTERPRISE SEARCH comes with three sample plug-ins sub $OH/search/sample/agent.

    Yes, samples of tracks were removed in 10.1.8 because they have not been sufficiently tested, or considered good enough to ship.

    However, I have the LDAP robot and I'll be happy to send it to you (STRICTLY no guarantee, of course!) If you leave me an email for roger dot ford at oracle dot com.

  • Image caching examples of code or the library.

    Hello

    I'm new to BB. I need examples of code or any which third-party library images of the cache.

    Tried with all provided sources, but not able to make account.

    Please help me.

    Thanks in advance.

    Thank you all, its been good to get your knowledge of this forum. I'll try to implement.

  • I get the A12E5 error code when starting Adobe Application Manager, I use a Mac and want to have Illustrator running

    I get the A12E5 error code when starting Adobe Application Manager, I use a Mac and want to have Illustrator running

    Products of Adobe Creative Cloud installation error A12E5

  • Looking for an example of code - first_tab & next_tab

    Looking for examples of code, used in a dialog box, which uses 'first_tab' & 'next_tab '. Can anyone provide a copy of sample work that uses this code? Yes, I have read the reference books - do not understand and cannot operate.

    Thank you, in advance.

    OK, try this. You can place it in the mouse event to the top of a button:

    var demoDlg = {}

    DoDialog: function() {return app.execDialog (this);};

    initialize: {function (dialog)}

    var d_init = {/ / set the text of the field values to indicate their position in the tab order}

    "txt1": "second",.

    'txt2': '4 ',.

    "txt3": «First»,

    'txt4': '3 '.

    };

    Dialog.Load (d_init);

    },

    Description: {}

    first_tab: 'txt3', / / * this set the name of the first control in the tab order

    name: "Dialogue of the demo tab.

    items:]

    {

    type: "display."

    Width: 250,

    items:]

    {

    type: "display."

    Width: 240,

    items:]

    {

    type: 'edit_text. "

    item_id: "txt1"

    next_tab: 'txt4', / / txt4 will receive the update then

    Width: 200

    },

    {

    type: 'edit_text. "

    item_id: "txt2."

    Width: 200

    },

    {

    type: 'edit_text. "

    item_id: "txt3."

    next_tab: "txt1", / / txt1 will receive the update then

    Width: 200

    },

    {

    type: 'edit_text. "

    item_id: "txt4."

    next_tab: 'txt2', / / txt2 will receive the update then

    Width: 200

    }

    ]

    },

    {

    type: "ok."

    }

    ]

    }

    ]

    }

    };

    demoDlg.DoDialog ();

  • Cannot access a HID device get code 5 error please let me know how to access a HID device, I need an example of code to access a HID device in windows 7.Thanks.R.M. Kiran

    /*******************************************************
    Simplification of Windows HID

    Alan Ott
    Software signal 11

    22/08/2009

    Copyright 2009, all rights reserved.
     
    The contents of this file can be used by anyone
    for any other reason without conditions and can be
    used as a starting point for your own applications
    that appeal to HIDAPI.
    ********************************************************/

    #include
    #include
    #include
    #include
    #include "hidapi.h".

    The headers needed to sleep.
    #ifdef _WIN32
    #include
    #else
    #include
    #endif

    int main (int argc, char * argv)
    {
    int RES;
    unsigned char buf [256];
    #define MAX_STR 255
    WSTR wchar_t [MAX_STR];
    hid_device * handle;
    int i;

    WIN32 #ifdef
    UNREFERENCED_PARAMETER (ARGC);
    UNREFERENCED_PARAMETER (argv);
    #endif

    struct hid_device_info * devs, * cur_dev;
       
    devs = hid_enumerate (0x0, 0x0);
    printf ("id=%d\tsproduct id = %d\n",devs-> vendor_id provider, devs-> product_id ");
    cur_dev = devs;
    so that {(cur_dev)
    printf ("detecte\n device type: % 04hx %04hx\n path: %s\n Serial_number: %ls", cur_dev-> vendor_id, cur_dev-> cur_dev-> path, product_id, cur_dev-> Serial_number);
    printf ("\n");
    printf ("manufacturer: %ls\n", cur_dev-> manufacturer_string ");
    printf ("product: %ls\n", cur_dev-> product_string ");
    printf ("output: %hx\n", cur_dev-> release_number ");
    printf ("Interface: %d\n", cur_dev-> interface_number);
    printf ("\n");
    cur_dev = cur_dev-> next;
    }
    hid_free_enumeration (devs);

    To implement the command buffer.
    Memset (buf, 0x00, sizeof (BUF));
    buf [0] = 0x01;
    buf [1] = 0x81;

    Open the unit by using the VID, PID,
    and possibly the serial number.
    handle = hid_open (0x4d8, 0x3f, L "12345");
    handle = hid_open (0 x 0461, 0x4d81, NULL);
    If (! handle) {}
    printf ("cannot open device\n");
    Return 1;
    }

    Read the manufacturer string
    WSTR [0] = 0x0000;
    RES = hid_get_manufacturer_string (handle, wstr, MAX_STR);
    If (res<>
    printf ("could not read the manufacturer string\n");
    printf ("string of the manufacturer: %ls\n", wstr ");

    Read the product chain
    WSTR [0] = 0x0000;
    RES = hid_get_product_string (handle, wstr, MAX_STR);
    If (res<>
    printf ("cannot read string\n product");
    printf ("string of product: %ls\n", wstr ");

    Read the serial number string
    WSTR [0] = 0x0000;
    RES = hid_get_serial_number_string (handle, wstr, MAX_STR);
    If (res<>
    printf ("could not read the serial number string\n");
    printf ("string of serial number: (%d) %ls', wstr [0], wstr");
    printf ("\n");

    Read the indexed string 1
    WSTR [0] = 0x0000;
    RES = hid_get_indexed_string (handle, 1, wstr, MAX_STR);
    If (res<>
    printf ("could not read the string indexed 1\n");
    printf ("indexed 1 string: %ls\n", wstr);

    Define the function hid_read() as non-blocking.
    hid_set_nonblocking (handle, 1);
       
    Try reading from the device. It is and must be without
    given here, but enforcement should not block.
    RES = hid_read (handle, buf, 17);

    Send a report on the device
    buf [0] = 0x2;
    buf [1] = 0xa0;
    buf [2] = 0x0a;
    buf [3] = 0x00;
    buf [4] = 0x00;
    RES = hid_send_feature_report (handle, buf, 17);
    If (res< 0)="">
    printf ("cannot send a feature report. \n") ;
    }

    Memset (buf, 0, sizeof (BUF));

    Read a report of the device
    buf [0] = 0x2;
    RES = hid_get_feature_report (handle, buf, sizeof (buf));
    If (res< 0)="">
    printf ("failed to get a feature report. \n") ;
    printf ("%ls", hid_error (handle));
    }
    else {}
    Print the buffer returned.
    printf ("function Report\n");
    for (i = 0; i< res;="">
    printf ("% 02hhx", buf [i]);
    printf ("\n");
    }

    Memset (buf, 0, sizeof (BUF));

    LED toggle (cmd 0x80). The first byte is the report number (0 x 1).
    buf [0] = 0x1;
    buf [1] = 0x80;
    RES = hid_write (handle, buf, 17);
    If (res< 0)="">
    printf ("could not write () \n");
    printf ("error: %ls\n", hid_error (handle));
    }

    Status request (cmd 0x81). The first byte is the report number (0 x 1).
    buf [0] = 0x1;
    buf [1] = 0x81;
    hid_write (handle, buf, 17);
    If (res<>
    printf ("impossible to write() (2) \n" ");

    Read the requested State. hid_read() has been set to be
    non-blocking by the call to hid_set_nonblocking() above.
    This loop shows the non-blocking of hid_read() nature.
    Res = 0;
    While (res == 0) {}
    RES = hid_read (handle, buf, sizeof (buf));
    If (res == 0)
    printf("waiting...\n");
    If (res<>
    printf ("could not read () \n");
    WIN32 #ifdef
    Sleep (500);
    #else
    usleep(500*1000);
    #endif
    }

    printf ("read data: \n");
    Print the buffer returned.
    for (i = 0; i< res;="">
    printf ("% 02hhx", buf [i]);
    printf ("\n");

    hid_close (handle);

    / * Free of static objects of HIDAPI. */
    hid_exit();

    WIN32 #ifdef
    System ("pause");
    #endif

    return 0;
    }

    Hi KIRAN RM,.

    Given that you need example code to access a HID device in windows 7, the question you have posted is better suited for the MSDN Forums. Please post your query in the link next to the support of the MSDN forum for further assistance.

    Windows hardware development

  • Examples of Code for the (Simplified) Client software

    After digging through the application of the whole sample RIM provides I thought I want to provide a code for the simplified example. Short opinion: post connection suffix is not allowed on the forums. You can see the sample application of the RIM if you do not already elsewhere. Please see the article here, it's under review if you want to contribute (although the code is mainly in the attached files): http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Simplified-BIS-Push-client-sample...

    the article has been published: http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Simplified-BIS-Push-client-sample...

  • Sample code for creating our application without head in bb10.3 alarm

    Hello

    Can someone pls I mean is possible to create / to invoke the alarm from a user developed application? I want also the app in the background (like the app without a head) and receive timely notification whenever the alarm sounds. Please provide with some samples it ill be very useful.

    Thanks in advance.

    While working on the code for you example, I discovered that SystemDialog cannot be called from headless, so you do not have to depend on NotificationDialog instead.

    Find attached a sample application work that will play a vibrant sound using MediaPlayer and show a NotificationDialog asking if you want to Snooze (for 5 seconds) or disable the alarm.

    The source code is also available here:

    https://github.com/RodgerLeblanc/HeadlessAlarm

  • Must be signed with the RIM Runtime Code Signing Key (RRT) - example of code bar

    Hi, when I try to start the bardcode example in my device (9780 Smartphone), I get

    "Error starting BarCodeApp: Module 'BarCodeApp' must be signed with the RIM Code Signing Key (RRT) DURATION.

    The only class I have in my project is:

    import java.util.Hashtable;
    import java.util.Vector;
    
    import net.rim.blackberry.api.browser.Browser;
    import net.rim.blackberry.api.browser.BrowserSession;
    import net.rim.device.api.barcodelib.BarcodeBitmap;
    import net.rim.device.api.barcodelib.BarcodeDecoder;
    import net.rim.device.api.barcodelib.BarcodeDecoderListener;
    import net.rim.device.api.barcodelib.BarcodeScanner;
    import net.rim.device.api.command.Command;
    import net.rim.device.api.command.CommandHandler;
    import net.rim.device.api.command.ReadOnlyCommandMetadata;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.KeyListener;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Keypad;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.XYEdges;
    import net.rim.device.api.ui.component.BitmapField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.EditField;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.container.FullScreen;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.decor.BorderFactory;
    import net.rim.device.api.ui.toolbar.ToolbarButtonField;
    import net.rim.device.api.ui.toolbar.ToolbarManager;
    import net.rim.device.api.util.StringProvider;
    
    import com.google.zxing.BarcodeFormat;
    import com.google.zxing.DecodeHintType;
    import com.google.zxing.common.ByteMatrix;
    import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;
    import com.google.zxing.qrcode.encoder.Encoder;
    import com.google.zxing.qrcode.encoder.QRCode;
    
    /***
     * Barcode API Sample
     * 

    * This application demonstrates the most common use of the Barcode API: 1) * Creating and displaying a QR code, 2) Scanning a QR code and opening the * browser pointing to that URL. It could be easily modified to scan/create * other kinds of barcodes, or do other things with the scanned/created barcode. * * @author PBernhardt * */ public class BarcodeAPISample extends UiApplication { //This controls how big barcode we will display is to be private static final int BARCODE_WIDTH = 300; // This is the app itself private static BarcodeAPISample _app; // Errors will be logged here private LabelField _logField; // The main screen which holds the toolbar and displayed barcode private MainScreen _mainScreen; // The barcode is displayed here private BitmapField _barcodeField; // The text stored here is converted into a barcode by the user private EditField _barcodeTextField; // This controls the scanning of barcodes private BarcodeScanner _scanner; // This screen is where the viewfinderf or the barcode scanner is displayed private FullScreen _barcodeScreen; public BarcodeAPISample() { // New screen _mainScreen = new MainScreen(); // Create the log field so it can be used in this constructor _logField = new LabelField("Log: "); // Create the place-holder for the barcode image and add it to the main // screen _barcodeField = new BitmapField(new Bitmap(BARCODE_WIDTH, BARCODE_WIDTH), Field.FIELD_HCENTER); _barcodeField.setBorder(BorderFactory.createBevelBorder(new XYEdges(2, 2, 2, 2))); _mainScreen.add(_barcodeField); // Create and add the field to store the barcode contents _barcodeTextField = new EditField("Barcode text: ", "http://devblog.blackberry.com"); _mainScreen.add(_barcodeTextField); // Add "display barcode" and "scan barcode" toolbar buttons /** * This is a quick example of the new (in 6.0) * net.rim.device.api.command package and the * net.rim.device.api.ui.toolbar package. All it does is invoke the * displayBarcode() or scanBarcode() method when you click the * corresponding button. For more details on this package, see the * JavaDocs or elsewhere in the Developer Resource Center */ ToolbarManager toolbar = new ToolbarManager(); ToolbarButtonField displayBarcodeToolbarButtonField = new ToolbarButtonField(new StringProvider("Display")); displayBarcodeToolbarButtonField.setCommand(new Command(new CommandHandler() { public void execute(ReadOnlyCommandMetadata arg0, Object arg1) { displayBarcode(); } })); toolbar.add(displayBarcodeToolbarButtonField); ToolbarButtonField scanBarcodeToolbarButtonField = new ToolbarButtonField(new StringProvider("Scan")); scanBarcodeToolbarButtonField.setCommand(new Command(new CommandHandler() { public void execute(ReadOnlyCommandMetadata arg0, Object arg1) { scanBarcode(); } })); toolbar.add(scanBarcodeToolbarButtonField); _mainScreen.setToolbar(toolbar); // Add the log field to the bottom _mainScreen.add(_logField); pushScreen(_mainScreen); } // Simply create the the app and enter the event dispatcher public static void main(String[] args) { _app = new BarcodeAPISample(); _app.enterEventDispatcher(); } /** * displayBarcode *

    * This method will take the text in the _barcodeTextField, convert it into * a QRCode and display it on the main screen. It could be easily modified * to use a different barcode format or to get the text from somewhere else. */ private void displayBarcode() { try { QRCode qrCode = new QRCode(); // This encodes the text with a low level (%7) of error correction Encoder.encode(_barcodeTextField.getText(), ErrorCorrectionLevel.L, qrCode); // From there we get the actual data matrix and convert it into a // bitmap ByteMatrix barcode = qrCode.getMatrix(); Bitmap bitmap = BarcodeBitmap.createBitmap(barcode, BARCODE_WIDTH); _barcodeField.setBitmap(bitmap); } catch (Exception e) { log("Exception: " + e); } } private void scanBarcode() { // If we haven't scanned before, we will set up our barcode scanner if (_barcodeScreen == null) { // First we create a hashtable to hold all of the hints that we can // give the API about how we want to scan a barcode to improve speed // and accuracy. Hashtable hints = new Hashtable(); // The first thing going in is a list of formats. We could look for // more than one at a time, but it's much slower. Vector formats = new Vector(); formats.addElement(BarcodeFormat.QR_CODE); hints.put(DecodeHintType.POSSIBLE_FORMATS, formats); // We will also use the "TRY_HARDER" flag to make sure we get an // accurate scan hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE); // We create a new decoder using those hints BarcodeDecoder decoder = new BarcodeDecoder(hints); // Finally we can create the actual scanner with a decoder and a // listener that will handle the data stored in the barcode. We put // that in our view screen to handle the display. try { _scanner = new BarcodeScanner(decoder, new MyBarcodeDecoderListener()); _barcodeScreen = new MyBarcodeScannerViewScreen(_scanner); } catch (Exception e) { log("Could not initialize barcode scanner: " + e); return; } } // If we get here, all the barcode scanning infrastructure should be set // up, so all we have to do is start the scan and display the viewfinder try { _scanner.startScan(); _app.pushScreen(_barcodeScreen); } catch (Exception e) { log("Could not start scan: " + e); } } /*** * MyBarcodeDecoderListener *

    * This BarcodeDecoverListener implementation tries to open any data encoded * in a barcode in the browser. * * @author PBernhardt * **/ private class MyBarcodeDecoderListener implements BarcodeDecoderListener { public void barcodeDecoded(final String rawText) { // First pop the viewfinder screen off of the stack so we can see // the main app _app.invokeLater(new Runnable() { public void run() { _app.popScreen(_barcodeScreen); } }); // We will use a StringBuffer to create our message as every String // concatenation creates a new Object final StringBuffer message = new StringBuffer("Would you like to open the browser pointing to \""); message.append(rawText); message.append("\"?"); log(message.toString()); _barcodeScreen.invalidate(); // Prompt the user to open the browser pointing at the URL we // scanned _app.invokeLater(new Runnable() { public void run() { if (Dialog.ask(Dialog.D_YES_NO, message.toString()) == Dialog.YES) { // Get the default sessionBrowserSession BrowserSession browserSession = Browser.getDefaultSession(); // Launch the URL browserSession.displayPage(rawText); } } }); } } /*** * MyBarcodeScannerViewScreen *

    * This view screen is simply an extension of MainScreen that will hold our * scanner's viewfinder, and handle cleanly stopping the scan if the user * decides they want to abort via the back button. * * @author PBernhardt * */ private class MyBarcodeScannerViewScreen extends MainScreen { public MyBarcodeScannerViewScreen(BarcodeScanner scanner) { super(); try { // Get the viewfinder and add it to the screen _scanner.getVideoControl().setDisplayFullScreen(true); Field viewFinder = _scanner.getViewfinder(); this.add(viewFinder); // Create and add our key listener to the screen this.addKeyListener(new MyKeyListener()); } catch (Exception e) { log("Error creating view screen: " + e); } } /*** * MyKeyListener *

    * This KeyListener will stop the current scan cleanly when the back * button is pressed, and then pop the viewfinder off the stack. * * @author PBernhardt * */ private class MyKeyListener implements KeyListener { public boolean keyDown(int keycode, int time) { // First convert the keycode into an actual key event, taking // modifiers into account int key = Keypad.key(keycode); // From there we can compare against the escape key constant. If // we get it, we stop the scan and pop this screen off the stack if (key == Keypad.KEY_ESCAPE) { try { _scanner.stopScan(); } catch (Exception e) { log("Error stopping scan: " + e); } _app.invokeLater(new Runnable() { public void run() { _app.popScreen(_barcodeScreen); } }); return true; } // Otherwise, we'll return false so as not to consume the // keyDown event return false; } // We will only act on the keyDown event public boolean keyChar(char key, int status, int time) { return false; } public boolean keyRepeat(int keycode, int time) { return false; } public boolean keyStatus(int keycode, int time) { return false; } public boolean keyUp(int keycode, int time) { return false; } } } /*** * log *

    * Writes a message to an edit field for debug purposes. Also sends to * STDOUT. *

    * * @param msg * - The String to log */ public void log(final String msg) { invokeLater(new Runnable() { public void run() { _logField.setText(_logField.getText() + "\n" + msg); System.out.println(msg); } }); } }

    My request is properly signed and work very well in the Simulator.

    Thanks in advance.

    Solved.  http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/Support_-_Sign...

  • Example of Code that shows the geocoding reverse to a mailing address?

    Can someone well want to show an example or two so that I can have for clarification. I need to have a developed application that can get the current GPS position and reverse geocode the address.  I googled cela and have not been able to find a solution.

    Any help in this matter would be greatly appreciated

    Thank you

    I have a webwork extension that runs this code

    Historic landmark [] = Locator.reverseGeocode (address, Locator.ADDRESS);
    {If (landmark! = null & landmark.length > 0 & {landmark [0]! = null})}
    AddressInfo info = landmark [0] .getAddressInfo ();

    info.getField (AddressInfo.STREET)
    }

    But I think you coud use google gears on BB5 and BB6 on HTML5 Geolocation.

  • Popup of console log in Chrome for the Javascript code for the Adf application

    Hello

    I use JDev 11.1.1.7.

    In our application, I used the same code as in the example (http://www.oracle.com/technetwork/testcontent/27-long-running-queries-169166.pdf) adf code corner next.

    I used this code to my command button on my page.

    The problem is, when you run the application in the browser Chrome, clicking this command button displays a warning for javascript popup (Please find below printscreen).js_error_popup.png

    The application is not break and continues to work even if this popup comes.

    I tried with other browsers, it is works well and do not show this javascript error.

    You can all help to suggest? Is there something wrong with the javascript code? Thank you.

    Best regards

    cmoster

    Hi Timo,

    The problem is now resolved.

    We have corrected by adding these params of context in the web.xml file to work around the problem.

        org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT

        fake

     

     

        oracle.adf.view.rich.profiler.ENABLED

        fake

     

     

        oracle.adf.view.rich.LOGGER_LEVEL

        OFF

     

     

        oracle.adfinternal.view.faces.DISABLE_CONTENT_COMPRESSION

        fake

     

    Best regards

    cmoster

  • ConfigurationDeployEx example of Code needed

    Could someone send me a code example using the ConfigurationDeployEx method? The standard method of ConfigurationDeploy is not powerful enough to do what I need, but I can not get the ConfigurationDeployEx method works regardless of what I'm trying. Preference I need sample code in c# 2008. Thanks in advance.

    Is attached to a Visual Studio 2005 with a project solution. The project concerns a nunit test case (which could easily be converted to run in a console application. NUnit is also part of zip archive.)

    The code does the following:

    1 is a configuration in the workspace. In my

    the test configuration had a VM with a physical and two virtual

    networks.

    2. he grabs at the library

    3. extract from the library

    4. deploys it in closing mode (AllowAllInAndOut)

    and she finds all the physical and virtual networks that is the configuration

    connected all the primary physical and virtual networks bridges

    network.

    Also attached is the network diagram after code execution

  • How to bind inputText 2-1 attribute (for example, area code + phone number)

    Hello

    Is there an easy way to bind inputText different 2-1 data control attribute?
    If not, then is it possible to retrieve the value of * ${bindings.xxxFindAllIterator.currentRow.dataProvider} *?

    Hello

    Nothing prevents you in linking the two different components to a single attribute, but in this case, only the value entered in the second/later component is taken into consideration (i.e., overrides the value entered in the first inputText component)?
    Instead, you can have two different transitional attributes in vo (referring respectively the area code and phone number) and before registration, you can combine and save in the database.

    If not, then is it possible to retrieve the value of ${bindings.xxxFindAllIterator.currentRow.dataProvider}?

    Yes, you can get

    Example Code:

    ]
     //Inside bean write this code
        /**
         * Method for taking a reference to a JSF binding expression and returning
         * the matching object (or creating it).
         * @param expression EL expression
         * @return Managed object
         */
        public static Object resolveExpression(String expression)
        {
            try
            {
                FacesContext facesContext = getFacesContext();
                Application app = facesContext.getApplication();
                ExpressionFactory elFactory = app.getExpressionFactory();
                ELContext elContext = facesContext.getELContext();
                ValueExpression valueExp =
                    elFactory.createValueExpression(elContext, expression, Object.class);
                return valueExp.getValue(elContext);
            }
            catch (Exception e)
            {
               ;// log you message here
            }
            return null;
        }
    
        //Call the below statement where ever you want to evaluate the EL expression
        resolveExpression("#{bindings.xxxFindAllIterator.currentRow.dataProvider} ")
    

    Jean Lou

Maybe you are looking for

  • Satellite A300D - how to activate the touchpad?

    Hello world. I have a problem. When I used XP I turned off touchpad while I use the mouse. So I decided to install Win Vista and there is a problem. I forgot to activate it before reinstaling. This is why my touchpad does not work. The drivers are fi

  • Unknown device in Device Manager

  • CSCug24584 - console ASA crashes with nat sh nat statements duplicate

    Hello Experts of the ASA I want to know this condition. --------------------------------- Conditions: When change continuously last nat nat auto config can lead to corrupt pointer, to this execution time of sh nat will show nat repeated entries in se

  • Computer and a wireless printer are not more speaking

    I have a HP wireless computer and the wireless printer.  I spent my wireless router.  Now, our building has gone wireless, and I connect to the internet through the router of the complex (somewhere in the building).  But now my computer is not talkin

  • Unable to connect VPN client anyconnect

    Hello We have ASA5510 with version 7.x and asdm 5.X, I upgraded to 8.3 and asdm 6.2, and I peer vpn 2 and 250 ssl. When I try to connect via the client software, I see in newspapers port UDP 500 is created as shown below. some other things are ongoin