Dynamic Setting of Properties in a Property Class

Can anybody tell me how to change the properties in a Property Class dynamically using Forms 6i?

Besides changing item property you can change property of block, forms too, dynamocally.
Use "help" in Forms Builder/Designer and search on "SET_", we will get lot of info on this.

Similar Messages

  • Dreamweaver Help | Set text properties in the Property inspector

    This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/set-text-properties-property-inspector.html

    The note at the bottom of the first section (About formatting text (CSS versus HTML)) says -
    "You can combine CSS and HTML 3.2 formatting within the same page. Formatting is applied in a hierarchical manner: HTML 3.2 formatting overrides formatting applied by external CSS style sheets, and CSS embedded in a document overrides external CSS."
    Please be aware that embedded CSS will ONLY override external CSS if the external CSS link is closer to the  tag than the embedded CSS (i.e., it comes earlier in the flow of the document).  If the embedded CSS comes first in the flow of the document, it will be overridden by the external CSS instead.

  • Dynamically setting the vo attribute Update property

    Hi All,
    Can we set the vo attribute update property dynamically.if so please let me know how can we achieve this.
    I have a read only view..But in my process request i need to set the value for that attribute based on some condition.
    How can i achieve this.I cant set at bean level.only row level i need to set.
    Its a dynamically created seeded vo.
    Please help.
    Thanks
    Bharat

    Hi,
    Capture the VO row and then set the value on the view attribute.
    OAViewObject vo = (OAViewObject)am.findViewObject("viewinstance");
    If(vo!=null)
    Row row = (Row)vo.first();
    row.setAttribute("Attribute Name", "Value");
    Thanks,
    Gaurav

  • Property Class

    We have used Visual attributes in our forms. Recently we had a few more properties which we wanted to standadise so I created property Class for all the items and add Visual attribute property in the Property Class. When I make changes to the Visual Attribute group the changes are not getting carried forward to the text items subclassed. Even if I change the properties of the property Class it doesn't seem to get carried forward it I have subclassed them.
    If I create a new form and copy the property Class and Visual attribute I can see the changed value but when I subclass they are retaining the same values as assigned on the time of creation.
    Help will be greatly appreciated. Thanks.

    Sudha,
    I have a object Group which has visual attributes, property classes and other things in it. I had a property class which had a Visual Attribute property in it. What we generally do when we create a form is subclass the object group and subclass all the individual items to the Visual attribute. When I created this property class we thought all I would have to do is subclass the item to the property class. When I made changes to the visual attribute this wasn't getting inherited into the items.
    Afetr I posted this message I tried to inherit some basic property and it wasn't inheriting for some reason ( I know for sure that it was able to inherit some properties yesterday) So I tried the same thing from another PC and it seems to work. Looks like I have some problem with my PC.
    I am going to reboot to see it this would make a difference. Thanks for your help.
    null

  • General class and setting properties vs specific inner class

    This is a general question for discussion. I am curious to know how people differentiate between instantiating a standard class and making property adjustments within a method versus defining a new inner class with the property adjustments defined within.
    For example, when laying out a screen do you:
    - instantiate all the objects, set properties, and define the layout all within a method
    - create an inner class that defines the details of the layout (may reference other inner classes if complex) that is then just instantiated within a method
    - use some combination of the two depending on size and complexity.
    - use some other strategy
    Obviously, by breaking the work up into smaller classes you are simplifying the structure since each class is taking on less responsibility, as well as hiding the details of the implementaion from higher level classes. On the other hand, if you are just instantiating an object and making some SET calls is creating an inner class overkill.
    Is there a general consensus for an approach? I am curious to hear the approach of others.

    it's depends on your design..
    usually, if the application is simple and is not expected to be maintain (update..etc..) than I just have all the building of the gui within the same class (usually..the main class that extends JFrame).
    if the application follows the MVC pattern, than I would have a seperate class that build the GUI for a particular View. I would create another class to handle the ActionEvent, and other event (Controller)
    I rarely use inner class...and only use them to implements the Listerner interface (but only for simple application)..

  • How to set property classes at runtime.

    Well, as the subject line says my question is plain and simple. I don't see any property for this in SET_ITEM_PROPERTY built-in.
    Currently a form has 10 subclassed blocks and views. These blocks have almost similar/definite number of items. At a time only one block with its canvas will be shown to the user. Instead of using so many sub-classed objects, I would like to use only one block and canvas. Now I am looking get getting just property classes from the 10 child forms, which I am looking forward to apply to the common block and items. Any other ideas for the same also appreciated.
    Thanks,
    -- Raam.

    alsalamu alykom
    I think there is no way to set property classes at runtime.
    u must loop through the objects

  • Forms 6i: Dynamically set Validate from List property

    Hi,
    Is there any API to set the VALIDATE FROM LIST property for an item with an LOV in Forms 6i?
    Thanks

    you can use set_item_property to do that dynamically. Look in the help for the values of the built-in

  • ESB - Is there a way to set context properties when using esb custom pipeline

    Hi there,
    I have a situation where I am using a oneway wcf sql custom receive adapter to polling db and a two-way solicit response wcf sql send adapter to update the db and receive a result back.
    Now I had got this working by setting the BTS.Operation and BTS.MessageType properties using a custom receive pipeline on the receive port. FOR SOME REASON THESE TWO WERE NOT SET BY THE RECEIVE PORT !!!
    Now I have decided to wrap all that in en ESB itinerary by converting the send port into a dynamic one.  I get the following error:
    Exception of type 'Microsoft.BizTalk.Message.Interop.BTSException' was thrown. 
    Since I am using the ESB pipeleine - ItineraryReceiveXML I am not able to set the BTS.Operation and BTS.MessageType explicitly in a pipeline neither can I derive a pipeline form the ESB pipeline as it's a sealed class.
    So my questions are:
    1. Any idea what the above error could be  ?
    2. Also is there a way I get set context properties using an ESB itinerary as that is the only difference from before, can I do that in a map ?
    Thanks
    Phanindra

    BTS.MessageType is typically set by one of the Disassemblers.
    BTS.Operation has nothing to do with the Receive Port/Location and is set by the Engine only when coming from an Orchestration Port.
    But, you can set any Property in any Stage with a custom Pipeline Component as you've found.
    "Exception of type 'Microsoft.BizTalk.Message.Interop.BTSException' was thrown."
    There's usually a lot more to the stack trace.  You'll have to include the whole thing.
    Finally, what benefit do you expect from adding the ESB layer?  This is pretty trivial with an Orchestration.

  • How do I set System properties within WL6.0?

    I am setting WL6.0 up to have a startup class, but this class needs to
    read system properties which have not yet been set. How do I set these
    up within weblogic? I was able to get the startup class set up, but it
    needs these system properties to continue.
    gmo

    Correct on all points. The one advantage of doing this in java is that you can more easily do more
    complex things like accessing configuration information from a remote data store (like a database).
    Dimitri Rakitine wrote:
    These are not needed if you simply replace java ...lots of options... weblogic.Server with
    java ...lots of options... startmyWLS in the script which starts WebLogic, but, on the other
    hand, this solution is no different from simply adding -DmyProperty=myValue to the startup script
    (I think that the ultimate goal is the ability to deploy(and redeploy!) components,
    without any mods to the particular vendor's startup scripts of anything of that nature).
    Kumar Allamraju <[email protected]> wrote:
    Thanks to robert for a quick workaround..
    I tried to start the WLS with the following piece of code and actually i need to set
    some additional properties
    for successful server startup.
    Here it is
    import java.util.Properties;
    public class startmyWLS
    public static void main(String[] args)
    Properties props = System.getProperties();
    props.put("myProperty", "myValue");
    props.put("bea.home", "E:\\bea");
    props.put("weblogic.Domain", "mydomain");
    props.put("weblogic.Name", "myserver");
    props.put("java.security.policy",
    "E:\\bea\\wlserver6.0\\lib\\weblogic.policy");
    System.setProperties(props);
    weblogic.Server.main(args);
    Make sure you run this from E:\bea\wlserver6.0., as it tries to read config.xml
    config\[your-domain-name] from this
    directory.
    Kumar
    Robert Patrick wrote:
    import java.util.Properties;
    public class StartMyWebLogicServer
    public static void main(String[] args)
    Properties props = System.getProperties();
    props.put("myProperty", "myValue")
    System.setProperties(props);
    weblogic.Server.main(args);
    gmo wrote:
    That won't work since it has to be 'outside' of the code. It's a service, and
    services are started when weblogic is started up, not when I call a bean.
    And it has to be dynamic, since the properties will vary on evry installation.
    Robert Patrick wrote:
    You can also use System.setProperty() or a combination of
    System.getProperties() followed by a System.setProperties()...
    gmo wrote:
    They are not normal system properties. I'm using some open source code, and
    it requires settings to be system properties, but they are specific to the
    application, which means that they are not already in the system
    properties. I know how to get them, and after some more research, you can
    set them on the command line when starting up weblogic. However, is this
    the best way to set system properties?
    Robert Patrick wrote:
    What "system properties" are you trying to find?
    gmo wrote:
    I am setting WL6.0 up to have a startup class, but this class needs to
    read system properties which have not yet been set. How do I set these
    up within weblogic? I was able to get the startup class set up, but it
    needs these system properties to continue.
    gmo
    Dimitri

  • How to dynamically changes items properties

    How to dynamically changes items properties likes position order in tabular view, width, prompt

    Many object properties can be set programmatically at runtime. For example, each window object has a Visible property that can be set to either Yes or No to show and hide the window. At runtime, you can call the built-in procedure SET_WINDOW_PROPERTY to show or hide the window dynamically, as shown here:
    Set_Window_Property('my_window',VISIBLE, PROPERTY_ON);
    The following built-in procedures are available for setting object properties at runtime:
    -     SET_BLOCK_PROPERTY
    -     SET_CANVAS_PROPERTY
    -     SET_FORM_PROPERTY
    -     SET_ITEM_PROPERTY
    -     SET_LOV_PROPERTY
    -     SET_MENU_ITEM_PROPERTY
    -     SET_PARAMETER_ATTR
    -     SET_RADIO_BUTTON_PROPERTY
    -     SET_RECORD_PROPERTY
    -     SET_RELATION_PROPERTY
    -     SET_VIEW_PROPERTY
    -     SET_WINDOW_PROPERTY
    The built-in procedure SET_ITEM_PROPERTY can be used to set the properties of any type of item, including buttons, text items, check boxes, radio groups, etc.
    Note: Radio group items include individual radio buttons; use SET_ITEM_PROPERTY to set the properties of the radio group, and SET_RADIO_BUTTON_PROPERTY to set the properties of the individual buttons in the group.
    Each built-in SET procedure has a corresponding GET function that allows you to programmatically determine the current setting of an object's properties. The following example uses GET_WINDOW_PROPERTY to determine if a window is currently hidden (VISIBLE = FALSE). If the window is hidden, SET_WINDOW_PROPERTY is called to show the window.
    If Get_Window_Property('my_window',VISIBLE) = 'FALSE' THEN
    Set_Window_Property('my_window',VISIBLE,PROPERTY_ON);
    To determine if a particular property can be set programmatically, refer to the property descriptions in online Help.

  • Do you have to Discovery ALL the Properties defined on a Class before an instance of said class will be created

    Hello
    I am learning how to create management packs with VSAE and have a question please.
    When defining a Class based on LocalApplication (which I believe already has a hosting relationship with Windows Computer and therefore no need to create a hosting relationship?)
    let say I define two properties one called Version and the other Vendor both based on registry values, so I include the discovery of these regsitry values in my discovery (along with the regsitry key exists to check the actual app is installed).
    Now if I have a Server with only two of the above three registry items created e.g. the actual Key and Version string value but not vendor string value. Will an instance of the Class be discovered and thereby viewable in the 'discovered inventory' view?
    Or do ALL properties have to be present (as defined on the class definition) for an instance of said class to be created?
    Thank you
    AAnotherUser__
    AAnotherUser__

    Hello Vladimir thanks for taking the time to reply
    So if I have three properties definded on my custom class, none of which are key properties and I only discover two of them (as the registry key or what ever is missing for the last property) the class should still be discovered as there are no key properties
    for the custom class and therefore no key properties missing from the discovery, is that correct please?
    Also I understand I have to Discover any key properties of the classes parent/s
    for example
     <InstanceSettings>
        <Settings>
          <Setting>
            <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
            <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
          </Setting>
         <Setting>
            <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
            <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
          </Setting>
        </Settings>
    I have done this, but my Class is not being discovered.
    Then I saw a post which had the following, under the Class Discovery Section (along with the other properties of the class)
     <Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
    Therefore perhaps I need to add this as a property as well as an InstanceSetting?
    I am using SCOM 2007 R2 at the moment
    Thanks very much
    AAnotherUser__
    AAnotherUser__

  • Is contextInitialized() blocked from setting System properties?

    A certain 3rd party app we're using within a web app requires a specific System
    property be set. Since it's a local path, we'd like to shy away from hardcoding
    a -D into the startup script, and instead do it via a ServletContextListener and
    set the property within contextInitialized(). In WL7.0sp2, it seems to hit the
    line in our listener where it tries to set a System property, and nothing happens.
    It doesn't seem to throw an exception, write anything to the console, nothing.
    Is there a security setting that blocks contextInitialized() methods from setting
    System properties? Is it a WL thing, or maybe a servlet spec thing? It works
    if we use a dummy servlet set to pre-load, where we set the System property in
    the servlet's init() method, but that's a little tackier than doing it in one
    single context init listener.

    Turns out the context-param that I was trying to use as the value of the System
    property was null. When it sets a non-null value, it works. But apparently when
    the value of the System property is null, you get the weird behaviour described
    below: it's as if the tread just stops. I tried setting a breakpoint and stepping
    through, but it immediately went into weblogic security and threading classes
    and never returned. So now I'll have a new question about when context-params
    load during deployment, but I'll post that separately.
    "Mark Griffith" <[email protected]> wrote:
    I don't know of any restriction. Your saying it never sets it? The
    app
    deploys but it is not there in the system properites?
    Have you tried setting a break point and stepping?
    Very strange.
    mbg
    "dave thompson" <[email protected]> wrote in message
    news:3ecac0f8$[email protected]..
    A certain 3rd party app we're using within a web app requires a specificSystem
    property be set. Since it's a local path, we'd like to shy away fromhardcoding
    a -D into the startup script, and instead do it via aServletContextListener and
    set the property within contextInitialized(). In WL7.0sp2, it seemsto
    hit the
    line in our listener where it tries to set a System property, and nothinghappens.
    It doesn't seem to throw an exception, write anything to the console,nothing.
    Is there a security setting that blocks contextInitialized() methodsfrom
    setting
    System properties? Is it a WL thing, or maybe a servlet spec thing?It
    works
    if we use a dummy servlet set to pre-load, where we set the Systemproperty in
    the servlet's init() method, but that's a little tackier than doingit in
    one
    single context init listener.

  • Setting system properties: difference between "-D" and "System.setProperty"

    Hi.
    I have a program that relies on the jogl library to display graphics. Internally, jogl loads a native library from disk, with a System.loadLibrary() call. In turn, loadLibrary searches the paths in the system property "java.library.path" to find the jogl DLL/SO files. So, it is my responsibility to ensure that the "java.library.path" property is correctly set.
    There are two ways that I know of to set system properties: as an argument to the JRE via the "-D" option and from within an application with the System.setProperty method. However, I have noticed that only the former gives the desired behavior. That is, if I do:
    java -Djava.library.path=lib MyProgram{code}
    the code in jogl.jar is able to successfully find and load the native libraries in lib/, but if I do:
    {code:java}System.setProperty("java.library.path", "lib");{code}
    at the beginning of main in my program (before the classes requiring jogl are loaded), I end up with an UnsatisfiedLinkError.
    Why does this happen? Why do the 2 methods produce different results? Is specifying native library paths on the command line the only way to ensure that they are found?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    See the [System Properties Tutorial|http://java.sun.com/docs/books/tutorial/essential/environment/sysprop.html] section on "Writing System Properties" which says:
    Warning: Changing system properties is potentially dangerous and should be done with discretion. Many system properties are not reread after start-up and are there for informational purposes. Changing some properties may have unexpected side-effects.
    Also see the [setting java.library.path property in java code|http://forums.sun.com/thread.jspa?threadID=627890] thread in the JNI forum.

  • Dynamically Set Subreport Background Color to the Same Value as Main Report Background Color

    I have a report that contains a subreport.  The main report has groupings in it.  I am dynamically setting the background color of the group rows based on an expression.  That part is working fine.  The problem that I am having is that
    I don't know how to get the subreport to "inherit" the background color of the grouping that holds it.
    Basically, I have different row shadings on my report differentiating the groupings except for the rows where the subreport shows.
    How do I go about setting the subreport background color to equal it's contaiing grouping's background color?  Thanks in advance for any and all assistance provided.

    The parameter method given by gpshukla will send the info to the subreport, but you don't need the color parameter in the main report, only the subreport. The trick is in setting the value of that parameter.
    Right-click the cell with the embedded subreport, you can select subreport properties.
    Select Parameters and add a parameter.
    The name column is the name of the parameter in the subreport (color) and value is the value to set it to.
    Set name to "color" (no quotes).
    Set Value to the same expression used to set the background color for the row.
    In the subreport, click the design surface to select the report (not header or footer).
    In the properties pane, select background color and choose expression from the dropdown.
    Type =Parameters!color.Value into the expression builder.
    This will work assuming that background color in the main report row will not change without also refreshing the subreport.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Setting portlet properties on different pages

    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

Maybe you are looking for

  • Acrobat 7 prof and windows 8.1

    Hi to all, I have used this programe for years now, and do not require an updated version - as for me it does a great job....that is until Windows 8 updated to 8.1 and now I cannot open the programe. It reads... Unable to open application. Error (0xc

  • I had a picture in my log in screen and it disappeared. How can I retrieve it?

    I had a picture in my log in screen and it disappeared. How can I retrieve it?

  • Dbms_stats Error from Enterprise Manager

    A job is scheduled to do dbms_stats on a 10g R2 In the PL/SQL Block it has: begin exec dbms_stats.gather_schema_stats ( ownname => 'myTest', options => 'GATHER', estimate_percent => dbms_stats.auto_sample_size, method_opt => 'for all columns size aut

  • IPad 2 gains battery life after reset.....

    Funny thing, I hard reset my iPad 2 and gained 5 percent battery life...from 90 to 95. Is this a bug?

  • LoadXML external XML

    Hello everybody, Question, How I can load the external xml file data in the form. For examle I have owned a dropdown list box that contains the following give: A, B, C. And then I have fields in my form: TextField1, TextField2,textField3. By changing