A simple / silly doubt for Gail

Hi Gail,
I was going through the Creator Field Guide book. On page 120 you have described about adding event handler for the Resest button. There are two lines of code for setting the two textfields to empty strings. My question is do we really need to do this. The button type can be set to Reset and it does the requierd work.
I am lonely, Am I happy ? Life goes on

Hi,
Thank you so much. :-) I tried it myself and you are right the old values get retained even if the reset button is clicked.
Then again a question rears its ugly head in my mind. How many times out of 100 would a person hit the submit button by mistake instead of the reset button. Secondly, if a person has hit the submit button by mistake then he is taken to the login failed or login success page. So my question is what does setting the strings to null really achieve?
One scenario I noticed was hitting the browser's back button has the old value in the username field if it has nto been set to null. I hope my doubts are clear.
Thank you once again for the really wonderful explanation Brad.
I am lonely, lonely is good, hence I am good :-)

Similar Messages

  • Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Just a suggestion..........
    Download Thunderbird.  Easier to use when it comes to what you want to do w/your emails. 

  • Silly Doubt in Exchange 2010 - Datacenter SwitchOver

    Hi Team
    i have a very silly doubt in my exchnage 2010 environment with two sites
     two mailbox servers (Site A )  and another two mailbox servers in site B  .All the four mailbox servers is same DAG 
    site A mailbox database copies are available in site B and Vice Versa.
    in site A , if two mailbox servers is down / not reachable, automatically the database are moved from site A to Site B and mounted over there. and normal mailflow is happening with interruption of few sec / minutes
    then why we need Datacenter SwitchOver  and what is is purpose of doing Datacenter SwitchOver and Datacenter SwitchBack, as the mailflow is functioning without any issue
    it may be silly , but i would like to be very clear from  top of my head
    thanks team

    Hi Li, 
    Correct , that is not a problem for me now. The problem is below as mentioned 
    i just started the datacenter switch over  from one site to another site and unfortunately i have been halted in the initial stage itself in my test environment
    Site: Main-Office
    One Domain Controller: Indlabbitesdc01.labbites.co.in  - Hosting
    DNS Services
    One Hub Server: Indlbht01.labbites.co.in  - Witness Server 
    2 CAS server (CAS ARRAY) - casarray1.labbites.co.in and casarray2.labbites.co.in
    Casarray IP: 172.29.137.50
    2 Mailbox Servers – Indlbmb01.labbites.co.in and indlbmb02.labbites.co.in
    Dag Name: DAG1
    DAG IP: 172.29.137.140
    Site: GUINDY-OFFICE
            - No WIteness server in this SIte
    One Additional Controller: Labdeldc01.labbites.con.in
    One HUB and CAS Server: indlbguex01.labbites.co.in
    2 Mailbox servers – indlbgumbx01.labbites.co.in and indlbmb03.labbites.co.in
    Both mailbox servers are members in DAG1
    As per Plan , DAC is enabled in DAG1 
    Next step i shutdown all the servers Site:
    Main-Office and trying to open the powershell from one of the mailbox from Site: GUINDY-OFFICE  for issuing the command Run the Stop-DatabaseAvailabilityGroup cmdlet in the shell  and i got
    the below error
             VERBOSE:
    Connecting to indlbgumbx01.labbites.co.in
    [indlbgumbx01.labbites.co.in]
    Connecting to remote server failed with the following error message : WinRM cannot proces
    s
    the request. The following error occured while using Kerberos authentication: There are currently no logon servers available to service the logon request.
     Possible causes are:
      -The user name or
    password specified are invalid.
      -Kerberos is used
    when no authentication method and no user name are specified.
      -Kerberos accepts
    domain user names, but not local user names.
      -The Service Principal
    Name (SPN) for the remote computer name and port does not exist.
      -The client and
    remote computers are in different domains and there is no trust between the two domains.
     After checking for
    the above issues, try the following:
      -Check the Event
    Viewer for events related to authentication.
      -Change the authentication
    method; add the destination computer to the WinRM TrustedHosts configuration setting or us
    e HTTPS transport.
     Note that computers
    in the TrustedHosts list might not be authenticated.
       -For more
    information about WinRM configuration, run the following command: winrm help config. For more information,
     see the about_Remote_Troubleshooting
    Help topic.
        + CategoryInfo
             : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
       eption
        + FullyQualifiedErrorId
    : PSSessionOpenFailed
    Exception calling "GetComputerDomain"
    with "0" argument(s): "The local computer is not joined to a domain or the domain
     cannot be contacted."
    At C:\Program Files\Microsoft\Exchange
    Server\V14\bin\ConnectFunctions.ps1:204 char:70
    +     [System.DirectoryServices.ActiveDirectory.Domain]::GetComputerDomain
    <<<< ().Forest.Name
        + CategoryInfo
             : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId
    : DotNetMethodException
    Exception calling "GetComputerSite"
    with "0" argument(s): "The specified domain either does not exist or could not be c
    ontacted.
    At C:\Program Files\Microsoft\Exchange
    Server\V14\bin\ConnectFunctions.ps1:164 char:92
    +     $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetComputerSite
    <<<< ()
        + CategoryInfo
             : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId
    : DotNetMethodException
    Exception calling "FindAll"
    with "0" argument(s): "Unknown error (0x80005000)"
    At C:\Program Files\Microsoft\Exchange
    Server\V14\bin\ConnectFunctions.ps1:253 char:17
    +     $search.FindAll
    <<<< ()
        + CategoryInfo
             : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId
    : DotNetMethodException
    You cannot call a method
    on a null-valued expression.
    At C:\Program Files\Microsoft\Exchange
    Server\V14\bin\ConnectFunctions.ps1:146 char:33
    +      
              $siteName = $siteDN.ToString <<<< ().SubString(3).Split(",")[0]
        + CategoryInfo
             : InvalidOperation: (ToString:String) [], RuntimeException
        + FullyQualifiedErrorId
    : InvokeMethodOnNull
    WARNING:
    No Exchange servers are available in the Active Directory site . Connecting to an Exchange server in another
    Active Directory site.
    Failed to connect to an
    Exchange server in the current site.
    Enter
    the server FQDN where you want to connect.: lbdeldc01.labbites.co.in
    VERBOSE: Connecting to
    lbdeldc01.labbites.co.in
    [lbdeldc01.labbites.co.in]
    Connecting to remote server failed with the following error message : WinRM cannot process t
    he request. The following
    error occured while using Kerberos authentication: There are currently no logon servers avail
    able to service the logon
    request.
     Possible causes are:
      -The user name or
    password specified are invalid.
      -Kerberos is used
    when no authentication method and no user name are specified.
      -Kerberos accepts
    domain user names, but not local user names.
      -The Service Principal
    Name (SPN) for the remote computer name and port does not exist.
      -The client and
    remote computers are in different domains and there is no trust between the two domains.
     After checking for
    the above issues, try the following:
      -Check the Event
    Viewer for events related to authentication.
      -Change the authentication
    method; add the destination computer to the WinRM TrustedHosts configuration setting or us
    e HTTPS transport.
     Note that computers
    in the TrustedHosts list might not be authenticated.
       -For more
    information about WinRM configuration, run the following command: winrm help config. For more information,
     see the about_Remote_Troubleshooting
    Help topic.
        + CategoryInfo
             : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
       eption
        + FullyQualifiedErrorId
    : PSSessionOpenFailed
    [PS] C:\Windows\system32>

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • Simple credit check for service orders(TAD)

    hi
    we have configured simple credit check for ZOR and with delivery block. since TAD is order related billing even though credit limit exceeds they can bill the customer.Now I have to configure simple credit check for serive orders with item category TAD and it should give billing block.please give me the details on this.

    Hello Chait
    To release credit block from CRM GUI, please go to header status tab here is the button 'Credit Release'.
    To release credit block in WEBUI, please check the items block, in more functions you can find the 'release credit block' link.
    Best regards,
    Maggie

  • Looking for a simple drawing application for my grand-daughters

    Well, that's more or less it, I'm looking for a simple drawing application for my grand-daughters. In the children section of iTunes store, there's only a few books and nothing more. I bought the iPad mainly for my grand-children to teach them a bit and I don't find interesting things for them.
    Can anybody help me with that?
    Pedro Godfroid Goffin

    Brushes is a nice finger drawing app. Since you didn't say how old they are, I don't know if the interface is to difficult for them to use.
    Sketchbook is another nice drawing app.
    Neither are free.
    Glor

  • Difference between narrow() method usage and simple class cast for EJB

    Hi,
    I have a very simple question:
    what is the difference between PortableRemoteObject.narrow(fromObj,
    toClass) method usage and simple class cast for EJB.
    For example,
    1)
    EJBObject ejbObj;
    // somewhere in the code the home.create() called for bean ...
    ABean a = (ABean)PortableRemoteObject.narrow(ejbObj,ABean.class);
    OR
    2)
    EJBObject bean;
    // somewhere in the code the home.create() called for bean ...
    ABean a = (ABean)ejbObj;
    Which one is better?
    P.S. I'm working with WL 6.1 sp2
    Any help would be appreciated.
    Thanks in advance,
    Orly

    [email protected] (Orly) writes:
    Hi,
    I have a very simple question:
    what is the difference between PortableRemoteObject.narrow(fromObj,
    toClass) method usage and simple class cast for EJB.
    For example,
    1)
    EJBObject ejbObj;
    // somewhere in the code the home.create() called for bean ...
    ABean a = (ABean)PortableRemoteObject.narrow(ejbObj,ABean.class);
    OR
    2)
    EJBObject bean;
    // somewhere in the code the home.create() called for bean ...
    ABean a = (ABean)ejbObj;
    Which one is better?(1) is mandated by the spec. It is required because CORBA systems may
    not have sufficient type information available to do a simple case.
    P.S. I'm working with WL 6.1 sp2 You should always use PRO.narrow()
    andy

  • Simple animation software for Arch?

    Can anyone suggest a simple animation program for Linux; something similar to AnimationShop for windows.  I know there's gimp-GAP, but that seems to be fairly advanced for my purposes.  I just want to be able to string together images into .gif or video, perhaps with an 'onion layer' feature so you can see the previous frame transparently; that sort of thing.
    I use gnome, so preferably something for GTK, or at least if it's KDE, that depends only on QT and not KDE packages.
    Any ideas?
    Thanks.
    Fishonadish

    skottish wrote:You don't actually need GAP to do animated Gifs in Gimp. All you need to do is add all the frames that you want as layers in one image, then save as Gif. Gimp will ask you if you want to flatten the image or make an animation out of it. If you choose animation, it will ask you for a frame rate.
    Thanks.  I realised this eventually and got it done that way.
    Still, out of curiosity are there any 'film-strip' type animation programs out there?
    Fishonadish

  • A simple slideshow program for 68k OS7 Macs suggestions pls

    I'm looking for a simple slideshow program for my old 68k OS7 Macs. I just want to have some PICTs display on a set time period or key press. Nothing fancy.
    I can get Claris to this but wonder if HyperCard can. I'm no expert on HC but it seems to be designed for this exact job. Do I need to find a "stack" or some already made item to open in HC then attach my piks? Any suggestions?

    It would be possible to use HyperCard, although you may need to do a little programming if you go with it. If you use a blank HyperCard stack, you can assign one picture per card and link them. Clickable buttons would be the easiest way to do this. Which version of HyperCard are you using?
    An old version of PowerPoint would work fine too. Anything older than PowerPoint 98 runs on a 68K unless you are using a 68000 processor, in which case you'll need one of the pre-1994 versions.
    Believe it or not, Kid Pix is a possible answer to this as well. Any version from Kid Pix 2 onward (as well as the Kid Pix Companion addon for the original Broderbund version) contains an application called Slide Show, which is used with files in the PICT format. You can display an image for up to 30 seconds and add transitions between slides.

  • Im trying to make a simple 360 rotation for a 3d logo in CC 2014 but when i tried to create the 1st key frame the image when out axis

    im trying to make a simple 360 rotation for a 3d logo in CC 2014 but when i tried to create the 1st key frame the image when out axis

    I find that if you have multiple 3d object  they must be merged into a single 3d layer their positions reset to align to the same axises then sized and positioned along them. The layer should then be able to be animated well around an axis like the y axis. Here a Sphere, Cylinder and ring. http://www.mouseprints.net/old/dpr/McAssey-CC.mp4

  • Creating a simple java client for a session EJB local interface

    Hi all
    Is it possible to create a simple java client for a session ejb local interface with JDeveloper.
    The problem is that it creates a test client for a remote interface only...
    i.e.
    MySessionEJB sessionEJB = context.lookup("MySessionEJB")
    and once i try to adjust it manually for the local interface...
    MySessionEJBLocal sessionEJB = (MySessionEJBLocal) context.lookup("MySessionEJBLocal") (MySessionEJBLocal - is the name of my local interface)
    it generates the exception:
    javax.naming.NotFoundException: SessionEJBLocal not found
    at...........................(RMIClientContext.java:52)
    There is still no problem with accessing the local interface object from the jsf project where i've added <ejb-local-ref> tag into the web.xml file.
    but i need the possibility of testing the simple java client for the local interface to test business methods wich should return objects without indirect properties
    Thanks in advance.
    Alex.

    Pedja thanks for reply.
    I still dont understand what is wrong with my example.
    The first peace of the code i wrote (getting the reference to the remote interface object) works pretty well, and even more it is produced automatically by JDeveloper, so why we cant get a reference to the local interface object the same way?
    Certanly we should use the local interface for getting access to the resource functioning under the same local jvm and i think it doesnt metter wich app server we really use wls or oas or others
    Thanks. Alex.

  • How to ceate simple SCM application for Hardware shopee in oracle 10g forms

    Hi all,
    I want to create a simple SCM application for hardware shopee.
    I want to know all idea behind it, want to clear all concepts,required tables, etc

    Will that be a web-application like oracle.com or ebay? in this case, i would re-think the idea of using forms. Or is it an application which will be used "in-house" in a company over the intranet?
    Anyway, before deciding the tool to implemnet something, wouldn't it be better to get the requirements right (functionaltity, data-objects)?

  • Can anyone provide a simple css file for Apex Application

    Hi,
    Can anyone provide a simple css file for Apex Application please don't mention W3schools link to learn...
    Regards,
    Pavan

    in each item have ..HTML Form Element CSS Classes .e.g style="color:red",  you can change whatever you want!
    or using CSS at page header level.
    check the page: http://apex.oracle.com/pls/otn/f?p=25110:3:0:::::
    more css and JS file in Google drive(If my application/js/css breaks your computer, your database, your car's transmission anything it's your fault not mine, I have nothing to do with it and will deny all responsibility.)

  • Replicating simple Java objects for automatic failover

    Is there a way to replicate a simple java object that is bound from JNDI
              across all servers so that if the primary server fails, it will
              automatically failover?
              We have a java client that uses JNDI to access EJBs on WLS5.1 SP8. In order
              to determine client information, the client currently binds a simple java
              class in the JNDI tree. The Entity and Session beans use the caller
              principal to locate the object in order to access client-information for
              such things as record locking, logging, etc..
              We have to move this architecture to a cluster environment and we are
              wondering how we can replicate this object across cluster servers so that
              failover is handled automatically, and that it is still accessible through
              JNDI.
              An RMI replicated stub is not enough, since it only works as long as the
              server hosting the RMI object is alive.
              I'd like to add that the object is created and bound at client start-up and
              destroyed at client exit.
              Thank you for any advice or information,
              Dania Kodeih.
              

    A: Replicating simple Java objects for automatic failover

    That's what I figured. I guess the only solution in this case is to persist
              the object during client sessions. I was hoping for something simpler, but I
              guess I'll have to create an Entity Bean and everything else that comes with
              it.
              Thanks,
              Dania.
              Cameron Purdy wrote in message <[email protected]>...
              >Unfortunately, when the originating server goes down, the replicated object
              >disappears.
              >
              >Peace,
              >
              >--
              >Cameron Purdy
              >Tangosol, Inc.
              >http://www.tangosol.com
              >+1.617.623.5782
              >WebLogic Consulting Available
              >
              >
              >"Don Ferguson" <[email protected]> wrote in message
              >news:[email protected]..
              >> If I am not mistaken, any serializable object will automatically be
              >replicated
              >> across the tree.
              >>
              >> Dania Kodeih wrote:
              >>
              >> > Is there a way to replicate a simple java object that is bound from
              JNDI
              >> > across all servers so that if the primary server fails, it will
              >> > automatically failover?
              >> >
              >> > We have a java client that uses JNDI to access EJBs on WLS5.1 SP8. In
              >order
              >> > to determine client information, the client currently binds a simple
              >java
              >> > class in the JNDI tree. The Entity and Session beans use the caller
              >> > principal to locate the object in order to access client-information
        �... [Show more]

    Read other 4 answers

  • Help required to find a simple htm editor for mac

    Can you please help recommend a simple htm editor for mac?
    Thank you.

    You could use TextEdit, which comes with all Macs, TextWrangler, or Smultron (no longer in development); all of these are free.

Maybe you are looking for

  • HP Pavilion dv7t-7000 Under Warranty and Support won't help

    Hello, I have my pavilion laptop suddenly have power outages.  Verified that the product is under warranty and submitted a case.  The helpful support responded.  Closed my case.  Then proceeded to tell me that I had to go to another site to submit.  

  • How just return one row of a one to many join..

    So I have a one to many join where the SMOPERATOR table has data I need however it has a couple of rows that match the JOIN condition in there. I just need to return one row. I think this can be accomplished with a subquery in the join however have n

  • 3Gs No Longer Recognized in Third Party Software

    For years now I've plugged my iPhone 3Gs into my Mac and downloaded the images and video from it into programs like Photomechanic, Adobe Lightroom, Image Capture, etc... Sometime within the past 3 months this functionality has quit. None of the above

  • Can i use user exits

    Hi, Can anybody tell me if i can use user exits for not applying cost centre fields for Assets and liabilites gl a/c when we post transcations in fb60 0r fb50 f-22 etc warm regards Manjunath

  • Why do my attachments disappear after accepting a calendar invite?

    At work we use a lot of calendar attachments to disseminate information. When we send out an invitation to a meeting, the consultant gets the invite, sees the attachments, accepts the invite, then the attachments disappear if he doesn't save them BEF