Results 1 to 8 of 8
  1. #1
    newbie_tiwari is offline Member
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    0

    Question How to close calendar pop up after picking up the Date

    Hey Frnds,

    Could you pls help me in a scenario like i have a calendar image on clicking on that image, a calendar pop up comes and i have to pick up a date from it and then need to close that calendar pop up... i am doing testing using RFT with eclipse framework.. and i am not good in coding part so guys pls help me by telling me "How to close calendar pop up after picking up the Date"


    Thanks in advance :)

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default Re: How to close calendar pop up after picking up the Date

    Please provide the context. We have no clue what your code does, or how it does it. Your chances of receiving help go up quite a bit if you post an SSCCE

  3. #3
    java.java is offline Member
    Join Date
    Jul 2012
    Posts
    9
    Rep Power
    0

    Default Re: How to close calendar pop up after picking up the Date

    Looks like your are using IBM RFT to test something, probably this is not the appropriate forum where you should address this. There should be some specific interfaces exposed from RFT to perform such jobs , please refer to that or please post it into some RFT forum where you are likely to get the answer.

  4. #4
    newbie_tiwari is offline Member
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    0

    Question Re: How to close calendar pop up after picking up the Date

    How to close calendar pop up after picking up the Date-screenshot-calendar.jpg
    i hope with this screenshot now you guys can understand what i am trying to say.


    java.java
    yes i am using IBM RFT but for this i need JAVA code.. so i guess for java code i posted on the right forum..


    As i already mentioned m very bad in coding part so need ur help guys.

    Thanks in advance.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,455
    Rep Power
    20

    Default Re: How to close calendar pop up after picking up the Date

    Are you sure you aren't confusing Java and JavaScript? They are entirely different.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  6. #6
    newbie_tiwari is offline Member
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    0

    Question Re: How to close calendar pop up after picking up the Date

    DarrylBurke
    I am using java not java script.
    same thing i am facing with the PDF file popup.

    i tried uing the given code for that.


    import java.io.FileOutputStream;
    import java.io.IOException;

    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.Paragraph;
    import com.lowagie.text.pdf.PdfWriter;

    public class ClosingAPDFDocument {
    public static void main(String[] args) {
    Document document = new Document();
    try {
    PdfWriter.getInstance(document, new FileOutputStream("ClosingAPDFDocument.pdf"));
    document.open();

    document.add(new Paragraph("some text"));
    } catch (DocumentException de) {
    System.err.println(de.getMessage());
    } catch (IOException ioe) {
    System.err.println(ioe.getMessage());
    }
    document.close();
    }
    }

  7. #7
    Join Date
    Aug 2012
    Posts
    4
    Rep Power
    0

    Default Re: How to close calendar pop up after picking up the Date

    Hi all,
    Even i am facing a problem regarding datepicker.
    I need to choose a future date from datepicker excluding weekend.

    pls need ur help urgently!!

  8. #8
    newbie_tiwari is offline Member
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    0

    Default Re: How to close calendar pop up after picking up the Date

    Thank u guys for ur time... but i gt the solutn :)

Similar Threads

  1. Manually setting a date using Calendar and Date
    By ravl13 in forum New To Java
    Replies: 3
    Last Post: 10-26-2011, 12:12 AM
  2. Calendar date problem
    By groobelar in forum New To Java
    Replies: 2
    Last Post: 01-17-2010, 04:47 AM
  3. Creating a Gregorian Calendar using a Date object gives date - 1
    By prachi_goliwadekar in forum New To Java
    Replies: 1
    Last Post: 05-08-2008, 09:32 PM
  4. java Date and Calendar
    By valoyivd in forum New To Java
    Replies: 1
    Last Post: 03-30-2008, 07:49 PM
  5. Calendar.DATE
    By mew in forum New To Java
    Replies: 1
    Last Post: 01-04-2008, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •