How to set Value Attribute (under valu node) at run time

Hi,
This is my View context.
wbsElement (Value Attribute of Type String)
This is my Component Controller Context.
Project_info  (Value node)->Wbs_Info (Value Node)-WBS(Value Attribute).
Initially I want to set some dummy values to wbsElement(view attribute),sothat I can show that in drop downby key.
On selecting of wbsElement I want to pass the selected value to component controllers ValueAttribute - WBS (this Value attribute is under 2 nodes-see the structure I've given).
I tried this way which is not working fine.
    IWDNodeElement element = wdContext.createWBSElement();
     wdContext.nodeWBS().addElement(element);
    wdContext.currentWBSElement().setWBS(wbsElement);
Can anyone tell me which is the correct way to do this?
This is very urgent.plz help me in this.Thankx in advance.
Regards,
Karthick

Hi Karthick,
   try this code.
IPublic<compcontrolllername>.IWbc_infoElement  obj  =         wdThis.wdGet<Componentcontrollername>Controller().wdGetContext().createWbc_infoeElement();
obj.setWBS(wdcontest.currentContestElement.getwbsElement());
wdThis.wdGet<Componentcontrollername>Controller().wdGetContext().nodeWbc_infoElement().addelement(obj);
set the cardinality of Project_info to 1:n or 1:1
test this one
if you find any problem let em know
regars
Naidu

Similar Messages

  • How to set the number of records displayed at run time

    Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!

    Bookmark Go to End
    goal: How to vary the number of records displayed in a block
    programmatically
    fact: Oracle Forms Developer
    fix:
    Block property 'Number of Records Displayed' can not be changed during runtime
    using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
    the visual appearance of the form so that it creates effect of changing this
    property. To achieve such an effect follow these steps:
    1. in Forms Builder, in the multirecord block define the new set of items.
    The simplest way is to copy/paste the original item and rename created item.
    2. set properties of these new items so that they are the same as the properties
    of the original items. If these new items were copied from original items
    then properties are already the same. Modify following properties
    'Database item' on new items to value 'No'
    'Synchronize with item' to the value of the original item
    'Number of Items Displayed' to desired value.
    'Visible' to 'No'
    In other words, these new items are mirrors of original items.
    3. code event, which is meant to trigger the change in block appearance.
    This code should use SET_ITEM_PROPERTY built-in to set properties
    like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
    to desired value for items which are about to be displayed, then
    move cursor to one of these just displayed items with GO_ITEM built-in
    and then hide the previously displayed items.
    Example:
    Assume that the block is built on SCOTT.DEPT schema. Following will
    change the set of displayed items
    set_item_property('dept.mdeptno',visible,property_true);
    set_item_property('dept.mdname',visible,property_true);
    set_item_property('dept.mloc',visible,property_true);
    set_item_property('dept.mdeptno',enabled,property_true);
    set_item_property('dept.mdname',enabled,property_true);
    set_item_property('dept.mloc',enabled,property_true);
    set_item_property('dept.mdeptno',update_allowed,property_true);
    set_item_property('dept.mdname',update_allowed,property_true);
    set_item_property('dept.mloc',update_allowed,property_true);
    set_item_property('dept.mdeptno',navigable,property_true);
    set_item_property('dept.mdname',navigable,property_true);
    set_item_property('dept.mloc',navigable,property_true);
    go_item('dept.mdeptno');
    set_item_property('dept.deptno',visible,property_false);
    set_item_property('dept.dname',visible,property_false);
    set_item_property('dept.loc',visible,property_false);
    Regards,
    Monica

  • How to set proxy authentication using java properties at run time

    Hi All,
    How to set proxy authentication using java properties on the command line, or in Netbeans (Project => Properties
    => Run => Arguments). Below is a simple URL data extract program which works in absence of firewall:
    import java.io.*;
    import java.net.*;
    public class DnldURLWithoutUsingProxy {
       public static void main (String[] args) {
          URL u;
          InputStream is = null;
          DataInputStream dis;
          String s;
          try {
              u = new URL("http://www.yahoo.com.au/index.html");
             is = u.openStream();         // throws an IOException
             dis = new DataInputStream(new BufferedInputStream(is));
             BufferedReader br = new BufferedReader(new InputStreamReader(dis));
          String strLine;
          //Read File Line By Line
          while ((strLine = br.readLine()) != null)      {
          // Print the content on the console
              System.out.println (strLine);
          //Close the input stream
          dis.close();
          } catch (MalformedURLException mue) {
             System.out.println("Ouch - a MalformedURLException happened.");
             mue.printStackTrace();
             System.exit(1);
          } catch (IOException ioe) {
             System.out.println("Oops- an IOException happened.");
             ioe.printStackTrace();
             System.exit(1);
          } finally {
             try {
                is.close();
             } catch (IOException ioe) {
    }However, it generated the following message when run behind the firewall:
    cd C:\Documents and Settings\abc\DnldURL\build\classes
    java -cp . DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) at java.net.URL.openStream(URL.java:913) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    I have also tried the command without much luck either:
    java -cp . -Dhttp.proxyHost=wwwproxy -Dhttp.proxyPort=80 DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.yahoo.com.au/index.html
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.URL.openStream(URL.java:1009) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    All outgoing traffic needs to use the proxy wwwproxy (alias to http://proxypac/proxy.pac) on port 80, where it will prompt for valid authentication before allowing to get through.
    There is no problem pinging www.yahoo.com from this system.
    I am running jdk1.6.0_03, Netbeans 6.0 on Windows XP platform.
    I have tried Greg Sporar's Blog on setting the JVM option in Sun Java System Application Server (GlassFish) and
    Java Control Panel - Use browser settings without success.
    Thanks,
    George

    Hi All,
    How to set proxy authentication using java properties on the command line, or in Netbeans (Project => Properties
    => Run => Arguments). Below is a simple URL data extract program which works in absence of firewall:
    import java.io.*;
    import java.net.*;
    public class DnldURLWithoutUsingProxy {
       public static void main (String[] args) {
          URL u;
          InputStream is = null;
          DataInputStream dis;
          String s;
          try {
              u = new URL("http://www.yahoo.com.au/index.html");
             is = u.openStream();         // throws an IOException
             dis = new DataInputStream(new BufferedInputStream(is));
             BufferedReader br = new BufferedReader(new InputStreamReader(dis));
          String strLine;
          //Read File Line By Line
          while ((strLine = br.readLine()) != null)      {
          // Print the content on the console
              System.out.println (strLine);
          //Close the input stream
          dis.close();
          } catch (MalformedURLException mue) {
             System.out.println("Ouch - a MalformedURLException happened.");
             mue.printStackTrace();
             System.exit(1);
          } catch (IOException ioe) {
             System.out.println("Oops- an IOException happened.");
             ioe.printStackTrace();
             System.exit(1);
          } finally {
             try {
                is.close();
             } catch (IOException ioe) {
    }However, it generated the following message when run behind the firewall:
    cd C:\Documents and Settings\abc\DnldURL\build\classes
    java -cp . DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615) at java.net.URL.openStream(URL.java:913) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    I have also tried the command without much luck either:
    java -cp . -Dhttp.proxyHost=wwwproxy -Dhttp.proxyPort=80 DnldURLWithoutUsingProxy
    Oops- an IOException happened.
    java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.yahoo.com.au/index.html
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.URL.openStream(URL.java:1009) at DnldURLWithoutUsingProxy.main(DnldURLWithoutUsingProxy.java:17)
    All outgoing traffic needs to use the proxy wwwproxy (alias to http://proxypac/proxy.pac) on port 80, where it will prompt for valid authentication before allowing to get through.
    There is no problem pinging www.yahoo.com from this system.
    I am running jdk1.6.0_03, Netbeans 6.0 on Windows XP platform.
    I have tried Greg Sporar's Blog on setting the JVM option in Sun Java System Application Server (GlassFish) and
    Java Control Panel - Use browser settings without success.
    Thanks,
    George

  • How to create and add an XML node at run time ?

    Hello and thanks to All of You i've been learning a lot since i use this forum..
    I'm having another problem, !!! i would like that my executeShape function insert a new XMLChildnode called "adverts"  to my Pages:XML via the evenListener of the execute_bt. I tryed copying the nodes and it works but it copy a blank "adverts" node in betwen each node copied. so i tryed with appendChild, but it works only once, then it say error. so i tryed with inserChildafter or inserChildbefore but this one doesnt work at all because "advert" doesnt exist. I understand why all my suggestions does'nt work (copied or append or insertchild), but i dont figure out how to get what i want . i love AS but im no advance in enought..
    My XML structure that I want is quite simple : i just want that every time I press the execute_bt, a new "adverts" is added to the Pages XML
    <Pages>
      <page id="Page1">
        <adverts>
          <adfile>Null</adfile>
          <adwidth>1</adwidth>
          <adheight>50</adheight>
          <adposx>514</adposx>
          <adposy>200</adposy>
        </adverts>
       <adverts>
           <adfile>Null</adfile>
           <adwidth>1</adwidth>
           <adheight>50</adheight>
           <adposx>514</adposx>
           <adposy>200</adposy>
         </adverts>
      </page>
    </Pages>
    Here is the code of the clip:
    execute_bt.addEventListener(MouseEvent.MOUSE_UP,executeShape);
    var _adWidth:uint=uint(Adwidth.text);
    var _adHeight:Number=Number(Adheight.text);
    var _adFileName:String=String(adFileName.text);
    var _adpage:String=String(PageInstanceName.text);
    var _adPosx:Number;
    var _adPosy:Number;
    var _adArrayID:int;
    var currentColor:Number;
    var i:int=0;
    var element:int=0;
    var Pages:XML=<Pages />;
    Pages.page = <page />;
    Pages.page.@id=_adpage;
    var boldText:TextFormat = new TextFormat();
    with (boldText) {
        font="Verdana";
        size=10;
        color=0xFFFFFF;
        bold=false;
        multiline=true;
    function executeShape(evt:MouseEvent):void {
        _adArrayID=i;
        currentColor=Adcolor.selectedColor;
        var Container:MovieClip= new MovieClip();
        Container.name=adFileName.text;
        Container.id=_adArrayID;
        var gr:Graphics=Container.graphics;
        gr.lineStyle();
        gr.beginFill(Adcolor.selectedColor, 2);
        gr.drawRect(0,0,(uint(Adwidth.text)*70),Number(Adheight.text)*1.68);
        gr.endFill();
        var Lbl:TextField = new TextField();
        Lbl.x=Lbl.y=1;
        Lbl.autoSize=TextFieldAutoSize.LEFT;
        Lbl.multiline=Lbl.wordWrap=true;
        Lbl.width=(uint(Adwidth.text)*65);
        Lbl.text=String(adFileName.text);
        Lbl.setTextFormat(boldText);
        var btn:Sprite=new CreateRoundRectButton(20,20,5,0,0xFFFFFF,"X",0xFF0000);
        btn.name="delete";
        btn.x=9;
        btn.y=50;
        addChild(Container);
        Container.x=514;
        Container.y=200;
        Container.addChild(Lbl);
        Container.addChild(btn);
        index.text=String(Container.id);
        file.text=String(Container.name);
        widht.text=String(uint(Adwidth.text));
        heigth.text=String(Number(Adheight.text));
        posx.text=String(Container.x);
        posy.text=String(Container.y);   
        Pages.page.appendChild(<adverts />);
       Pages.page.adverts.appendChild(<adfile />);
        Pages.page.adverts.appendChild(<adwidth />);
        Pages.page.adverts.appendChild(<adheight />);
        Pages.page.adverts.appendChild(<adposx />);
        Pages.page.adverts.appendChild(<adposy />);
        Pages.page.adverts.adfile=String(Container.name);
        Pages.page.adverts.adwidth=String(uint(Adwidth.text));
        Pages.page.adverts.adheight=String(Number(Adheight.text));
        Pages.page.adverts.adposx= String(Container.x);
        Pages.page.adverts.adposy=String(Container.y);
       //var templist:XMLList= Pages.page.adverts.copy();
        //templist[0].adfile = String(Container.name);
        //templist[0].adwidth = String(uint(Adwidth.text));
        //templist[0].adheight = String(Number(Adheight.text));
        //templist[0].adposx = String(Container.x);
        //templist[0].adposy = String(Container.y);
        //Pages.page.appendChild(templist);
        //Pages.page.insertChildAfter(Pages.page.adverts[0], templist);
        trace(Pages);
        btn.addEventListener(MouseEvent.CLICK, deleteme, false, 0, true);
        Container.addEventListener(MouseEvent.MOUSE_DOWN,StartDrag);
        Container.addEventListener(MouseEvent.MOUSE_UP,StopDrag);
        i++;

    Sorry , i Found the solution......:
    var Pages:XML=<Pages />;
    Pages.page = <page />;
    Pages.page.@id=_adpage;
    var boldText:TextFormat = new TextFormat();
    with (boldText) {
        font="Verdana";
        size=10;
        color=0xFFFFFF;
        bold=false;
        multiline=true;
    function executeShape(evt:MouseEvent):void {
        _adArrayID=i;
        currentColor=Adcolor.selectedColor;
        var Container:MovieClip= new MovieClip();
        Container.name=adFileName.text;
        Container.id=_adArrayID;
        var gr:Graphics=Container.graphics;
        gr.lineStyle();
        gr.beginFill(Adcolor.selectedColor, 2);
        gr.drawRect(0,0,(uint(Adwidth.text)*70),Number(Adheight.text)*1.68);
        gr.endFill();
        var Lbl:TextField = new TextField();
        Lbl.x=Lbl.y=1;
        Lbl.autoSize=TextFieldAutoSize.LEFT;
        Lbl.multiline=Lbl.wordWrap=true;
        Lbl.width=(uint(Adwidth.text)*65);
        Lbl.text=String(adFileName.text);
        Lbl.setTextFormat(boldText);
        var btn:Sprite=new CreateRoundRectButton(20,20,5,0,0xFFFFFF,"X",0xFF0000);
        btn.name="delete";
        btn.x=9;
        btn.y=50;
        addChild(Container);
        Container.x=514;
        Container.y=200;
        Container.addChild(Lbl);
        Container.addChild(btn);
        index.text=String(Container.id);
        file.text=String(Container.name);
        widht.text=String(uint(Adwidth.text));
        heigth.text=String(Number(Adheight.text));
        posx.text=String(Container.x);
        posy.text=String(Container.y);   
        var adverts:XML= new XML;
        adverts=<adverts />;
        adverts.adfile=<adfile />;
        adverts.adwidth=<adwidth />;
        adverts.adheight=<adheight />;
        adverts.adposx=<adposx />;
        adverts.adposy=<adposy />;
        adverts.adfile=String(Container.name);
        adverts.adwidth=String(uint(Adwidth.text));
        adverts.adheight=String(Number(Adheight.text));
        adverts.adposx= String(Container.x);
        adverts.adposy=String(Container.y);
        Pages.page.appendChild(adverts);
        trace(adverts);
        btn.addEventListener(MouseEvent.CLICK, deleteme, false, 0, true);
        Container.addEventListener(MouseEvent.MOUSE_DOWN,StartDrag);
        Container.addEventListener(MouseEvent.MOUSE_UP,StopDrag);
        i++;

  • Access a value attribute under a value node

    Hi guys,
    Could you please help me on this one. I need to access value attributes that are under a value node?. I use the following codes and I always have the error "java.lang.NullPointerException ".
    1) wdThis.wdGetContext().currentMyValueNodeElement().getMyAttribute();
    2) wdContext.currentMyValueNodeElement().getMyAttribute();
    Thanks in advance
    Franck

    HEre is an example where I'm pulling a value from a value attribute where the Node is a table.  "Ytdsl" is the actual value attribute name.
              //      Get the total  from the last line of the table
              String sx =
                   wdContext
                        .nodeChannelList()
                        .getElementAt((wdContext.nodeChannelList().size() - 1))
                        .getAttributeValue("Ytdsl")
                        .toString();
    Regards,
    Rich Heilman

  • How to get zclass attribute's value inside  "Execute_default" method

    Hi all,
    I am displaying a link in UD step under "Objects & Attachmnents".I am using zclass. I created a attribute in zclass and i am creating a instance (background task) before this UD step and i will be setting a attribute of the zclass inside this create instance method.
    My problem is, if i click the link, this method "BI_OBJECT~EXECUTE_DEFAULT_METHOD" is getting executed but i am not able to get the attribute value inside this method, eventhough i am setting the attribute value before the UD step.
    Pls let me know, how to get the attribute's value inside "Execute_default" method, as i need to process further using this attribute.
    P.S: I tried with both static & instance attribute. I can achieve the same using ZBO but my client needs to use only class.
    -Vinoth
    Edited by: S Vinoth on Jan 29, 2010 7:23 AM

    Lei,
    If you are concerned only about a couple of attributes, then you can manage with a separate copy of the data. But if the data is in bulk, better leave it to pl/sql side of validation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to set an attribute while creating an XML?

    Hi All,
    I am required to create an XML in the following manner :
    here  <ITEMS ITEMCOUNT="2"> where ITEM is an element and itemcount=2 is the attribute which means their are 2 line items
    - <HEADER>
      <PR_NO>sap pr no</PR_NO>
      <REVISION_NO>0</REVISION_NO>
       </HEADER>
    - <ITEMS ITEMCOUNT="2">
    - <ITEM>
      <PR_LINE_NO>1</PR_LINE_NO>
      <ITEM_DESCRIPTION>Security Locks</ITEM_DESCRIPTION>
      </LOCATIONS>
      </ITEM>
    </items>
    Please suggest how to set the attribute ITEMCOUNT?
    Thanks,
    Lina

    I am also trying to do something similar to this.  I tried the suggestion given but it still only allows 1 parameter.  A snippet of my .icd file is below.
    Attribute (ROI Settings) {
    Value (Integer) {
    Min (0)
    Max (79)
    Increment (1)
    Display {
    Multiplier (8.000000)
    Offset (0.000000)
    Precision (0)
    Units (Pixel)
    Default (0, 0, 0, 0)
    Current (0, 0, 0, 0)
    Action (Serial) {
    Command (ROI %d, %d, %d, %d\r)
    Response ()
    Timeout (1000)
    Delay (100)
    Any answer or help is appreciated.
    Thanks,
    Bruce

  • How to set two attributes as  a primary key in database ?

    how to set two attributes as a primary key?
    Take COffeesbreak as an example ,
    let's suppose that there are cof_name ,sup_id,price and so on;
    the same cof_name may be suplied by more sup_ids,
    and one sup_id may suply more cof_names.
    so the Primary key should be set the cof_name and sup_id ,
    how to set ?
    (of course that i konw if I set a cof_id,the problem will be easy work out
    but now there are those like above)
    I set that as following:
    create table coffees (cof_name VARCHAR(32) PRIMARY KEY,sup_id INTEGER, PRIMARY KEY,PRICE INTEGER )
    THE database print error :cant add more primary keys!
    thanks in advance

    You can only use the PRIMARY KEY declaration on a column if it is the only Primary Key column.
    Use the PRIMARY KEY constraint statement instead.
    create table coffees (
      cof_name VARCHAR(32),
      sup_id INTEGER,  
      PRICE INTEGER,
      PRIMARY KEY ( cof_name ,sup_id )
    )Dave

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • How to set IIS for Applet making it can run at any IE client.

    I made an applet with java. It works fine under JDK.
    After that, I made a web page with the applet embedded in.
    But it can only run on those client computers if the computers has installed JDK.
    Could you tell me how to set IIS so that my applet can run on all the client computers no matter whether they have JDK installed or not?

    It would have nothing to do with IIS. Your applet apparently requires a "newer" version of Java than what comes with the browser by default. So either make your applet comply with the lowest common denominator (no Swing classes, only AWT, for example), or require your clients to install the newer Java plugin.

  • How to pass a variable to a procedure at run time

    Hi All,
    Can anyone give me a brief on how to pass a value to a ODI procedure at run time using option utility in ODI 11g.
    Thanks in advance.
    Regards,
    Sreedhar S.

    First method of doing :
    Simply add anew option to your procedure and then just assign the ODI variable you have created as the value for the option the in your jython code reference the option using the following ODI API method: <%=odiRef.getOption("OPTION_NAME")%>
    Second way of doing :
    Put the procedure in a package. Go to option tab. Assign a variable to the option. You can declare the variable in the package and pass the value in variable while execution.

  • HOWTO: Control Printer Attributes for a Report at Run Time Reports 6i

    HOWTO: Control Printer Attributes for a Report at Run Time
    Like page width , height etc
    my problem is i had installed a printer and it is set for
    printing different reports ( like invoice slips , legal size ,
    A3 etc ) each time i have to manually set the page settup from
    printer folder .instead if there is an option to set the printer
    attributes from Reports 6i it is great
    rajesh

    All the Printer Setup(Page Height and Page Width) must be set in
    the Reprot Program. These can be set at the Layout-Main Section
    in the Object Navigator.
    hth

  • How to increase RAM & Hard Disk a form at run time can use?

    Question: How to increase RAM & Hard Disk a form at run time can use?
    Explanation:
    I have a problem with a form at run-time. I guess this is due to shortage of RAM/Hard Disk. I want to increase these things so that the form can use more RAM/Hard Disk and it does not crash/cancel. The reason is that when I change/toggle TOOL --> Preferences --> Runtime, Buffer Records and Array Processing parameters, the problem is rectifies intermittantly. That is there is no fix combination of above-mentioned parameters to rectify the problem. After lot of attempts, it gets resolved but only temporarily. Next time I have to modify the form, I get the same problem.
    Please help.

    I am still waiting for an answer to the above question.
    May be Oracle Corp. or anyabody, please guide.
    M. Tariq

  • How to set a attribute value of a sub node binded to a table.. pls respond.

    Hi friends,
    I have context defined like this.
         Head_node ( table 1)
              Item_node ( table 2, sub node ).  ( now this im saving in global internal table).
    so now when i hit save button, im passing my internal table (it has col1- sales order no, col2 item details(table type, which can have more than one record) to a FM, to create sales order.
    My sales order is getting saved.
    But the function module will return some new values (like sales order number, item number etc).
    Now i want these values to be updated in my context.
    Meaning whenever after that i do get_attribute, i should get these new (sales order no, item no ) also.
    I dont know how to set the context values of sub nodes , so im missing these values.
    kindly respond back to me..
    thanks in advance,
    Niraja

    Its very simple.
    Follow these steps. e.g you want to get the new sales order number. Define a attribute in ur node (or set of attributes in ur case as per reqruirement) say new_so_number.
    Check your FM, if its returning new_so_number then it's fine, otherwise you have to change the FM to return the new_so_number or you have to get from db table somehow, which best suites your req.
    So once you have new_so_number after calling the FM, say in lv_new_so_number field. Then write this code to set the attribute (change the variables as per your context attributes)
    DATA lo_nd_head TYPE REF TO if_wd_context_node.
      DATA lo_el_head TYPE REF TO if_wd_context_element.
      DATA ls_head TYPE wd_this->element_head.
      DATA lv_new_so_number LIKE ls_head-new_so_number.
    * navigate from <CONTEXT> to <HEAD> via lead selection
      lo_nd_head = wd_context->get_child_node( name = wd_this->wdctx_head ).
    * get element via lead selection
      lo_el_head = lo_nd_head->get_element(  ).
    lv_new_so_number = new_so_number. " (You got this as a exporting parameter of FM etc..)
    * get single attribute
      lo_el_head->set_attribute(
        EXPORTING
          name =  `NEW_SO_NUMBER`
          value = lv_new_so_number ).
    Hope it works.

  • Difference between value attribute and value attribute under Node in contex

    I have very basic question..it might be very simple but it is giving me a problem.
    I have created one Node name "Input" and value attribute "Input1" under it.
    I have just created one more value attribute named "in1" not under any Node.
    I have created two input filed in the my view.One first I have mapped the value in properties
    to variables "Input.Input1" and on another "in1".
    When I deploy and run the application one Input box is coming as readonly and other is working fine .Will anybody tell me why it is so?

    There is no major difference between value attribute and inside a node.
    It is a separation of attributes. Usually all the attributes belongs to same purpose will create in one value node. Like, calling one BAPI - requestListBAPI - it contains all the bapi related value attributes.
    For your question, one field is read only(Input.Input1), bcz that context is not created. see the context properties.....cardinality will be 0..n. Change the cardinality to 1...n (<b>or</b>) create that context element .
    In your implementation create that value node like this in your init method.
    wdContext.createInputElement();
    It will solve your problem.
    in1 - is a value attribute, which is mapped to your input element. It wont have any problem.
    Regards,
    Sri

Maybe you are looking for

  • Installation issues on Windows 2003, Xeon processor and Oracle 9.2 (64 bit)

    Hi all, I am using a xeon 4 CPU machine with Windows 2003 (64 bit). I just downloaded Oracle 9.2 (64 bit) and found that it needs Itanium processor. Is this an absolute requirement? Can I still run it on xeon? What are the problems? Mahendra

  • Using dynamic query to create sequence

    Hello, I created the sequence dynamically in a Procedure, but when I executed, it gave me an Insufficient privileges error: SQL> create table dummy (id number, module_id varchar2(20), p_order number, status varchar2(1)); SQL> insert into dummy values

  • Small tablix causes extra page in pdf

    A small tablix causes an extra white page in a pdf. When removing the tablix the white page also disappears. The report is in landscape , first column of the tablix 2,13cm and the repeating column header is 1,2cm. How tall or small i set these proper

  • Custom components and the navigator object

    Hi all, I'm starting on a mobile project which is a ViewNavigator based application. I've created a custom component which contains a button. I'd like the button to be able to use the pushView method however as it's a custom component, it doesn't app

  • InDesign download error

    I have used Adobe download assistant for a trial version of InDesign. The downloads section shows a message "Extracting... this may take a while", and it has been few days that this message is still there. How do I stop this download and reinstall if