Can we get  reference of WD component in custom class of enhanced View cont

Dear Member,
We are enhancing WD component. We need to get a reference of WD component in custom class of enhanced View controller (post exit) so that popups can be triggered or URLs can be called?. How should we get reference of WD component? I need to know cons of our approach.
...Naddy

Hi,
Create one static attribute in your custom class with type ref to of your component and populate this attribute in webdynpro enhancement and then use this reference in your custom class.
Regards,
Pon Murugesh

Similar Messages

  • Can I get a refund on an HD movie I couldn't view on my computer?

    Can I get a refund on an HD movie I couldn't view on my computer?

    There are no refunds.
    Sorry.
    You can try contacting itunes support and asking for an exception.

  • Can't get Lightroom Color Management to select custom profiles

    I can't get Lightroom Color Management to select custom profiles.
    - I select "other" in Profile,
    - a pop-up box shows me numerous profiles to choose from
    - I select a profile and the selection is highlighted
    - I press "OK" and the pop-up box disappears
    - but if I go back to the "Profile" selection line, only "Managed by Printer" is available.
    What's wrong here?
    Is the inability to select a profile the reason that prints from Lightroom look way to dark when I print them?
    Vick

    Oh, I'm on Windows, XP with SP2.
    The profiles are in C:\WINDOWS\system32\spool\drivers\color
    I used the .exe that was provided by Epson for installing the drivers.
    Nothing fancy, nothing different.
    For Lightroom, I installed it off CD, and got the 1.3.1 update off their Adobe site.
    Any clues there, to solve the puzzle?
    Vick

  • Can only get the "Draft" stamp when insert customer stamp with C#+JS

    I am trying to insert customer stamp in batch files with C#+JS.
    My JS works well in Acrobat. However, it doesn't work when use C#+JS. I always get the Acrobat's "Draft" stamp other than my own ones (the AP value is confirmed correct).
    In c#, it runs as this ( with the objectype.InvokeMember())
    1. initial an annotation with addAnnot first and get the properties object with method of getProp().
    2. Set the type entry of the properties object as "Stamp"
    3. With setProp(), modify the annotation to a Stamp annotation, and then get the properties object of the Stamp annotation.
    4. Set the entries (rect, page, AP ) of the properties object. Then use setProp() again to modify the properties of the Stamp annotation.
    The program runs without any error message. But I can only get the default stamp "Draft".
    One thing I found so far, in JS console in Acrobat, if I set the AP properties AFTER set the annotation type to "Stamp", it also get the "Draft" stamp only. as this,
         annot = this.addAnnot();
         prop = annot.getProps();
         prop.type = "Stamp";
         annot.setProps(prop);
         prop = annot.getProps();
         prop.page = 0;
         prop.rect = [0, 0, 100, 100];
         prop.AP = "#xxxxxxxx";
         annot.setProps(prop);
    If I set the prop.Ap before the forth line in above para, I can get the right stamp.
         annot = this.addAnnot();
         prop = annot.getProps();
         prop.type = "Stamp";
         prop.AP = "#xxxxxxxx";
         annot.setProps(prop);
         prop = annot.getProps();
         prop.page = 0;
         prop.rect = [0, 0, 100, 100];
         annot.setProps(prop);
    Or, if I set the props in the typcial JS format like below, I also get the right one
    annot = this.addAnnot({
    type: stamp,
    page: 0,
    rect: [0,0,100,100]
    AP: #xxxxxxxx)});
    But, the problem is, in C#, the AP properties can only be set after set the annotation type as Stamp (step 4). I think this might be the reason, but I don't know how to get over this.
    Please help. Thanks!

    No, it can't – but you could do that yourself as part of the watermarking process (ie. Two watermarks or fields)
    From: santa-satan <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 6 Feb 2012 18:35:19 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Can only get the "Draft" stamp when insert customer stamp with C#+JS
    Re: Can only get the "Draft" stamp when insert customer stamp with C#+JS
    created by santa-satan<http://forums.adobe.com/people/santa-satan> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4190155#4190155

  • Where can I get references about install sap in aix,oracle

    where can I get some references about installation of sap in AIX+ORACLE.      I try to installation sap in AIX, but I encounter many problems,  so I want to have a standard installation reference.     thanks

    Did you look at www.service.sap.com/instguides ?

  • How can I get some help with Verizon's customer service?

    I want to preface this by stating that this is the first time in the 10 years in which I've been a Verizon wireless customer, that I've had a problem that cannot be resolved to my satisfaction.  My issue started with a Verizon Wireless Stores in Bethlehem, PA.  I asked one of the sales clerks for some assistance (which I now regret).  My question to her was that I simply wanted to be able to connect my home laptop computer to the internet data on my mobile plan. Without even discussing the different options, I was "told" I needed to purchase a Mobile Hotspot Device (for $69.99, but just $20 after rebate!).  I told the clerk I didn't want to have to pay an additional bill every month and didn't want something that wasn't absolutely necessary.  She neglected to give me the more costly details, like the fact that it would require a 2 year contract on the device, and it would also cost me an additional $20 per month.  She knew I wasn't really sure what the most cost-effective option was, so I trusted her knowledge.  I even had my husband speak to her over the phone about the device, since he's more savvy about technology than I am.  The clerk spoke with him the entire time she completed my transaction, and when she rang the sale up, she did not have me sign anything.  She handed me the receipts, and told me I had 14 days to decide If I wanted to keep the device.  When I got home and tried to use it, it would not connect to my computer.  I took it to a local Verizon store on my lunch break one day and they looked into the transaction.  They told me it was never put on my account; it was charged to someone else's account in error.  I had to go back to the store where I originally purchased it.  I wasn't able to get back to the original store right away, but I made sure to get there by the 14th day.  It took two store managers to look at my account and figure out the error.  They fixed it, but no one apologized to me for the inconvenience; they simply told me they could activate the device for me, or if I didn't want it any more, they would take it back (minus the $35 restocking fee). I took issue with the restock fee, because the store made the error by not giving me the full information at time of purchase, and then not charging it to my account so that I could try it out for 14 days.  I was very upset that the manager refused to remove the restocking fee due to "policy" and that I "signed a contract" and I had to pay it.  I argued that she should make an exception in this case, because I was inconvenienced.  I told her if she valued my future business at her store, she would reconsider.  She refused to budge and told me that I didn't need to shop in her store any more.  I thought that was quite rude and insulting. So, I took all of my original receipts, along with the receipt that indicated that she refunded the $69.99 plus tax (minus the $35 restock fee).  I left the store quite upset, but figured there wasn't much else I could say to her. Meanwhile, it's days later and my bill still shows the entire amount of $74 for the mobile hot spot device still on there.  There is no credit for the return at all.  I called customer service on my lunch break yesterday, and was on the phone for 45 min with a "Kendra R" to no avail.  The entire call, she kept putting me on hold, and my bill was still not straightened out. When I asked to speak with a supervisor or manager, she said there was no one else available.  Later that afternoon, I got an automated call (that left a voice message) from Verizon Customer Service to do a survey on my customer service experience.  I did the survey and explained that my problem was not resolved and I would like a call back.  No one has called me back yet, and I am stuck with no resolution to my problem.  Now the Verizon store has the device back, and I still have the entire amount for it on my bill.  Can you help me please?

    Nope, it was a Verizon Wireless Store.  I went in there in the first place because I trusted the Company for their professionalism, but I've been let down badly.  I posted my story on here because I'm hoping to be able to get the attention of someone from Customer Service.  It seems like the only way you can actually speak with a live person who knows what they are doing, is when you stop paying your bill on time.  After you pay your bill, they transfer you to a poorly trained "rep" that has no authority to handle anything important. I'm actually a pretty patient person, but when it takes someone over 45 min mostly just to keep me on hold, and then tell me they can't help me, I'm not really impressed with their idea of customer service.

  • How can I get an ucropped image in a Custom Package when using Stroke and/or Border??

    How can I get a picture in a Custom Package that has a Stroke and/or a border and get the image shown fully, and not cropped in one way or other?
    When I add the stroke/border it adds them inside the cell, thereby altering the ratio of the area for the picture inside it, which crops it in some way. How can I get the image to be uncropped?  The controls available seem to all be for the ration of the outside of the cell, but my image is inside the stroke/border and nothing seems to work on it directly ... 
    Many thanks,
    Gary

    Perhaps I misunderstood your requirement.  I have been frustrated by LR print module and labs effectively squeezing individual shots into existing frames. So I have used LR2Mogrify to export (and then re-import) a 'new image' which manages the discrepancy between a crop and a cell of a different aspect ratio by adding padding - usually 'white' - around the image to a canvas corresponding to cell dimensions. Adding stroke borders can be accomplished in Mogrify inside or outside the image.  A custom package, with multiple cell dimensions can be populated with images created in the corresponding aspect ratio(s) for the relevant cells.
    I'm not aware of a way of automating the creation of cells in a page to dimensions which change with the crop as discovered  - drag and drop images onto a blank page creates cells of the same standard size.  

  • Can't get rid of space without the page shifting out of view

    Hello. I've got a big space appearing above my title line in this page. http://www.sarahpellerdesign.com/jordan/schooner.html See how there is a lot of white space above the words "Schooner Adventuress"? So, I went to the code and saw this on line 56:  <p>& n b s p;</p> (put spaces in there, otherwise it won't show up)
    I tried to delete that line and it resulted in the entire page below the nav bar shifting over to the right, so that it is sort of "attached" to the right end of the nav bar. When I preview it in the Chrome browser, it looks like nothing's changed, but it remains shifted to the right in dreamweaver. Unfortunately, in that position, I can't get to the content. It's stuck off the side of the page and I can't scroll over to it.
    Anyone know how to fix this?
    Thanks!

    Hi Sarah -
    Code view is a better place to delete unwanted code precisely. 
    In design view you can accidently remove more than you intended and disrupt your layout.
    You also have some wonky partial table code at the very bottom.
    <table width="850" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>  </tr>
    </table>
    After you remove it, run your URL through the validator at
    http://validator.w3.org/

  • How  can I get the employee code in the customer master

    Hi
    What are the settings that I do so that I can get the employee code in the customer master?
    We want to create a sales order on a employee , we have HR and SD in the same box.
    regards
    Pravin

    Hi
    I tried xd02 it asks me for the customer , ifi click the search icon it opens up the search where thre is a tab named "Customer by Personnel Numbeer" when i try to search it does not show any employees even thoughi havemanyhired in HR
    Please tell me  what i need to do
    regards
    Pravin

  • Can't get Crop Tool to stay in Custom LR4

    I can't get the crop tool to crop in Custom mode. I unlock the lock and set to Custom and relock the lock. As soon as I begin the crop it reverts to Original. I've restarted. Any suggestions? Thanks!!

    Sound's right - you didn't change the aspect ratio before you locked it so it's still at the original aspect ratio.  Just unlock it and start dragging.

  • Can't get onEnterFrame working on MC in a class

    Hi,
    Can anyone take a look at this class file that's in the
    works, and help me understand why the onEnterFrame that's created
    in the startRewind() method is not working?
    Much thanks!

    >>You have to pass the class a target clip
    Not neccesarily. You could just as easily use:
    rewinder_mc =
    _level0.createEmptyMovieClip("rewinder_mc",_level0.getNextHighestDepth());
    But passing a target makes the class more flexible: you can
    pass any movieclip as a target.
    >>because otherwise there's nothing to create a
    movieClip upon?
    createEmptyMovieClip is a method of the MovieClip Class. So
    it needs an instance of a movieclip (which has the properties and
    methods of the MovieClip Class), otherwise the method is
    unavailable.
    >>Why can't you just create the instance of the class
    as a MovieClip and then call createEmptyMovieClip() on itself?
    That's the case when you extend the MovieClip Class and I've
    explained that (or at least tried to...) in my first reply.
    Extending the MovieClip Class requires two things: the custom class
    you write and a movieclip in your fla. With the 'linkage' option
    (Library) you assign the custom class to the movieclip (and you
    can't setup a Linkage identifier for the _root). It's a one-to-one
    relationship so you can't link other classes to the same movieclip.
    If that's the setup you want you need to put your button controls
    in a movieclip (other than the _root) and link the class to the
    movieclip. But, as I said, composition is in almost all cases a
    better setup. Only extend the MovieClip Class if you need all or
    most of the functionality of the MovieClip Class.

  • Can't get the mpeg playback component ($20) to actually download

    I have read hundreds of ways on how to change MPEG2 to dv in order to edit on my mac and come to the conclusion I was going to have to buy this add on and then download Streamclip. Evidently the component did not download right or at least like all my other downloads have. The dmg icon is on my desktop but when I click it all it wants to do is download again and restart my computer. What am I doing wrong. I just have to get all this movie editing figured out and thought this would be my solution. Sorry I am not very technical and would love some help. After 20 years dealing with windows I just love my Mac even with all little downfalls it is actually more dependable at least until now.

    The dmg icon is on my desktop but when I click it all it wants to do is download again and restart my computer.First make sure you have the correct file -- "QuickTimeMPEG2.dmg". If correct, I would then "file info" the icon (i.e., open the "get File Info" window) to make sure "DiskImageMounter" is set as the "Open with" application. If correct and the image file still won't mount a window containing two folders ("For QuickTime 6.3" and "For QuickTime 6.4 and later & Intel Macs" then you can hope it is only a corrupted download. In this case, sign on to the Apple account under which you made the purchase, go to the software purchases area, and download the file again.

  • CS5 - Can't get reference to frame in group

    I'm writing a script to place a caption frame (textFrame) back underneath a graphic frame (Rectangle) after one of them has been manually resized or moved on the page. The frames are grouped. To adjust one of them I simply double click the required frame. When finished, I manually select the graphic frame and start the script to reunite both frames.This generates an error when the script gets to the line that sets the geometricBounds for myCaptionFrameY1: object is not valid.
    If I manually ungroup the frames, the script works just fine.
    I'm confused, because the CS5 Script reference states (page 59) that there is no need to ungroup if you want to change page items in the group (but maybe that doesn't include the textframe).
    //left out the myDoc etc.
    //this is the manually selected graphic frame, constructor=rectangle
    var myImageFrame = app.selection[0];
    //the name has been set in another script that generates the graphic and the caption frame
    var myImageFrameName = myImageFrame.name;
    var myCaptionFrame = myDocument.textFrames.item("cap" + myImageFrameName); //the result (alert) is an object textFrame
    //get the bottom of the graphic frame
    var myImageFrameY2 = myImageFrame.geometricBounds[2];
    //get the top of the caption frame
    //this line generates the error: object is not valid
    var myCaptionFrameY1 = myCaptionFrame.geometricBounds[0];
    //calculate the offset
    var myOffset = myCaptionFrameY1 - myImageFrameY2; 
    //place the caption at the bottom of the graphic
    myCaptionFrame.geometricBounds = [myImageFrameY2, myCaptionFrame.geometricBounds[1], myCaptionFrame.geometricBounds[2]-myOffset, myCaptionFrame.geometricBounds[3]];
    Should I reference the caption frame in another way? Or is in this case an ungroup requiered before I move the caption frame? How could that be accomplished?

    No, the two frames are the ony elements in the group.
    To test your suggestion in a clean environment, I've manually created a new empty document, placed a graphic, drawn a texframe and grouped them. Than I selected the graphic and ran your version of the script. I got the same error on line 4: object is not valid.
    What I don't understand is how you get to the textframe without the name property (that comes partially from the selected graphic frame).

  • How to get reference of application component in anothor component?

    Hello Friends
    I have one problem so plz help me.
    Thanks in advance.
    I have two file one is application and other is component. I have created Dividedbox in application and i put two buttons in component and used component in application. Now i want to change the direction of dividedbox when i click on button. I have written code but not working. Following is my code.
    Application file:  test.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"  xmlns:ns1="*">
        <fx:Script>
            <![CDATA[
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:DividedBox id="plistdvidebox" direction="vertical" width="100%" >
            <s:Group id="grp_rlpart" width="100%" height="100%">
                <s:layout>
                    <s:HorizontalLayout paddingTop="10" paddingLeft="10"> 
                    </s:HorizontalLayout> 
                </s:layout> 
                <s:Label text="Left ot top part"></s:Label> 
            </s:Group> 
            <s:Group id="grp_rrpart" width="100%" > 
                <s:layout> 
                    <s:HorizontalLayout paddingTop="10" paddingLeft="10"> 
                    </s:HorizontalLayout> 
                </s:layout> 
                <s:Label text="right or bottom part" /> 
            </s:Group> 
        </mx:DividedBox> 
        <ns1:tc x="90" y="156"> 
        </ns1:tc> 
    </s:Application> 
    Component File : tc.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">
            <fx:Script>
                <![CDATA[
                    import mx.containers.BoxDirection;
                    protected function btnhr_clickHandler(event:MouseEvent):void
                        var t:test=new test();
                        t.plistdvidebox.direction=BoxDirection.HORIZONTAL;
                    protected function btnvr_clickHandler(event:MouseEvent):void
                        var t:test=new test();
                        t.plistdvidebox.direction=BoxDirection.VERTICAL;
                ]]>
            </fx:Script>
            <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) here -->
            </fx:Declarations>
        <mx:HBox>
            <s:Button id="btnhr" content="HR" click="btnhr_clickHandler(event)" />
                <s:Button id="btnvr" content="VR" click="btnvr_clickHandler(event)" />   
        </mx:HBox>
    </s:Group>
    Plz tell me how to do this?
    plz reply me fast.
    Thanks
    Manjurhusen

    Check this:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7e3a.html

  • How to get change a GUI component from another class?

    Hi there,
    I'm currently trying to change a GUI component in my 'Application' class from my 'Dice' class.
    So the Application class sets up some GUI including a JLabel that initially displays "Change".
    The 'Dice' class contains the ActionPerformed() method for when the 'Change' button (made from Application class) is clicked.
    And it returns an 'int' between 1 and 6.
    Now I want to set this number back int he JLabel from the Application class.
    APPLICATION CLASS
    import javax.swing.*;
    import java.awt.*;
    import java.util.Random;
    import java.awt.event.*;
    public class Application extends JFrame implements ActionListener{
         public JPanel rollDicePanel = new JPanel();
         public JLabel dice = new JLabel("Loser");
         public Container contentPane = getContentPane();
         public JButton button = new JButton("Change");
         public Dice diceClass = new Dice();
         public Application() {}
         public static void main(String[] args)
              Application application = new Application();
              application.addGUIComponents();
         public void addGUIComponents()
              contentPane.setLayout(new BorderLayout());
              rollDicePanel.add(dice);
            button.addActionListener(diceClass);
            contentPane.add(rollDicePanel, BorderLayout.SOUTH);
            contentPane.add(button,BorderLayout.NORTH);
              this.setSize(460, 655);
              this.setVisible(true);
              this.setResizable(false);
         public void changeDice()
              dice.setText("Hello");
         public void actionPerformed(ActionEvent e) {}
    }DICE
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Dice implements ActionListener
         public Dice() {}
         public void actionPerformed(ActionEvent e)
              //super.actionPerformed(e);
              String event = e.getActionCommand();
              if(event.equals("Change"))
                   System.out.println("Will be about to change the 'dice' label");
                   Application application = new Application();
                   application.dice.setText("Hello");
    }

    It's all about references, baby. The Dice object needs a way to communicate with the Application object, and so Dice needs a reference to Application. There are many ways to pass this. In my example I pass the application object directly to Dice, but a better way would use interfaces and some indirection. Look up the Observer pattern for a better way to do this that scales much better than my brute-force approach.
    import javax.swing.*;
    import java.awt.*;
    public class Application extends JFrame // *** implements ActionListener
        // *** make all of these fields private ***
        private JPanel rollDicePanel = new JPanel();
        private JLabel dice = new JLabel("Loser");
        private Container contentPane = getContentPane();
        private JButton button = new JButton("Change");
        // *** pass a reference to your application ("this")
        // *** to your Dice object:
        private Dice diceClass = new Dice(this);
        public Application()
        public static void main(String[] args)
            Application application = new Application();
            application.addGUIComponents();
        public void addGUIComponents()
            contentPane.setLayout(new BorderLayout());
            rollDicePanel.add(dice);
            button.addActionListener(diceClass);
            contentPane.add(rollDicePanel, BorderLayout.SOUTH);
            contentPane.add(button, BorderLayout.NORTH);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setPreferredSize(new Dimension(460, 655));
            pack();
            setLocationRelativeTo(null);
            setVisible(true);
            setResizable(false);
        // *** I'm not sure what this is supposed to be doing, so I commented it out.
        //public void changeDice()
            //dice.setText("Hello");
        // *** ditto.  I strongly dislike making a GUI class implement ActionListeenr
        //public void actionPerformed(ActionEvent e)
        // *** here's the public method that the Dice object calls
        public void setTextDiceLabel(String text)
            dice.setText(text);
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Dice implements ActionListener
        // *** have a variable that holds a reference to your application object
        private Application application;
        private boolean hello = true;
        public Dice(Application application)
            // *** get that reference via a constructor parameter (one way to do this)
            this.application = application;
        public void actionPerformed(ActionEvent e)
            String event = e.getActionCommand();
            if (event.equals("Change"))
                System.out.println("Will be about to change the 'dice' label");
                if (hello)
                    // *** call the application's public method
                    application.setTextDiceLabel("Hello");
                else
                    application.setTextDiceLabel("Goodbye");
                hello = !hello;
                //Application application = new Application();
                //application.dice.setText("Hello");
    }

Maybe you are looking for

  • EJB 3.0 Web Service

    Hi! I tried to create a Web Service (through wizard) from existing EJB 3.0 Session Bean. Basicly, the wizard just added @WebService annotation to my existing code... Now, the problem is that simple methods like: @WebMethod public String helloWorld()

  • I want to use my iPOD only for music.  How do I delete my congtacts and calendar entries?

    I want to use my iPOD Touch only for music.  How do I delete my contact and calendar entires?

  • How to store a file in a database

    Is there an easy way to "put" a file (not just the path to it, but the binary data of it...) in a database ? In other words, do exist any classes to handle a file just like a multipart attachment ? And then, in which kind of database data type is bet

  • How do I sync folders with different files?

    I have two identical folders with identical folder trees example: SCHOOL-1 (root) - Class A - Class B - Class C SCHOOL-2 (root) - Class A - Class B - Class C In SCHOOL-1 folder, I want all my open office files and in SCHOOL-2 folder, I want all my pd

  • Multisim won't allow me to open 2 separate designs simultaneously. How can I fix this?

    I downloaded the Mutlisim 13.0 Trial version first. When the trial period was over I purchased a student license and activated it. Now when I try to open a new design when an existing one is open, the existing design closes. This didn't happen when I