Is method hide depricated??

Hi guys,
I am using this.hide() to hide the Jframe. because i don't know how to unload it while other things are running. It raises a warning of deprication of the hide method. What its replacemnt? and what is a better way to unload a JFrame while others are running?
abdu

Try to invoke setVisible(false) on your frame, it should have the same effect as the hide() method.
Hope this helps,
Pierre

Similar Messages

  • Overriding paint method hides my status bar icons

    Hi All,
                I use setStatus on MainScreen to add some image ButtonFields to my status bar.
                It shows up fine.
                But when I override paint method , it hides all the icons I added using setStatus.
               Any clue on this ? Thnx in advance.
              Here is my paint method:
    protected void paint(Graphics graphics) {
    super.paint(graphics);
    Bitmap image = ImageUtility.loadBitMap("header2.jpg");
    graphics.drawBitmap(0, 0, 500, image.getHeight(), image, 0, 0);
    for(int i =0; i < 5; i++ ){
    fieldList.drawListRow(fieldList, graphics, i, 50 + (i*50), 20);
    protected void paint(Graphics graphics) {         
             Bitmap image = ImageUtility.loadBitMap("header2.jpg");
             graphics.drawBitmap(0, 0, 500, image.getHeight(), image, 0, 0); for(int i =0; i < 5; i++ ){           fieldList.drawListRow(fieldList, graphics, i, 50 + (i*50), 20);
    Aranya

    Try Calling super.paint at the start or at the end ... it should do the trick

  • Mouse.hide() errors

    I am using AS 3 Flash CS4, WIndows XP SP3. I am unable to use the Mouse.hide(); method in many of my scripts.
    If I add Mouse.hide() to a preexisting script, I get the following error;
    line1 1061: Call to a possibly undefined method hide through a reference with static type Class.
    If I add Mouse.hide():void; to a preexisting script, I get the following error:
    line1 Label must be a simple identifier
    Once this has happened, if I then remove ALL lines of script from the file...but leave the Mouse.hide(); [or Mouse.hide():void;], and also remove all objects from the stage, when I run the file, I still get those same errors.
    On the other hand, if I begin with a brand new, virgiin fla and type Mouse.hide(); in the first frame of the movie, then run it, I have no problem. I see a blank page and the mouse is not visible over the stage. If I then add  more script to the page (e.g. a couple of trace statementa), and run it again, I now get the error I described above. And if I then remove the new lines of script in this file, but leave the original Mouse.hide(); line of code, I now still get the error anyway, even though the file looks the same to me as it looked when I first began (the virgin file with only the Mouse.hide(); line of code present).
    This behavior is baffling and frustrating. I can't debug it because there is nothing to debug...I am using the Mouse.hide(); method correctly in all instances. What else could be responsible for such weirdness??? It makes me wonder if there are other AS3 methods that won't work on my system.
    This problem is present whether or not I use "strict" mode in my publication settings.
    Any help or suggestions as to what is happening would be appreciated.
    Thanks,
    Chick

    I have checked the same fla file that throw errors when Mouse.hide(); is placed in the script in both Windows 7 and Windows XP. The problem ONLY occurs when the OS is XP (I have tried it on two completely different computers with XP and had others try it on two computers with Windows 7).
    Once the problem exists, removing all the other script on the page...i.e. leaving Mouse.hide(); as the only line of code still causes an error on XP. If I begin a new fla file and begin with  Mouse.hide(); there is no problem on any OS. It's a problem only when other code (not sure what lines or type of code triggers this) is already present when Mouse.hide(); is added.
    Does that help at all? Is there some configuraton in XP that I need to adjust to get things to work?
    Thanks,
    Chick

  • Date depreceted methods

    I'm using date, but all the methods are depreceted.
        private boolean canExecute()
             if(lastDate != null)
                  Date now = new Date();
                  Date changeSession = new Date(now.getYear(), now.getMonth() , now.getDay() , 3 , 0 , 0);
                  if(now.after(changeSession) && lastDate.before(changeSession) )
                       return false;
                  else
                       return true;
             else
                  return false;
        }How should I do that?

    Notice that when objects/methods are depricated, the new API says they are depreicated and what to use in their place.

  • How to hide / unhide text baxes on button click in JSF page using javascrip

    Hi,,
    I want to hide/unhide text boxes on a button click.
    How to do it in .jspx page using javascript.

    Hi,
    refer this
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" title="#{lcRes['page.title']}">
         <af:resource type="javascript">
            function hide(evt){
                evt.findComponent('itToHide').setVisible(true);
         </af:resource>
          <af:form id="f1">
            <af:commandButton partialSubmit="true" id="cb1">
                <af:clientListener method="hide" type="action"/>
            </af:commandButton>
            <af:inputText id="itToHide" value="xx" label="this will hide" clientComponent="true"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • SetVisible against show and hide

    Hello, making some practises I have observed that setVisible method doesn't just makes visible or not, it affects me when I change location of components I have played with setVisible, but when I use deprecated methods hide and show I haven't that problem.
    What else makes setVisible than make visible or not?

    Hello, the way I see it, setVisible is just a nicer way of setting visibility than show() and hide(). Anyway, the way setVisible is implemented in the Component class is :
    public void setVisible(boolean b) {
          show(b);
    }So I don't believe you should be experiencing any difference between show() and setVisible(). As to the change in positions of components, you might find the actual implementation useful:
        public void show(boolean b) {
            if (b) {
                show();
            } else {
                hide();
        public void show() {
            if (!visible) {
                synchronized (getTreeLock()) {
                    visible = true;
                    ComponentPeer peer = this.peer;
                    if (peer != null) {
                        peer.show();
                        createHierarchyEvents(HierarchyEvent.HIERARCHY_CHANGED,
                                              this, parent,
                                              HierarchyEvent.SHOWING_CHANGED,
                                              Toolkit.enabledOnToolkit(AWTEvent.HIERARCHY_EVENT_MASK));
                        if (peer instanceof LightweightPeer) {
                            repaint();
                        updateCursorImmediately();
                    if (componentListener != null ||
                        (eventMask & AWTEvent.COMPONENT_EVENT_MASK) != 0 ||
                        Toolkit.enabledOnToolkit(AWTEvent.COMPONENT_EVENT_MASK)) {
                        ComponentEvent e = new ComponentEvent(this,
                                                              ComponentEvent.COMPONENT_SHOWN);
                        Toolkit.getEventQueue().postEvent(e);
                Container parent = this.parent;
                if (parent != null) {
                    parent.invalidate();
        }I left out the hide() code, since it is quite similar. Anyway, if you are interested in this code you can always look it up - it's avaliable.
    Hope this helped, laginimaineb.

  • Hiding methods

    Hello again world.
    Let me first say that I have searched the forum for previous discussions of this topic. Since they just added to my confusion, please allow me to start from square zero.
    According to the Java Language Specification:
    If a class declares a static method, then the declaration of that method is said to hide any and all methods with the same signature in the superclasses and superinterfaces of the class that would otherwise be accessible to code in the class.
    But, the following code:
    public  class  Hide
      public  static  void  main(String[]  params)
        Alpha  alpha = new  Alpha();
        Beta  beta = new  Beta();
        alpha.hiddenMethod();
        alpha.overriddenMethod();
        beta.hiddenMethod();
        beta.overriddenMethod();
        Alpha  chi = beta;
        chi.hiddenMethod();
        chi.overriddenMethod();
    class  Alpha
      public  static  void  hiddenMethod()
         System.out.println("Alpha Hide"); // I don't see where this is hidden from anything
      public  void  overriddenMethod()
         System.out.println("Alpha Ride");
    class  Beta  extends  Alpha
      public  static  void  hiddenMethod()
         System.out.println("Beta Hide");
      public  void  overriddenMethod()
         System.out.println("Beta Ride");
         super.hiddenMethod();
         super.overriddenMethod();
    }produces the following output:
    Alpha Hide
    Alpha Ride
    Beta Hide
    Beta Ride
    Alpha Hide
    Alpha Ride
    Alpha Hide this is the line I don't understand
    Beta Ride
    Alpha Hide
    Alpha Ride
    If anything looks hidden, it looks like "chi.hiddenMethod()" is hidden from itself - which I think is the opposite of what the Spec says.The way I interpret the Spec is that the call "super.hiddenMethod()" should either fail or call Beta's method if Alpha.hiddenMethod() has truely been hidden from chi's scope.
    So my question is in two parts:
    1. What am I missing?
    2. What practical use is there in hiding methods anyhow? Since hiding is said to only work with static methods, why bother hiding? If you need it, invoke the static method with a class name qualifier. If you don't need it, don't code it.
    I'm confused.
    Thank you one and all.
    Ciao for now

    There is a big difference:
    Overriding:
    There is no way to invoke the
    overriddenMethod() method of class Alpha
    for an instance of class Beta from outside
    the body of Beta, no matter what the type of
    the variable we may use to hold the reference to the
    object.
    Hiding:
    It is allways possible to invoke the
    hiddenMethod() method of class Alpha for
    an instance of class Beta from outside
    the body of Beta.
    Hope that helps a bit.Given that, and what you observed in your test program, I can see why the term "hiding" is confusing. After all, it looks like the static method is the one that's not hidden, since you can get to it if you want to.
    I think the idea is that the child class' method "hides" that of the parent class--i.e. if you call Child.hidden() on a Child class that doesn't have its own version of that static method, you'll get the one in the parent class, but if you call Child.hidden() on a child class that has its own version, its version "hides" the parent's version. You can still get to the parent's version by calling Parent.hidden, but from that one perspective of the Child class, Parent's method has been hidden. So from Child's perspective, if Child doesn't have its own method, it sees the parent's, and if it does, its version hides that of Parent.
    That description (except for the part about being able to get to the Parent method) could apply equally well to an overridden method--that is, if the terms were switched, it wouldn't necessarily make any less sense than it does now.
    So why are the terms applied the way they are? I don't know, but I hope that, even if you don't think "hiding" is the best term for what's going on, you can see that there's at least some logic behind it.
    &para;

  • How can I find out if a user has an active session

    How can I find out if a user has an active session or sessionObject in the application Server.
    When a user logs on to my web-application, I want him to be able to see a
    list of all the other users that are also loged on. To do this I need to get a
    list of all the session objects avaliable in the sever at that perticular moment?
    In J2EE 2.1 I found the class "javax.servlet.http.HttpSessionContext" with the method "getIds()"
    that returned all the session Id's. By using the method getSession(java.lang.String sessionId)
    from the same class, you could then retrieve the sessionObject.
    But these methods are depricated (and want to be able to use the
    latest version of J2EE).
    Is there any other way to do this?
    I'm using JBoss application server.

    Check out HttpSessionListener -> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html
    Essentially what you have to do is implement this interface. You also have to register the listener in your web.xml, like this:
    <listener>
        <listener-class>
            package.name.YourListener
        </listener-class>
    </listener>sessionCreated() will get called each time the app server creates a session and sessionDestroyed() will get called each time the app server invalidates a session. You could have a Map that contains all the active sessions, and a method for printing a list of all of the active sessions.

  • What is the Popup class used for

    I always thought that a Popup should have some basic functionality, such as the pupup should close when:
    a) the escape key is pressed
    b) the popup loses focus
    The popup class provides none of the above functionality and in     fact seems to require some obscure code to
    even get the keyboard focus to work properly.
    Using a JWindow seems to provide the same functionality as a Popup.
    JPopupMenu seems to support both of the above requirements.
    Run the following program:
    a) click on each of the buttons
    b) click on an empty part of the frame
    It appears to me that whenever you need a "popup" you should use a JPopupMenu.
    Is the Popup class good for anything? Does it provide any functionality that I am not aware of?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class PopupTest extends JFrame
         String[] numbers = { "one", "two", "three", "four", "five" };
         public PopupTest()
              getContentPane().setLayout( new FlowLayout() );
              JButton popup = new JButton("Popup as Popup");
              popup.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        popupPopup(e);
              getContentPane().add(popup);
              JButton window = new JButton("Window as Popup");
              window.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        windowPopup(e);
              getContentPane().add(window);
              JButton menu = new JButton("PopupMenu as Popup");
              menu.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        menuPopup(e);
              getContentPane().add(menu);
         private void popupPopup(ActionEvent e)
              JList list = new JList(numbers);
              list.setSelectedIndex(0);
              PopupFactory factory = PopupFactory.getSharedInstance();
              Popup popup = factory.getPopup(this, list, getLocation().x, getLocation().y);
              popup.show();
              Window window = SwingUtilities.windowForComponent(list);
              if (window != null)
                   window.setFocusableWindowState(true);
              KeyboardFocusManager.getCurrentKeyboardFocusManager().focusNextComponent(list);
         private void windowPopup(ActionEvent e)
              JList list = new JList(numbers);
              list.setSelectedIndex(0);
              JWindow window = new JWindow(this);
              window.getContentPane().add(list);
              window.pack();
              window.setVisible(true);
              window.setLocation(getLocation().x + 200, getLocation().y);
         private void menuPopup(ActionEvent e)
              JList list = new JList(numbers);
              list.setSelectedIndex(0);
              Component c = (Component)e.getSource();
              JPopupMenu menu = new JPopupMenu();
              menu.add(list);
              menu.show(c, 0, 0);
              list.requestFocusInWindow();
         public static void main(String[] args)
              PopupTest frame = new PopupTest();
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setSize(500, 200);
              frame.setLocationRelativeTo( null );
              frame.show();
    }

    you'd use Popup like JPopupMenu does, via a PopupFactoryYes you can get the Popu from the PopupFactory, but I think you are missing the point of my question. Popup has two methods, hide/show. It provides no other funtionality. I must write code to handle the escapce key and close the popup when it loses focus.
    When I use a JPopupMenu and add a component to the menu, it appears to add some listeners to the component to handle the escape key and loss of focus.
    I think it's safe to say that you're right when you say that it's preferable to use
    JPopupMenu (my experience as well).That was my conclusion, but I was just wondering it I was missing anything.
    It turns out that there are used in tooltips which, by essence, don't need any
    input from the user (whether keyboard or mouse) I guess thats what I was missing, only use a Popup in tooltip type situations.

  • Problem in exporting data to excel in nwds 7.3

    Hi All,
    I was using the following code for exporting data to excel in NWDS 7.3
    private IWDCachedWebResource getCachedWebResource(byte[] file, String name,
    WDWebResourceType type) {
    IWDCachedWebResource cachedWebResource = null;
    if (file != null) {
    cachedWebResource = WDWebResource.getWebResource(file, type);
    cachedWebResource.setResourceName(name);
    return cachedWebResource;
    I was getting the error in the following line cachedWebResource = WDWebResource.getWebResource(file, type); when I clicked the quick help it ststed the getWebResource method is depricated.  Kindly provide some assistance on what is the new method in its place.
    Thank you
    Regards,
    Preet Kaur

    Hi Ganesh,
    Thanks that worked fine, but when we go further we are facing problem ie
    byte[] excelXMLFile;
    IWDCachedWebResource cachedExcelResource = null;
    String fileName = dataNode.getNodeInfo().getName() + ".xls";
    try {
    // create Excel 2003 XML data as a byte array for the given context node,
    // attributes and headers
    excelXMLFile = toExcel(dataNode, columnInfos).getBytes("UTF-8");
    // create a cached Web Dynpro XLS resource for the given byte array
    // and filename
    cachedExcelResource = getCachedWebResource(
    excelXMLFile, fileName, WDWebResourceType.XLS);
    // Store URL and file name of cached Excel resource in context.
    if (cachedExcelResource != null) {
    wdContext.currentContextElement().setExcelFileURL(
    cachedExcelResource.getURL());
    wdContext.currentContextElement().setExcelFileName(
    cachedExcelResource.getResourceName());
    // Open popup window with a link to the cached Excel file Web resource.
    openExcelLinkPopup();
    } else {
    wdComponentAPI.getMessageManager().reportException(
    "Failed to create Excel file from table!", true);
    } catch (UnsupportedEncodingException e) {
    wdComponentAPI.getMessageManager().reportException(
    e.getLocalizedMessage(), true);
    } catch (WDURLException e) {
    wdComponentAPI.getMessageManager().reportException(
    e.getLocalizedMessage(), true);
    The above bold lines also would need to be converted to inputstream, but not sure how to correct that
    We are following the below pdf for the implementation.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/edc2f3c2-0401-0010-8898-acd5b6a94353?QuickLink=index&overridelayout=true
    Thank you
    Regards,
    Jaspreet Kaur

  • The Thread which won't let go...

    I posted very late last night and those who responded were a big help. Still, even though I changed my code I'm worked my way right around into a big circle and the exact same stopping point. Here is some sample code to try to simplify my complication.
    I'm attempting to complete an assignment (due in a few hours) lol... which is supposed to be an "application" not an "applet". It's a lesson in multi-threading. Supposidly there is a main thread which drives everything, several processing threads and a thread which prompts for input. I've got the Thread which prompts for input working just fine as well as the others. However, whenever one of the processing threads begins to process the data, I get no further DOS prompt from my input object until that Thread has completed. I'm going nuts trying to figure out how not to have this happen.
    I'll make an attempt at a simplified version of what's happening below:
    class mainThread impliments Runnable(){
        public void run(){
            while(true){
               //call inputThread object
               dataprocessor();
               //call processorThread object
        public void dataProcessor(){
            //processes data & calls on other methods & objects
            //to help
    class processorThread impliments Runnable(){
    //several of these objects are created to process data
    class InputThread impliments Runnable(){
    //has two methods as given to us by instructor
        public String method1(){
            //involks prompt requesting Strings or characters from user
            //  returns String
        public int method2(){
            //involks prompt requesting integer from user
            //  returns int
    }The problem is when processorThread object is called, everything stops and waits for it to complete. Help!!

    A thread has 3 elements;-
    - start()
    - run()
    - stop()
    controlled by boolean values if(myInt==myCondition){
      myThread.stop();   // method is depricated as it may not stop 'cleanly' and thrfr = memory prob's
      nowPutTheCatOut - etc
    // Better method;-
    public void start() {
    if(myCondition=false){
      myThread.run();
    // X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*X*Hope that helps

  • How to stop a thread in java 1.5 on windows

    Hi All,
    I am using Java 1.5 on windows plateform. I want to stop all the threads which belongs to a particular process when the timeout occurs. In java 1.5 stop() method is depricated and interrupt method just sets the flag and does not stop the thread actually.
    Is there any way to destroy the thread permenently. I am using TheadPool Executor class.
    Regards
    Rinku Garg

    Hi,
    I am having a timer task which is scheduled to run after some fixed time interval when the process started.
    Now this timer task when started, should destroy the active threads of the request. When the request is timed out then the thread is action should termininate.
    In my case run method of particular thread had already made a call to Database through DAO when the time out occurs. So how can I set up a loop in run method which I found on google.
    thread.stop() is deprecated.
    thread.destroy() is deprecated.
    I used thread.interrupt() but it does not stops the thread.
    Please help me in this scenario.
    Regards
    Rinku Garg

  • ER: Accessing the Current Database Transaction (11g)

    We need to write some additional code to run DML against databese.
    We need to use a connection object.
    In ADF dev guidesome recomemnd foolowing code. But this method is needed very carefull use . there is many Poolling problem occurs.
    In my opinion a default app module method as getCurrentTransection will be very usefull.
    private Connection getCurrentConnection() throws SQLException {
    /* Note that we never execute this statement, so no commit really happens */
    PreparedStatement st = getDBTransaction().createPreparedStatement("commit",1);
    Connection conn = st.getConnection();
    st.close();
    return conn;
    }

    It is by design that we do not make the "raw" JDBC connection easy to access. We provide DBTransaction methods that allow you to create prepared statements and/or callable statements if you need to. These methods hide the implementation complexity that in a web environment, you might be using a different JDBC connection object on each request, and tries to prevent inexperienced users from accidentally caching a reference to the JDBC connection object somewhere in their code.

  • ConcurrentModificationException in RequestContextImpl class

    Am currently getting a ConcurrentModificationException thrown by the
    notifyRequestCompletionListeners method of the RequestContextImpl
    class.
    The context is:
    A JSP includes two JSP fragments, containing tiled views bound to
    primary models and surrounded by jato:context tags, to
    enable/disable the display of one or the other.
    The observed behavior is as follow:
    a) Despite a JSP fragment doesn't need to be displayed (i.e.
    beging<>Display method returns false), the associated tiled view is
    though instanciated.
    How come childs are instantiated though not used ?
    I thought JATO instanciates resources only when needed - or is it
    maybe because the JSP fragments are statically bound - translation-
    time includes ?.
    b) While in notifyRequestCompletionListeners method of the
    RequestContextImpl class, a requestComplete() triggers the
    instantiation of a tiled view, which sets a primary model in its
    constructor, which is added to the request context. This triggers
    the ConcurrentModificationException. The exception happens when the
    tiled view contains a HREF (commenting the HREF out in the
    registerChildren method, hides the problem).
    How is it that instances are created during the
    notifyRequestComplitionListeners method, and why only when the tiled
    view contains HREF ?

    Jacquess--
    I don' t have a lot of time right now, but some comments until I have more
    time:
    I am getting a ConcurrentModificationException thrown by the
    notifyRequestCompletionListeners method.
    The context is a JSP including two JSP fragments surrounded
    by "content" tags and containing tiled views with HREF childs.
    The observed behavior is as follow:
    a) Although a JSP fragment is not displayed, i.e. begin<>Display
    method returns false, the corresponding tiled view class is though
    instantiated.The question is when is it instantiated? I would expect it to be
    instantiated on the subsequent request back to the server, but not during
    the response/rendering phase (when the content tag comes into play). The
    built-in mapRequestParameters() logic is not smart enough to skip mapping
    values for registered containers. You may be able to encode a value in the
    page that indicates the non-displayed views and avoids registering them for
    that request. To do this, would want to use the optional constructor for
    the ViewBean that takes a RequestContext:
    public class MyViewBean extends ViewBeanBase
    public MyViewBean(RequestContext context)
    super(PAGE_NAME);
    registerChild("text1",TextField.class);
    if (context.getRequest().getParameter(TILEDVIEW1_SHOWN)!=null)
    registerChild("tiledView1",MyTiledView.class);
    registerChild("text2",TextField.class);
    Get the idea? This is just a thought, I haven't thought it through
    completely. In the future, would could perhaps encode this information
    transparently for you and take advantage if it during parameter mapping.
    I thought JATO instantiates childs only when needed ?
    Is it because the JSP fragments are translation time includes ?
    b) While iterating over the request completion listeners in the
    notifyRequestCompletionListeners method, a new completion listener is
    added, causing the ConcurrentModificationException. The completion
    listener, which is the primary model of a tiled view, is added when
    registering a child that is a HREF bound to this primary model.
    Commenting out the registration of the HREF child in the tiled view
    hides the problem.Patient: "Doctor, my arm hurts when I do this."
    Doctor: "So don't do that."
    Are you saying the registration is happening automatically and unavoidably
    as a result of some JATO behavior, or are you intentionally adding a
    listener during notification?
    Should not all required childs be instantiated before the
    notifyRequestCompletionListeners method is called ?Generally, yes, though if your listener makes a getChild() call on a child
    that wasn't previously instantiated, it would cause that child to be
    created.
    Why does a HREF trigger the instantiation of a model and not a static
    text child for instance ?
    For more information about JATO, including download information, pleasevisit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • Javascript error: object expected

    hai..
    i used two javascript show(),hide(id) methods for particular page items... i had called those methods from the templates bcoz im passing some id from the template that is needed in the page level javascripts...
    now my problem is for some i didnt not implemented those methods hide(id) & show() bcoz it is not needed for me in that page , but its showing me error saying 'Object Expected' .. how can i overcome this problem...
    do i need to override the method in each n every page... is there any alternate solution for this...
    anoo

    Hello,
    >> but its showing me error saying 'Object Expected' .. how can i overcome this problem...
    Another option is to condition these show/hide functions. You can use something like this:
    if ($x(‘id’)){
       hide(‘id’);
    }That will prevent the functions from running if the element ID ‘id’ is not rendered on the page.
    Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefits us all.

Maybe you are looking for

  • Some PDFs not working in Preview. Mac created PDFS work but windows created PDFS dont

    Some PDFs not working in Preview. I installed adobe reader and then deleted it because the software was aweful and PDFs have been haveing issues ever since. I can open up PDFs created on my Mac in preview just fine... But when I try and open a PDF cr

  • Using monitor through tape deck

    I want to use an LCD tv I have for an external video monitor. I have a Sony HVR-M15 deck connected by fire wire to my Mac. I have RCA, S-video and Component outputs on the deck. I can playback tapes on the external LCD monitor through the deck but ho

  • Import mp3 to flash cs3

    I tried to import MP3 file to flash CS3 I got this messege One or more files were not imported because there were problems reading them why what is the problem here...is it the MP3 file that do have problems ? because he open me in media player if i

  • 2 JComboBox  sync problem

    Hi, im getting crazy with this error. I have two different JComboBox with two differents DefaultComboBoxModel. The first shows a list of files. The second shows a data list from the selected file in the first. When i select a different file in the fi

  • Can't open After Effects on new mac pro

    When I try to open After Effects on my new mac pro it tells me that I cannot use this version of After Effects with this computer. I have the CS6 master collection and all the other apps in the same collection work fine.