Is it possible to add and instance if of a class as managed bean at runtime

Greetings,
I am developing an application where i need to develop an UI (backed by an backingbean). Now this UI can be different based on the back-end data.
Can i create the instance of a class with all the UI components and set it as a managed bean of a task flow programmatically at runtime?
Thanks,
PShah

The UI Components in a managed bean may created at runtime.
A managed bean is initialized at runtime, but is required to be created beofre runtime.

Similar Messages

  • Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Hi,
    I had the same problem with
    "java.lang.NullPointerException at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.ViewContainerUIElementAdapter.getContent(ViewContainerUIElementAdapter.java:98)"
    when I included ViewUsages dynamically in an action handler (outside wdDoInit()).
    The code below fixed that problem.
    This code creates a new OutboundPlug for the embedding view with the embedded view as target and fires the plug.
    <i>// Create OutboundPlug
    IWDOutboundPlugInfo outboundPlug = embedderViewInfo.createOutboundPlug();
    //Create navigation link
    rootViewUsage.createNavigationTarget(outboundPlug.getName(), interfaceViewUsage, "Default");
    // fire navigation link
    wdThis.wdGetAPI().firePlug(outboundPlug, Collections.EMPTY_MAP);
    </i>
    I hope I could help you. Probably you don't need the information anymore, but perhaps anybody else has the same problem.
    Regards, Alex

  • Is it possible to add and delete some text in a file?

    Hi everybody!!!
    I would like to add something and delete it later on into and from the text file. Is it possible? do anybody have any idea to help me out?
    ciao...

    Read the text file in sequentially, write out the modified version to a new text file sequentially.

  • Possible to add and persist elements in server config, for use by cons ext?

    I'm considering what will be my obstacles if I try to write a console extension that we would use to view excerpts of an application log file, the application of which is deployed to each server in our domain(s). It doesn't log to the WebLogic server log, it writes it to an external log file (through log4j), and each server (several servers on each box) uses a slightly different path to its log file.
    One issue that I'll have is getting the console extension to know what the path to the log file is. I think the best way, over all, is just to have the user enter the path in the form presented by the console extension. My problem is how to persist that setting, because I'd prefer they didn't have to enter that every time they entered the form.
    Several years ago, I wrote a console extension for WL 8.1.4 which had a similar issue. I ended up simply writing the setting into a properties file inside the extension WAR. This only works (I believe) if the WAR is deployed exploded. I could do that, but I don't like that idea very much.
    What would be nice is if I could "extend" the server config.xml with an additional element in the "Server" element, where I could store this information. Unfortunately, I don't see any support for doing something like that.
    Another alternative I'm considering is whether it's possible to extend the "Summary of Log Files" page in "Diagnostics" with an application-specific log file, but I don't see any way to do that.

    Well, I appreciate the suggestion, but it's not exactly a secret, to me at least. I've used it for human-readable things recently. It occurred to me that that might be my only option, but I certainly wasn't going to assume that. As it seems like this is likely my only option, I guess I can see some interesting conventions for dealing with this. You have to assume that the field could be written to by other code, and that code would have to make the same assumption. I guess I'd have to define a certain XML element as the root of my structure. If I find it, that region between the start and end element is mine to use and modify. If I don't find it, I'll insert my element at the end of the field value.

  • Is it possible to add and adjust css3 box-shadow and its effects... color and transparency with mucow?

    Does this make sense on how to apply it?
    #{param_itemUID} .rect{
      background-color:{param_backgroundColor};
      width:{param_width}px;
      height:{param_height}px;
      -pie-box-shadow:{param_xshadow}px; {param_yshadow}px; {param_shadowblur}px; {param_ShadowColor};
      box-shadow:{param_xshadow}px;{param_yshadow}px;{param_shadowblur}px;rgba({param_ShadowCol or},{param_opacity});
    Thanks!

    You should be able to do those things with a mucow.
    If it's not working, could you share more of your mucow - maybe just send me the whole thing so I can take a look (lbushore (at) adobe.com)

  • Add and remove modules in Apache

    Is it possible to add and remove modules within Apache (actually compile an relink Apache) with a source download form Apache.org (1.3.28?) and incorporate the necessery modules and configuration from Oracle?. I have looked for some kind of documentation for this, but ended up with nothing. Can anybody explain this?.

    If you really understand apache and how oracle implements the apache server then yes you could add/remove modules if you have the source code from oracle. I dont think that you can download apache1.3.28 from apache.org and expect to use that source to build an executable that can plug into oracle.

  • Is it possible to add support for new database type in Data Modeler?

    Hi,
    I see that Data Modeler v.4 supports different versions of Oracle, DB2 and MS SQL. Is it possible to add support for a new database family,
    PostgreSQL for example? I hoped that RDBMS Site editor can do it, but so far I don't see any possibility to add XML files with metadata for a new RDBMS.
    I did it previously for PowerDesigner were it is possible to add and modify definitions for new relational databases.
    Thank you,
    Sergei

    There is discussion option as an out of the box feature. Check this: BI launch pad 4.0: Participate in a discussion about a document

  • ADF: want to add multiple instance of .jsff page in af:region dynamically

    Hi,
    I am having following requirement.
    We have one .jsff page, and we want to add multiple instance of this fragment page in <af:region> at runtime.
    Basically our requirement is anyhow we want to add multiple panel which is having many other child component at run time.
    Your suggestion will be very helpful.
    Regards,
    Deepak Parmar

    Vinod,
    Hmm.. only option left is i should add component at run time. but i am facing following issue...
    I am trying to add child component into RichPanelStretchLayout object at runtime, but getFacetCount() and getFacet() method of RichPanelStretchLayout is returning 0 and null respectively.
    can you please suggest me how can i add child component into RichPanelStretchLayout object?, i have directly added component using getChildered.add() method. but it wont work as i must need one facet object ( either START,BOTTOM or CENTER).
    Regards,
    Deepak

  • Is it possible to integrate multiple instances with single OAM (Oracle Acce

    Hi All,
    Please could anyone clarify,is it possible to integrate multiple instance with single OAM(Oracle Access Manager).
    We have two instance in development environment, Among them one is already integrated with OAM 11g,Now we want to integrate the second one with OAM 11g. For this already configured OAM is enough or we need to configure the another OAM separately.
    Application Version is 12.1.1
    Database Version : 11.1.0.7
    OS : RHEL 5.3 64 bit
    Thanks in advance.

    Hi Hussein ,
    I Ran below script,
    ant -f txkEBSAuth.xml \
    -Dwlshosturl=appora.corp.hexaware.com:7021 \
    -Dwlsuser=weblogic \
    -Dwlspwd=password1 \
    -DuseDefaults=true \
    -DforceDataSource=true \
    -DdataSourceName=DEV \
    -DdataSourceJNDIName=jndi/DEV \
    -DasadminUser=SSO11GLOGIN \
    -DasadminPassword=welcome1 \
    -DdbcFile=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/DEV.dbc \
    -DserverName=AdminServer \
    -DdeploymentName=ebsauth_DEV \
    -DfndauthWarFile=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/fndauth.war \
    -DplanPath=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/plan/plan.xml \
    -DforceDeployment=true \
    -DSSOServerRelease=11 \
    -DSSOServerURL=http://appora.corp.hexaware.com:14100 \
    -DWebgateLogoutURL=http://appora.corp.hexaware.com:7780/public/oacleanup.html \
    -DlogConfigfile=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/sample/logging.properties
    -bash: ant: command not found
    Thanks in advance

  • Can't add to display list from a class

    in my Main.as file, this works as expected:
    var t:TextField = new TextField();
    t.text = "hello in main";
    addChild(t);
    However, when I create an instance of a class, and I have
    that same code in the constructor of that class, the text doesn't
    show up. I am creating the text field variable at the class level,
    not the contstructor level, so I think the variable should still
    hang around.
    Do I have to get an instance of the stage, or something?
    thanks

    I don't know anything about your application but there are at
    least two ways to add an instance from within other class:
    1. stage.addChild(t)
    2. Instantiate the class that creates text field --> add
    this instance to the display list of where you instantiated it
    (given that you class that creates the text field is a display ob
    ject too).
    Sorry, I cannot be more specific unless I know more about
    your architecture and logic.

  • How to add property through managed-beans.xml

    Hi,
    I am trying to take a hard coded value property from managed-beans.xml file. I tried using :
    <managed-property>
    <property-name> filename </property-name>
    <value> xx </value>
    I called getProperty("filename"); from one of my bean classes and it did not recognise it.
    I am not sure how to do this one. any help will be appreciated.
    Thanks

    I'm not sure what getProperty method you are referring to in your original posting. Is this a method on your managed bean class?
    Managed beans are implemented as regular JavaBeans so you will need to add a setFilename(String) and getFilename() method to your backing bean class to get this to work correctly. The setter method will get called automatically when the bean is first instantiated, either by accessing it from a JSP value-binding expression as a result of calling context.getApplication().getVariableResolver().resolve(context, beanName) where context is an instance of FacesContext and beanName the name of the managed bean as specified in faces-config.xml. You can then use the getter method to access the property value from within your application code.
    Alternatively, if you don't want to implement a JavaBean class, you can specify java.lang.HashMap as the managed bean class and use myBean.get("filename") to access the property instead.
    Hope this helps.
    -- Keith

  • In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to him.

    In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to such person, but the only one shows up is the birthday. How to be able to show all those dates linked to people in the agenda in the iCal?
    Thanks

    Hi,
    I sugggest you try my application, Dates to iCal. It is shareware with a 2 week trial period.
    Dates to iCal 2 is a replacement for Apple's birthday calendar for iCal. It has a range of features to allow the user to choose what, and what not, to sync to iCal from Address Book.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal 2 can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. This application also allows for the titles of the events sent to iCal to be modified to the user's preference.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the SearchText and IF statements that change the URL depending on what is typed?

    When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the searchTerms and IF statements that change the URL depending on the searchTerms? Every time I try to add something firefox doesn't want to add it as a search plugin. I need to create a more powerful search tool for personal use.

    I've found some external software applications that will do it, so that leads me to believe its not possible within ID CC.

  • Is it possible to add 16GB (2x8GB) of ram to the stock 8GB (2x4GB)  that is already in the iMac?   A total of 24GB (2x4GB, and 2x8GB)

    Purchasing the new 27" iMac
    Is it possible to add 16GB (2x8GB) of ram to the stock 8GB (2x4GB)  that is already in the iMac?
    A total of 24GB (2x4GB, and 2x8GB)
    upgrading memory on the new iMac 27"3.4GHz Quad-core Intel Core i7,
    8GB 1600MHz DDR3 SDRAM - 2x4GB
    3TB Fusion drive

    You can do it without any problem, but make sure you put the memory horizontally, so you will get the advantages of the Dual Channel. You can buy the memory in OWC or Crucial to make sure you have a compatible memory

  • Is it possible to add value item and non stock item in one billing?

    Is it possible to add value item and non stock item in one billing?

    Hi,
    Yes,it is possible .Take example of service scenario,where material used in servicing and service charges(labour) can be billed in single invoice.
    Billing document type,Customer and other header data should be same.
    Reward points if useful
    Regards,
    Amrish Purohit

Maybe you are looking for

  • Looking for a Google Apps replacement

    We need business collaboration tools for our XServe. We are currently using Google apps to edit docs and spreadsheets and need to bring the data in-house. What is available that offers the same functionality? The key feature is multi-user edting.

  • Error while Importing SQL Table's Metadata

    Hi I am creating an External defination of category "dbtab". when i try to import the table in 3rd step i get this error. "Error occurred while attempting to connect to database". I checked the JDBC channel, in the channel getting this error "Error p

  • Flash Player Crashes In Internet Explorer 8&9 While Playing HD YouTube Video

    Has anyone else came across this issue? While on YouTube if you try to play a video in HD, it'll play for a second and then crash. This only happens in Internet Explorer. Any suggestions would be helpful. I have tried many things and this is driving

  • InDesign - Export to pdf as trim size?

    I am still new to InDesign, so I am not sure if I can use it to do what I would like to. I just used InDesign to create a print-ready pdf to send to the printers for our comic book, which includes 1/4" bleeds.  I was wondering if I could use the same

  • Launching Aperture issues

    When I launch Aperture, it initializes by showing "opening Aperture library" but after a few seconds it stops and does not open the program.  How do I launch Aperture?  It worked before, not anymore.  I've downloaded latest updates, but still have is