Region is not created and also the item is not added.. Help me

Hi to all,
I want to create a region dynamically(in the sense using code). The following code is used but the thing is the region is not created and the item also not created. Using the object of the item, i set the prompt , this is also not working. Suppose this code is wrong let me know how to create regin and under this region an item.
the code is:
OAMessageComponentLayoutBean msgcmpntbean = (OAMessageComponentLayoutBean)createWebBean(pageContext,MESSAGE_COMPONENT_LAYOUT_BEAN);
OAMessageStyledTextBean msgstyledbean = (OAMessageStyledTextBean)pageContext.getWebBeanFactory().createWebBean(pageContext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"Login");
pageContext.getPageLayoutBean().addIndexedChild(msgcmpntbean);
msgcmpntbean.setRows(1);
msgcmpntbean.setColumns(3);
msgstyledbean.setPrompt("Login User : ");
Thanks in Advance

Hi,
you have created messagecomponentlayout and messageStyled text but you have not added messagestyled text as indexed child in messageComponentlayout....
Try this:
OAMessageComponentLayoutBean msgcmpntbean = (OAMessageComponentLayoutBean)createWebBean(pageContext,MESSAGE_COMPONENT_LAYOUT_BEAN);
OAMessageStyledTextBean msgstyledbean = (OAMessageStyledTextBean)pageContext.getWebBeanFactory().createWebBean(pageContext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"Login");
msgcmpntbean.addIndexedChild(msgstyledbean);
pageContext.getPageLayoutBean().addIndexedChild(msgcmpntbean);
msgcmpntbean.setRows(1);
msgcmpntbean.setColumns(3);
msgstyledbean.setPrompt("Login User : ");
Thanks,
Gaurav

Similar Messages

  • HT4798 I can't seem to remember my apple password and also the answer to my security question seems to be incorrect. Apple don't seem to have the correct email down either so I have no way of resetting my password, what do I do??

    I can't seem to remember my apple password and also the answer to my security question seems to be incorrect. Apple don't seem to have the correct email down either so I have no way of resetting my password, what do I do??

    Foziakhan,
    If you are referring to your Apple ID password, call Apple (1-800-MY-APPLE) and ask to speak to the Account Security Team. They will be able to assist you with resetting your security questions and also the password.
    Hope this helps. Good Luck!

  • HT4623 My Ipad is saying that i need to type in a Sim code to unlock, but i do not know what it is...I have tried every code i could think of and also the one that it originally was when i received my Sim. How do i unlock my ipad or change my sim pin?

    My Ipad is saying that i need to type in a Sim code to unlock, but i do not know what it is...I have tried every code i could think of and also the one that it originally was when i received my Sim. How do i unlock my ipad or change my sim pin?

    Hi Mikki.J.H,
    Thanks for using Apple Support Communities.  This article has some information regarding SIM PINs that may help:
    iOS: Understanding the SIM PIN
    http://support.apple.com/kb/ht1316
    Cheers,
    - Ari

  • I forgot My iCloud password, and i can not reset it as the system is not accepting the answer to the security questions and also the mail to my apple ID mail box is blocked, how can i reset my password for my apple ID.

    I forgot My iCloud password, and i can not reset it as the system is not accepting the answer to the security questions and also the mail to my apple ID mail box is blocked, how can i reset my password for my apple ID.

    Hello nmssns,
    Thank you for contacting Apple Support Communities.
    You can start with this article to reset your iCloud password. Depending on your exact circumstances, blocked email, forgot security questions, etc., there are links provided to guide you through those issues.
    About Apple ID security questions
    http://support.apple.com/kb/HT5665
    Regards,
    Jeff D.

  • IAhave am iPad 1. I downloaded PrintCentral Pro and also the Bonjour Printer Wizard as prompted. I still can not print. What am I missing?  I am new to this...Please help.  Thank you!

    I have an iPad 1. I downloaded PrintCentral Pro and also the Bonjour Printer Wizard as prompted. I still can not print. What am I missing?  I am new to this...Please help.  Thank you!

    Depending on what you are trying to print you may have to print from within the app.  For example, to print an email or web page you have to open what you want to print from print central pro.  If your printer is not a supported printer there is another app from the same developer that allows you to print from your iPad to your printer via a wired pc.  You may want to drop them an email.  They have pretty good customer service and respond to emails very quickly.

  • HT1918 I've just updated my credit card why i'm always declined and also the none button payment was not in the list...help..

    I've just updated my credit card info why i'm always declined and also the none payment button is not in the list... Help..

    Try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • Hi all.When pressed play and make some changes in loop (eg fade in fade out) are very slow to implement, and also the loops from the library are very slow to play, corrects the somewhat self so is the Logic??

    hi all.When pressed play and make some changes in loop (eg fade in fade out) are very slow to implement, and also the loops from the library are very slow to play, corrects the somewhat self so is the Logic??

    Hey there Logic Pro21,
    It sounds like you are seeing some odd performance issues with Logic Pro X. I recommend these troubleshooting steps specifically from the following article to help troubleshoot what is happening:
    Logic Pro X: Troubleshooting basics
    http://support.apple.com/kb/HT5859
    Verify that your computer meets the system requirements for Logic Pro X
    See Logic Pro X Technical Specifications.
    Test using the computer's built-in audio hardware
    If you use external audio hardware, try setting Logic Pro X to use the built-in audio hardware on your computer. Choose Logic Pro X > Preferences > Audio from the main menu and click the Devices tab. Choose the built in audio hardware from the Input Device and Output Device pop-up menus. If the issue is resolved using built-in audio, refer to the manufacturer of your audio interface.
    Start Logic with a different project template
    Sometimes project files can become damaged, causing unexpected behavior in Logic. If you use a template, damage to the template can cause unexpected results with any project subsequently created from it. To create a completely fresh project choose File > New from Template and select Empty Project in the template selector window. Test to see if the issue is resolved in the new project.
    Sometimes, issues with the data in a project can be repaired. Open an affected project and open the Project Information window with the Project Information key command. Click Reorganize Memory to attempt to repair the project. When you reorganize memory, the current project is checked for any signs of damage, structural problems, and unused blocks. If any unused blocks are found, you will be able to remove these, and repair the project. Project memory is also reorganized automatically after saving or opening a project.
    Delete the user preferences
    You can resolve many issues by restoring Logic Pro X back to its original settings. This will not impact your media files. To reset your Logic Pro X user preference settings to their original state, do the following:
    In the Finder, choose Go to Folder from the Go menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the com.apple.logic10.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro X User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro X, then you may also wish to delete the com.apple.logic.pro.cs file from the preferences folder.
    If you have upgraded from an earlier version of Logic Pro, you should also remove~/Library/Preferences/Logic/com.apple.logic.pro.
    Restart the computer.
    Isolate an issue by using another user account
    For more information see Isolating an issue by using another user account.
    Reinstall Logic Pro X
    Another approach you might consider is reinstalling Logic Pro X. To do this effectively, you need to remove the application, then reinstall Logic Pro X. You don't have to remove everything that was installed with Logic Pro X. Follow the steps below to completely reinstall a fresh copy of Logic Pro X.
    In the Finder, choose Applications from the Go menu.
    Locate the Logic Pro X application and drag it to the trash.
    Open the Mac App Store
    Click the Purchases button in the Mac App Store toolbar.
    Sign in to the Mac App Store using the Apple ID you first used to purchase Logic Pro X.
    Look for Logic Pro X in the list of purchased applications in the App Store. If you don't see Logic Pro X in the list, make sure it's not hidden. See Mac App Store: Hiding and unhiding purchases for more information.
    Click Install to download and install Logic Pro X.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • HT5312 I forgot the security questions and also the password for security info email of my apple id. Now I want to change the security info email with another. What Should I do?

    I forgot the security questions and also the password (and even account id, sequrity questions,... becouse I didn't use for a long time) for security info email of my apple id. Now I want to change the security info email with another. What Should I do?

    Even if I'm not despertate, creating a new Id is good Idia. But I think I must create another email address also since I can't use the first email adress as an apple id for the new one. That means I should check everyday the new email address also, that is making life complex. Better to try the 1st solution. Thank you very much.

  • How can I change the color of a folder icon and also the color of the text

    I am using Yosemite.  Is there any way to change the color of a folder icon and also the color of the text?

    You can't. You can't individually set the properties of just one array element.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • I have upgraded to Mountain Lion and have found that some of my software no longer works, notably Image Browser and also the Epson Scanner Perfection 3490 software. Is there a 'patch' or way to allow me to use these programmes especially the scanner.

    I have upgraded to Mountain Lion and have found that some of my software no longer works, notably Image Browser and also the Epson Scanner Perfection 3490 software. Is there a 'patch' or way to allow me to use these programmes especially the scanner.

    Apple discontinued support for PowerPC apps with Lion, I think, so you're out of luck there. No patch coming, unfortunately. Best to upgrade whatever old applications you have or, since it seems like you're using some relatively old software, scout around for replacements that give you the functionality you need.
    Go to Apple menu > System Preferences > Print & Scan and select your scanner from the list--if it's not there you'll need to add it (start with the little plus icon). Once you have it in the list you can click on the Open Scanner button and a pretty barebones scanner driver will load for you. But Image Capture (as mentioned previously), found in your Applications folder, will probably do the job as adequately, or better, than your old scanner software.

  • Dynamically create and remove TEXT items in forms

    Hi Guys,
    Is there a way to dynamically create and remove TEXT items in form. For example I have the EMP and DEPT table and when
    I select the EMP table name from the LOV, rows of the EMP table with column name and data should get displayed on the screen and likewise a similar action for DEPT table and
    so on. I have about 90 tables from where data could be required to view and edit. They all have varying number of columns.
    Any suggestions ?
    Thanks
    KMD
    null

    Use OLE concept of developer and map Excel as an object
    Nadeem
    null

  • Get the session trace files and also the TKPROF reports for storedprocedure

    Hi ,
    I am trying to find out the bottlenecks on a storedprocedure, which does a insert into a table, where the target table has lot of indexes/constraints, so i want to see, which indexes/constraints is causing the problem. so in order to do I want to get the session trace files and also the TKPROF reports to see the bottlenecks for a oracle stored procedure,
    Could you please give us the list of steps to get the tracefiles and tkprof reports.

    781649 wrote:
    Thanks for input, i am using oracle10g standard edition. i dont think i have these tools available (DBMS_PROFILER or DBMS_HPROF). Did you even bother to try the following?
    SQL> DESC DBMS_PROFILER
    SQL> DESC DBMS_HPROF
    I understand it would be too much to expect you to actually Read The Fine Manual
    I am using bulk collect for all in my storedprocedure to insert the rows into a big table. In order to perform analysis on this bulk collect which tool will help me to identify the bottlenecks .
    I want to compare background session properties for both runs (like inserting the data with indexes/constraints vs without indexes/constraints). please let me know..I am willing to bet you the problem/slowness is on the SELECT side & not the INSERT!
    Just Curious
    Handle:      781649
    Status Level:      Newbie
    Registered:      Jul 12, 2010
    Total Posts:      35
    Total Questions:      17 (14 unresolved)
    Why so many unanswered questions?
    Edited by: sb92075 on Jan 17, 2012 3:13 PM

  • Key pressed in Jlist and selecting the item of key list accordingly

    Hi,
    I have a JList with the items in sorted order.Now I want that if a person presses any key (say K) then the first item starting with K should be selected.Hmmm I can do it by addding a key listener to the list and cheking all the items in the list ,by traversing through the whole lenght of JList and selecting the item if it starts with the character of the key pressed.
    But i was thinking if there is any better way to do that?
    Regards Amin

    see bugid: 4654916 - it does say that the the
    scrolling for the JList should now work with keyboard
    selection.I have the same problem. Thanx for the hint with the bugid. Saw a good workaround there with a simple subclass of JList. Works for me although it is annoying to subclass JList all the time. The bug seems not to be fixed in the 1.4.1 JDK.
    Andreas

  • How to create and manage the log file

    Hi,
    I want to trace and debug the program process.
    I write the code for creating log file and debugging the process.
    But i am not able get the result.
    please help me how to create and manage the log file.
    Here i post sample program
    package Src;
    import java.io.*;
    import org.apache.log4j.*;
    import java.util.logging.FileHandler;
    public class Mylog
         private static final Logger log = Logger.getLogger("Mylog.class");
         public static void main(String[] args) throws Exception {
         try {
           // Create an appending file handler
            boolean append = true;
            FileHandler handler = new FileHandler("debug.log", append);
            // Add to the desired logger
            Logger logger = Logger.getLogger("com.mycompany");
            System.out.println("after creating log file");     
              catch (IOException e)
                   System.out.println("Sys Err");
            }Please give the your valuable suggesstion... !
    Thanks
    MerlinRoshina

    Just i need to write a single line in log file.

Maybe you are looking for

  • Ad unit not showing ad in game built in unity

    I made a game in unity 4.6 and built it for windows phone 8. In the xaml I added pubcenter ad control as - <DrawingSurfaceBackgroundGrid x:Name="DrawingSurfaceBackground" Loaded="DrawingSurfaceBackground_Loaded"> <UI:AdControl ApplicationId="f819c9ba

  • Problem Exporting Report Layout

    Hi, I have an application that contains many report layouts. In the development environment it works fine. But, I have exported the application (.sql file) and imported into the production environment and when I try to run the report the application

  • Some  Co-authors not visible

    I invited 18 participants as co-authors on a document. Originally, all of their names appeared in the share bar. However, now there are only 5 co-authors showing up. These five have opened the document in the interim 2 weeks; the others have not. Doe

  • Fn module for Excel to internal table

    xperts, Required some fn modules to get data from excel / csv file to internal table. Ragards, Anoop Chandran

  • Canon LIDE210 scanner won't work with 64 bit arch.

    I have a Canon LIDE 210 flatbed scanner which is supposed to be fully supported in linux - for many many months if I plug it in, and start up GIMP to use the scanner plugin - initially it looks like it will work but although it successfully completes